PracHub
QuestionsLearningGuidesInterview Prep
|Home/System Design/LinkedIn

Design a CI/CD Task Scheduler

Last updated: Jul 28, 2026

Quick Overview

Design the scheduling core of a CI/CD platform for dependency-linked tasks, capable workers, retries, cancellation, and progress tracking. Explore durable state, leasing, fairness, backpressure, failure recovery, and the extra safeguards required for deployments.

  • medium
  • LinkedIn
  • System Design
  • Software Engineer

Design a CI/CD Task Scheduler

Company: LinkedIn

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

# Design a CI/CD Task Scheduler Design the scheduling core of a continuous-integration and continuous-delivery system. A pipeline is a directed acyclic graph of tasks. A task becomes runnable after all required predecessors succeed. Workers have capabilities, tasks request resources, and users need cancellation, retries, and visibility into progress. Focus on the task scheduler rather than source hosting or a particular build tool. Explain APIs, durable state, queueing, worker leasing, failure recovery, fairness, and how a deployment stage differs from an ordinary build task. ### Clarifying Questions to Ask - Are pipelines triggered manually, by commits, or on schedules? - Can the same logical task run more than once, and what is the idempotency key? - Which resources and worker capabilities constrain placement? - What retry policy is safe for builds versus deployments? - Is strict project fairness required when one tenant submits a large burst? ### What a Strong Answer Covers ```premium-lock What a Strong Answer Covers ``` ### Follow-up Questions - How would you schedule millions of short tasks without a database hot spot? - How would you prevent an expired worker from committing a stale deployment result? - How would you support fan-out, fan-in, and dynamically generated tasks? - Which operations must be transactional?

Quick Answer: Design the scheduling core of a CI/CD platform for dependency-linked tasks, capable workers, retries, cancellation, and progress tracking. Explore durable state, leasing, fairness, backpressure, failure recovery, and the extra safeguards required for deployments.

Related Interview Questions

  • Design a Calendar System - LinkedIn (medium)
  • Review a Web Application Architecture - LinkedIn (easy)
  • Scale a Distributed Randomized Multiset - LinkedIn (medium)
  • Design a Top-K Ranking Service - LinkedIn (easy)
|Home/System Design/LinkedIn

Design a CI/CD Task Scheduler

LinkedIn logo
LinkedIn
Jun 11, 2026, 12:00 AM
mediumSoftware EngineerOnsiteSystem Design
0
0

Design a CI/CD Task Scheduler

Design the scheduling core of a continuous-integration and continuous-delivery system. A pipeline is a directed acyclic graph of tasks. A task becomes runnable after all required predecessors succeed. Workers have capabilities, tasks request resources, and users need cancellation, retries, and visibility into progress.

Focus on the task scheduler rather than source hosting or a particular build tool. Explain APIs, durable state, queueing, worker leasing, failure recovery, fairness, and how a deployment stage differs from an ordinary build task.

Clarifying Questions to Ask Guidance

  • Are pipelines triggered manually, by commits, or on schedules?
  • Can the same logical task run more than once, and what is the idempotency key?
  • Which resources and worker capabilities constrain placement?
  • What retry policy is safe for builds versus deployments?
  • Is strict project fairness required when one tenant submits a large burst?

What a Strong Answer Covers Premium

Follow-up Questions Guidance

  • How would you schedule millions of short tasks without a database hot spot?
  • How would you prevent an expired worker from committing a stale deployment result?
  • How would you support fan-out, fan-in, and dynamically generated tasks?
  • Which operations must be transactional?

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More LinkedIn•More Software Engineer•LinkedIn Software Engineer•LinkedIn System Design•Software Engineer System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.