coreweave logo
Coreweave· SDE 2

CoreWeave | SDE 2 | Interivew

Posted
23 Jan 2026
911 reads

Summary

I participated in a 60-minute CoderPad interview at CoreWeave for an SDE 2 role, which focused on building a CLI tool to reboot remote servers via API, encompassing basic functionality, robust error handling, concurrent operations, and a verbal discussion on unit testing.

How it went

Format: 60 min CoderPad, Python, 4 parts

Scenario: Build a CLI tool for field technicians to reboot remote servers via API.

Setup they provide:

  • Backend service running on http://localhost:3000
  • Endpoint: /reboot (POST)
  • Request: {"serial": "<server_id>"}
  • Response: {"result": "success/failure", "reason": "..."}

Part 1: Basic reboot client

  • Send POST request to reboot endpoint
  • Parse response, print result

Part 2: Error handling

  • Handle timeouts, connection errors, invalid JSON
  • Print meaningful output on failures

Part 3: Concurrent fleet reboot

  • Reboot multiple servers in parallel
  • They noted async + requests is a common trap (blocks event loop)
  • ThreadPoolExecutor + requests works cleanly

Part 4: Unit testing (verbal)

  • Explain how you'd test this
  • Mocking requests, testing error cases, etc.

Good luck to whoever uses this. The ThreadPoolExecutor pattern is clutch for part 3

Questions asked (4)

  1. 01

    Build Basic Server Reboot Client

    Other · Easy

    Implement a basic Python CLI client to send POST requests to a backend service at http://localhost:3000/reboot. The request payload is {"serial": "<server_id>"} and the response is {"result": "success/failure", "reason": "..."}. The client should parse the response and print the result.

  2. 02

    Implement Error Handling for Server Reboot Client

    Other · Medium

    Enhance the existing server reboot CLI client to robustly handle various failure scenarios. This includes implementing error handling for network issues such as timeouts and connection errors, as well as gracefully managing cases of invalid JSON responses from the backend service. The client should provide meaningful output upon encountering any failure.

  3. 03

    Implement Concurrent Fleet Reboot

    Other · Medium

    Extend the CLI client to support rebooting multiple servers concurrently. It was noted that using async with the requests library can lead to event loop blocking, and a cleaner approach involves utilizing ThreadPoolExecutor with requests for parallel operations.

  4. 04

    Discuss Unit Testing for Server Reboot Client

    Other · Medium

    Verbally explain how you would approach unit testing the implemented CLI tool. The discussion should cover strategies for mocking external dependencies, particularly the requests library's interactions with the backend service, and how to effectively test various error cases identified in the error handling part.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Coreweave recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!