Design a CI/CD runner platform like GitHub Actions that accepts YAML workflow definitions, schedules jobs across an ephemeral-runner pool, streams logs, caches artifacts, and enforces security isolation for untrusted fork pull requests at millions-of-jobs-per-day scale.
Suggested time: 90 minutes
Loading the workspace...
A CI/CD runner platform like GitHub Actions accepts a YAML workflow definition from a source repository, resolves it into a dependency graph of jobs, schedules those jobs onto ephemeral compute runners, streams logs back to the UI, and persists artifacts and caches. Millions of these workflows run every day across hundreds of thousands of repositories, on a fleet that scales from zero to tens of thousands of runners in seconds.
Workflow ingestion
Matrix expansion
Job scheduling
Runner orchestration
Log streaming
Artifact and cache storage
The building blocks this design relies on, each explained in its own lesson.
Design a Distributed Counter (medium)
Design a Web Cache (medium)
Design Ticketmaster (hard)
Design a Smart Home System (hard)
Design a Multi-Cloud API Gateway (advanced)