PrepStack › DevOps & Cloud › CI/CD
CI/CD interview cheat sheet
Pipelines, GitHub Actions, Jenkins, deployment strategies, GitOps and supply-chain security
CI/CD questions check whether you can ship safely and often: what CI, continuous delivery and continuous deployment really mean, what a good pipeline looks like, and how you release and roll back without downtime. Expect to read or write a GitHub Actions workflow, explain secrets, OIDC and least-privilege tokens, compare deployment strategies, and talk about supply-chain security. Read the 15-minute revision first, then use Quiz mode and answer out loud.
15-minute revision
- CI = merge small changes to the main branch often; every push is built and tested automatically. Continuous delivery = every green build is releasable, but a human presses deploy. Continuous deployment = every green build goes to production automatically.
- DORA has five delivery metrics: change lead time, deployment frequency, failed deployment recovery time (throughput) and change fail rate, deployment rework rate (instability). Speed and stability go together.
- Typical stages: checkout → install → lint/static checks → unit tests → build → security scans → package artifact → deploy to staging → integration/E2E → deploy to prod. Fail fast: cheap checks first.
- Build once, deploy many: build one immutable artifact (image by digest), promote the same artifact through environments; only config changes.
- Test pyramid: many fast unit tests, fewer integration tests, very few E2E tests. Flaky tests destroy trust: quarantine, fix, never just add retries.
- GitHub Actions: workflow (
.github/workflows/*.yml) → triggered by events (on:) → jobs (run in parallel on separate runners unlessneeds:) → steps (run:shell oruses:action). strategy.matrixfans one job into many (OS × version).actions/cachereuses dependencies between runs;upload-artifact/download-artifactpass files between jobs.- Set
permissions:explicitly; start fromcontents: readand grant only what a job needs.GITHUB_TOKENis short-lived and expires when the job ends. - OIDC: grant
id-token: write, the job gets a signed JWT, the cloud trusts GitHub's issuer and swaps it for short-lived credentials. No long-lived cloud keys in secrets. - Reusable workflow (
on: workflow_call) reuses whole jobs; composite action (runs.using: composite) reuses steps inside a job. concurrency:withcancel-in-progress: truecancels outdated runs; use it per branch for CI and without cancel for deploys so they queue instead.- Jenkins:
Jenkinsfilein the repo. Declarative (pipeline { }) is structured and validated; scripted (node { }) is full Groovy. Builds run on agents, not the controller. - Deployment strategies: recreate (downtime), rolling (gradual replace), blue-green (instant switch, double infra), canary (small % first), A/B (experiment by user segment), shadow (mirror traffic, responses discarded).
- Decouple deploy from release with feature flags. Roll back fast (previous artifact) or roll forward (small fix); DB migrations must be backward compatible (expand → migrate → contract).
- GitOps: Git holds desired state; an in-cluster agent (Argo CD, Flux) pulls and reconciles, fixing drift. Terraform in CI:
planon PR, reviewedapplyof the saved plan on merge. - Supply chain: SAST, SCA, DAST, secret scanning, SBOM, sign artifacts (cosign keyless), provenance (SLSA), and pin third-party actions to a full commit SHA.
Foundations
CI vs continuous delivery vs continuous deployment
CI keeps the main branch always integrated and tested; delivery keeps it always releasable; deployment releases it automatically.
- Continuous Integration (CI): developers merge small changes into a shared main branch at least daily. Each push triggers an automated build and test run, so integration problems show up in minutes, not at the end of a sprint.
- Continuous Delivery: extends CI so every change that passes the pipeline is in a deployable state. Production deploy is a business decision, usually one click or one approval.
- Continuous Deployment: no manual gate. Every change that passes all automated checks goes to production. It needs strong tests, monitoring, feature flags and fast rollback.
- CI is a practice, not a tool. Running Jenkins on a long-lived feature branch that merges once a month is not CI.
- The core rule of CI: a broken main build is the team's top priority. Fix or revert within minutes.
Interview questions
- What is the difference between continuous delivery and continuous deployment?
- Is using a CI server the same as doing CI?
- What should happen when the main build breaks?
Benefits & DORA metrics
CI/CD shrinks batch size, which makes delivery faster and safer; DORA metrics measure both.
- Benefits: faster feedback, smaller and safer changes, less merge pain, repeatable deploys, fewer manual errors, quicker recovery, and an audit trail of what shipped when.
- DORA (DevOps Research and Assessment) now uses five software delivery metrics, split into throughput and instability.
- Throughput: change lead time (commit to running in prod), deployment frequency, failed deployment recovery time (formerly MTTR).
- Instability: change fail rate (deploys needing immediate fix or rollback) and deployment rework rate (unplanned deploys caused by production incidents).
- DORA's research finds speed and stability are not a trade-off: top performers are good at all five.
- Use metrics per service to improve, not as targets for comparing teams (Goodhart's law).
Interview questions
- What are the DORA metrics?
- Doesn't deploying more often increase risk?
- How would you start improving a team with weekly manual releases?
Pipeline stages
A pipeline is an ordered set of automated gates; cheap, fast checks run first so failures surface quickly.
- Source: a push, PR or tag triggers the pipeline. Checkout the exact commit.
- Build: install dependencies (locked versions), compile/transpile, produce a build output.
- Static checks: lint, format check, type check. Seconds to run, catch many bugs.
- Test: unit tests, then integration tests with real dependencies (often service containers), then a small E2E/smoke suite.
- Security scan: SAST, dependency (SCA) scan, secret scan, container image scan, IaC scan.
- Package & publish: create a versioned artifact (container image, jar, npm package), push it to a registry, attach SBOM and signature.
- Deploy: staging automatically, then production (approval, canary or automatic), followed by smoke tests and monitoring.
Interview questions
- Walk me through a CI/CD pipeline you would build for a web service.
- Why should lint and unit tests run before E2E tests?
- What makes a pipeline good?
Build artifacts & versioning
Build once, version it uniquely, store it immutably and promote the same artifact everywhere.
- An artifact is the deployable output of a build: container image, jar/war, wheel, npm package, binary, static bundle.
- Build once, deploy many: rebuilding per environment risks different dependencies and makes testing meaningless.
- Make artifacts immutable. Never overwrite
1.4.0. Reference images by digest (@sha256:…) for exact identity; tags likelatestcan move. - Version schemes: SemVer
MAJOR.MINOR.PATCHfor libraries and APIs; commit SHA or build number for services; often both (1.4.0+sha.1a2b3c). - Automate versions from git: tags, Conventional Commits with tools like semantic-release or release-please.
- Store artifacts in a registry (GHCR, ECR, Artifactory, Nexus). CI run artifacts (
upload-artifact) are for short-term hand-off, not releases.
Interview questions
- What does “build once, deploy many” mean and why does it matter?
- Why deploy by image digest instead of tag?
- How do you version a microservice vs a library?
Test pyramid in CI & flaky tests
Lots of fast unit tests, fewer integration tests, few E2E tests, and zero tolerance for flakiness.
- Unit tests: one function or class, no network or disk, milliseconds. Run on every push.
- Integration tests: real database, queue or HTTP boundary. Use service containers or Testcontainers. Run on every PR.
- E2E / UI tests: full system through the UI or public API. Slow and brittle; keep a small set of critical user journeys.
- Add contract tests (e.g. Pact) between services so you can avoid huge shared E2E environments.
- A flaky test passes and fails on the same code. Common causes: timing/sleeps, shared state, test order, real time and time zones, network calls, race conditions, resource limits.
- Handle flakiness: detect (re-run on main, track failure rates), quarantine (move out of the blocking suite with a ticket and owner), fix the root cause, and bring it back.
Interview questions
- What is the test pyramid and how does it map to a pipeline?
- How do you deal with flaky tests?
- Why are flaky tests so harmful?
GitHub Actions
Workflows, events, jobs, steps & runners
An event triggers a workflow; its jobs run on runners; each job runs steps in order.
- A workflow is a YAML file in
.github/workflows/. It has triggers (on:), optionalenv,permissions,concurrency, and one or more jobs. - Events:
push,pull_request,workflow_dispatch(manual, with inputs),schedule(cron, UTC),release,workflow_call(reusable),workflow_run,repository_dispatch. Filter withbranches,tags,paths. - Jobs run in parallel by default, each on a fresh runner.
needs:creates ordering and lets a job read another job's outputs. - Steps run sequentially in the same runner and share the workspace. A step is either
run:(shell command) oruses:(an action). - Actions are reusable units: JavaScript, Docker container or composite. Reference them as
owner/repo@refor a local path./.github/actions/x. - Runners: GitHub-hosted (fresh VM per job,
ubuntu-latest,windows-latest,macos-latest, larger runners) or self-hosted (your machines, selected by labels).
Interview questions
- Explain the structure of a GitHub Actions workflow.
- Do steps in different jobs share files?
- When would you choose self-hosted runners?
- What is the difference between
pull_requestandpull_request_target?
Matrix builds, caching & artifacts
Matrix fans a job out across combinations; cache speeds up repeat work; artifacts move files between jobs.
strategy.matrixcreates one job per combination. Useincludeto add or extend combinations andexcludeto drop some. A run can have up to 256 matrix jobs.fail-fast(defaulttrue) cancels the other matrix jobs when one fails. Setfalseto see all failures.max-parallellimits concurrency.- Cache (
actions/cacheor thecache:input of setup actions) restores directories like~/.npmby key. Build the key from the OS and a hash of the lockfile;restore-keysgive partial matches. - Cache facts: entries unused for 7 days are evicted; default repo limit is 10 GB. PR caches are scoped to the PR, while caches from the default branch are visible to all branches.
- Artifacts (
upload-artifact/download-artifact) store build outputs, test reports and coverage per run, with configurableretention-days. - Cache = speed (safe to miss). Artifact = data you need (build output passed to deploy, reports for humans).
Interview questions
- How do you test against several OS and language versions?
- How do you design a good cache key?
- What is the difference between a cache and an artifact?
needs, outputs, if conditions & concurrency
needs builds the job graph, if decides whether something runs, concurrency decides how many run at once.
needs: [a, b]waits for jobs and skips this job if any of them failed, unless itsifuses a status function.- Job outputs: a step writes
name=valueto$GITHUB_OUTPUT, the job maps it underoutputs:, and a later job readsneeds.<job>.outputs.<name>. if:works on jobs and steps. Status functions:success()(default),failure(),always(),cancelled(). Example:if: failure()to notify on errors.- Common conditions:
github.ref == 'refs/heads/main',github.event_name == 'push',startsWith(github.ref, 'refs/tags/v'),contains(github.event.pull_request.labels.*.name, 'deploy'). concurrency.groupallows only one running plus one pending run per group.cancel-in-progress: truecancels the running one when a new one arrives.- Also useful:
timeout-minutes(default 360 per job),continue-on-error, anddefaults.run.shell/working-directory.
Interview questions
- How do you pass a value from one job to another?
- What does
concurrencydo and when do you cancel in progress? - How do you run a cleanup or notification step even if earlier steps failed?
- What is script injection in GitHub Actions?
Secrets, variables, environments & GITHUB_TOKEN permissions
Store secrets encrypted, scope them to environments with approvals, and give every job the least token permissions it needs.
- Secrets (
secrets.X) are encrypted, masked in logs, and set at org, repo or environment level. Variables (vars.X) are plain config (region, URLs). - Secrets are not passed to workflows triggered from fork PRs (only a read-only
GITHUB_TOKEN). Reusable workflows get secrets only when passed explicitly or withsecrets: inherit. - Environments (e.g.
staging,production) hold their own secrets and protection rules: required reviewers, wait timer, allowed branches/tags. A job withenvironment: productionpauses until approved. GITHUB_TOKENis an automatic, per-job installation token scoped to the repo. It expires when the job finishes.- Set
permissions:at workflow level (read-only) and widen per job. Once you list any permission, every unlisted one becomesnone. - Common scopes:
contents(code, releases),pull-requests,issues,packages(GHCR),id-token: write(OIDC),security-events(code scanning upload),attestations.
Interview questions
- How do you secure the GITHUB_TOKEN?
- How do you add a manual approval before production?
- Difference between secrets and variables?
- Why don't fork PRs get secrets?
OIDC to cloud providers
Workflows exchange a short-lived, signed GitHub identity token for temporary cloud credentials instead of storing keys.
- Grant
permissions: id-token: write. The job can then request a JWT from GitHub's OIDC provider (https://token.actions.githubusercontent.com). - The token has claims such as
sub(e.g.repo:org/app:environment:productionorrepo:org/app:ref:refs/heads/main),aud,repository,ref,environment,job_workflow_ref. - In the cloud you register GitHub as an identity provider and write a trust policy that accepts only specific claims, e.g. this repo and the
productionenvironment. - The cloud STS validates the signature and claims and returns short-lived credentials (AWS role session, Azure federated credential, GCP Workload Identity Federation).
- Benefits: no long-lived keys in secrets, nothing to rotate, fine-grained per branch/environment access, full audit trail in the cloud.
Interview questions
- How do you deploy to AWS from GitHub Actions without storing access keys?
- Why is OIDC better than storing a cloud key as a secret?
- What claims would you restrict on, and why?
Reusable workflows vs composite actions
Reuse whole jobs with a reusable workflow; reuse a sequence of steps with a composite action.
- Reusable workflow: a workflow with
on: workflow_call, defininginputs,secretsandoutputs. Called at job level:jobs.x.uses: org/repo/.github/workflows/deploy.yml@v1. - It can contain many jobs, choose its own runners, and use environments. You can nest up to 10 levels and call up to 50 unique reusable workflows from one workflow file.
- Caller
envis not passed in. Secrets must be passed explicitly or withsecrets: inherit. - Composite action:
action.ymlwithruns.using: compositeand a list of steps. Called as a step:uses: ./.github/actions/setup. Eachrunstep must declareshell. - Composite actions run inside the caller's job and runner; they cannot pick a runner or define jobs. They cannot read secrets directly, so pass them as inputs.
- Rule of thumb: standardise a pipeline (build → scan → deploy with approvals) as a reusable workflow; standardise setup steps (install toolchain + cache) as a composite action.
Interview questions
- Reusable workflow vs composite action: when do you use each?
- How do secrets reach a reusable workflow?
- How would you roll out a standard pipeline to 200 repos?
Jenkins, GitLab & other tools
Jenkins: pipeline as code
Jenkins runs a Jenkinsfile from the repo on agents; declarative syntax is the default choice.
- Jenkins is a self-hosted, open-source automation server. Pipelines are defined in a Jenkinsfile (Groovy DSL) committed with the code.
- Declarative pipeline:
pipeline { agent … stages { stage { steps { } } } post { } }. Structured, validated, easier to read; supportswhen,options,environment,parallel,input. - Scripted pipeline:
node { stage('x') { … } }. Plain Groovy, very flexible, but harder to maintain. Usescript { }blocks inside declarative for small bits of logic. - Controller schedules and stores config; agents run builds (static nodes, Docker, Kubernetes pods). Do not run builds on the controller.
- Features come from plugins (Git, Pipeline, Credentials, Docker, Kubernetes, Blue Ocean …). Plugins are powerful but are the main source of upgrade pain and CVEs.
- Multibranch pipelines build every branch and PR automatically. Shared libraries (
@Library) reuse pipeline code across repos. Credentials viawithCredentialsorcredentials().
Interview questions
- Declarative vs scripted Jenkins pipeline?
- What are Jenkins agents and why not build on the controller?
- What are the main pain points of Jenkins compared with hosted CI?
GitLab CI & tool comparison
GitLab CI uses one .gitlab-ci.yml with stages and jobs; most CI tools share the same concepts with different names.
- GitLab CI config lives in
.gitlab-ci.yml. Stages run in order; jobs in the same stage run in parallel.needs:builds a DAG to skip waiting for a whole stage. - Jobs run on GitLab Runners (shared SaaS runners or self-managed; executors like Docker, shell, Kubernetes).
- Key keywords:
image,script,rules(conditions; preferred over oldonly/except),artifacts,cache,environment,when: manual,include(reuse templates),extends. - Variables and protected/masked CI/CD variables hold secrets;
id_tokenssupports OIDC to clouds. - Other tools: CircleCI, Azure Pipelines, Bitbucket Pipelines, Buildkite (hosted control plane + your agents), Tekton (Kubernetes-native), AWS CodePipeline.
Interview questions
- How does a GitLab pipeline differ from a GitHub Actions workflow?
- How would you choose between Jenkins, GitHub Actions and GitLab CI?
Releasing safely
Deployment strategies
Choose how traffic moves from old to new: all at once, gradually, by switch, by percentage, by segment or as a mirror.
- Recreate: stop old, start new. Simple, but downtime. OK for dev or apps that cannot run two versions at once.
- Rolling: replace instances in batches (Kubernetes default:
maxSurge,maxUnavailable). No extra cluster, but old and new run together and rollback is another rollout. - Blue-green: run the new version (green) next to the old (blue), test it, then switch the router/load balancer. Instant rollback by switching back; needs double capacity.
- Canary: send a small share (1% → 10% → 50% → 100%) to the new version, compare error rate and latency, and auto-abort on regressions (Argo Rollouts, Flagger, cloud deploy tools).
- A/B testing: route specific users or segments to variants to measure a business metric. It is an experiment, not just a safety technique.
- Shadow (dark launch / mirroring): copy real traffic to the new version and discard its responses. Tests load and correctness with zero user impact; beware side effects like double writes or emails.
Interview questions
- Blue-green vs canary deployment?
- Canary vs A/B testing?
- What is a shadow deployment and what is the risk?
- How would you automate canary analysis?
Feature flags & trunk-based development
Merge small changes to main daily and hide unfinished work behind flags, so deploy and release become separate decisions.
- Trunk-based development: everyone commits to one main branch (trunk) directly or through short-lived branches (hours to a day or two). It is the branching model that enables real CI.
- Compared with GitFlow (long-lived
develop,release,hotfixbranches), trunk-based avoids big merges and integration hell; GitFlow fits versioned, multi-release products better. - Feature flags (toggles) wrap new code paths in a runtime condition. Code is deployed dark and released later by turning the flag on, for some users or a percentage.
- Flag types: release (temporary, hide unfinished work), experiment (A/B), ops / kill switch (turn off a costly feature under load), permission (premium users).
- Tools: LaunchDarkly, Unleash, Flagsmith, cloud feature managers; OpenFeature is a vendor-neutral CNCF API.
- Costs: flag debt and combinatorial testing. Give each flag an owner and an expiry, and remove it once fully released.
Interview questions
- What is trunk-based development and why does it matter for CI/CD?
- How do feature flags separate deploy from release?
- What are the downsides of feature flags?
Rollbacks, roll-forward & database migrations
Keep the previous artifact ready to redeploy, prefer small fixes forward when safe, and make every schema change backward compatible.
- Rollback: redeploy the last known-good artifact (old image digest,
kubectl rollout undo, flip blue-green, Argo CD sync to previous commit). Fast when the artifact is immutable and still stored. - Roll-forward: ship a new fix through the normal pipeline. Better when rollback is impossible (data already migrated) or the fix is tiny; needs a fast pipeline.
- Code rolls back easily; data does not. Destructive migrations (drop/rename column) make rollback unsafe.
- Use expand → migrate → contract (parallel change): add new schema (nullable column/new table), deploy code that writes both and reads new, backfill, then later remove the old column in a separate release.
- Run migrations as a separate pipeline step or job before the new code rolls out, using versioned tools (Flyway, Liquibase, Alembic, Prisma, EF Core). Only one runner should migrate at a time (locking).
- Make migrations online: avoid long table locks (e.g. create indexes concurrently in Postgres, batch backfills).
Interview questions
- Rollback vs roll-forward: when do you choose each?
- How do you handle database migrations in a CI/CD pipeline with zero downtime?
- Your deploy included a migration that dropped a column and now you must roll back. What now?
- What makes a rollback fast and reliable?
GitOps & infrastructure
GitOps with Argo CD & Flux
Git is the single source of truth for desired state; an agent in the cluster pulls it and keeps reality in sync.
- GitOps principles (OpenGitOps): desired state is declarative, versioned and immutable in Git, pulled automatically by agents, and continuously reconciled.
- Push model (classic CD): the CI job runs
kubectl applywith cluster credentials. Pull model (GitOps): an in-cluster controller watches Git and applies changes; CI never touches the cluster. - Argo CD:
ApplicationCRD points to a repo path (plain YAML, Helm, Kustomize) and a destination cluster. Web UI, sync status, health,selfHealandprune, ApplicationSets for many apps or clusters. - Flux: a set of controllers (
GitRepository/OCIRepositorysources,Kustomization,HelmRelease), CLI-first, with image automation controllers that can commit new tags to Git. - Typical flow: CI builds and pushes the image, then opens a PR or commit that bumps the image tag/digest in a config repo. Argo CD or Flux deploys it. Rollback =
git revert. - Drift: manual
kubectl editis detected; with self-heal it is reverted to Git's state.
Interview questions
- What is GitOps and how is it different from a normal CD pipeline?
- How does a new image get deployed in a GitOps setup?
- What happens if someone changes a resource manually with kubectl?
Infrastructure as code in pipelines (Terraform)
Run plan on every PR for review, and apply exactly the reviewed plan on merge, with locked remote state and OIDC credentials.
- IaC (Terraform/OpenTofu, Pulumi, CloudFormation, Bicep) puts infrastructure in versioned, reviewed code, so the same pipeline ideas apply.
- On PR:
fmt -check,validate, lint/scan (tflint, Checkov, Trivy), thenterraform planand post the plan as a PR comment. - On merge (or after approval):
terraform applyof the saved plan file, so what runs is exactly what was reviewed. Apply fails if state changed since the plan. - Use remote state with locking (S3 with lockfile or DynamoDB, Terraform Cloud, GCS, Azure Blob) so two pipelines cannot write at once. Add
concurrencyper workspace too. - Separate state per environment/component to limit blast radius. Use OIDC for cloud credentials; give plan jobs read-only roles and apply jobs write roles.
- Schedule a nightly
plan -detailed-exitcodeto detect drift (exit code 2 means changes present).
Interview questions
- How would you run Terraform in CI/CD?
- Why apply a saved plan instead of running
terraform applydirectly? - How do you detect infrastructure drift?
Security & scale
Supply-chain security
Scan code and dependencies, know what is inside each artifact (SBOM), sign it, prove how it was built (SLSA), and trust only pinned dependencies.
- SAST scans source for bugs like injection (CodeQL, Semgrep). SCA finds vulnerable or badly licensed dependencies (Dependabot, Snyk, Trivy, OSV-Scanner). DAST attacks the running app (OWASP ZAP). Add secret scanning and container/IaC scanning.
- SBOM (Software Bill of Materials) lists every component in an artifact, in SPDX or CycloneDX format (Syft, Trivy). It lets you answer “are we affected by this CVE?” in minutes.
- Signing: Sigstore cosign keyless signing uses the workflow's OIDC identity to get a short-lived certificate from Fulcio and records the signature in the Rekor transparency log. Verify by expected identity and issuer.
- SLSA (Supply-chain Levels for Software Artifacts) build track: L1 provenance exists, L2 provenance is signed by a hosted build platform, L3 hardened, isolated builds. GitHub artifact attestations (
actions/attest) produce signed SLSA provenance. - Pin third-party actions to a full commit SHA (
uses: owner/action@<40-char sha> # v1.2.3). Tags can be moved; SHAs cannot. Let Dependabot update them. - Also: least-privilege tokens, protected branches with required reviews and checks,
CODEOWNERSfor workflow files, verified admission in the cluster (only signed images run).
Interview questions
- SAST vs DAST vs SCA?
- What is an SBOM and why do you need one?
- Why pin GitHub Actions to a commit SHA?
- What is SLSA and how do you reach a higher level?
- How does keyless signing with cosign work?
Monorepo pipelines & speeding up pipelines
Build only what changed, cache everything you can, parallelise the rest, and stop doing redundant work.
- Monorepo problem: one commit should not rebuild 50 services. Use change detection:
on.push.pathsfilters,dorny/paths-filterto set job outputs, or build tools with a dependency graph (Nxaffected, Turborepo filters, Bazel, Pants, Gradle). - Generate a dynamic matrix from the changed packages (
fromJSON(needs.changes.outputs.services)) so each affected service builds in parallel. - Gotcha: if a workflow is skipped by
pathsfiltering, its required status check stays pending and blocks the PR. Prefer an always-running workflow that skips jobs internally, plus a final aggregate job as the required check. - Speed-ups: dependency caching, Docker layer cache (
cache-from/to: type=ghaor registry cache), remote build cache (Nx/Turbo/Bazel), test sharding (--shard=1/4in Jest and Playwright), and splitting by timing data. - Avoid waste: cancel outdated runs with
concurrency, skip docs-only changes, run expensive suites nightly, use shallow clones (the checkout default) and smaller Docker build contexts. - Hardware: larger or ARM runners, self-hosted runners with warm caches, and merge queues to test the merged result once instead of rebasing every PR.
Interview questions
- How do you design CI for a monorepo with many services?
- Your pipeline takes 40 minutes. How do you speed it up?
- Why can path filters block merges?