A monorepo has 30 services; every PR builds all of them. Redesign.
AdvancedScenarioRunners, ARC, Monorepos & Releases
Answer
Situation read → Need change detection with dependency awareness.
What I'd do →
changesjob computes affected services: path filters per service including shared libs, ornx show projects --affected --base=origin/main --json.- Dynamic matrix build with
fromJSON, guarded against empty lists. - Per-service Docker cache scope.
- Fan-in
ci-okas the only required check. - Nightly full build to catch anything the graph missed.
Why → Typical PRs touch one or two services, cutting time and cost dramatically.
Interview tip → Mention the nightly full build as a safety net.
More on Runners, ARC, Monorepos & Releases
You must build on runners that can reach an internal Artifactory. Design the runner setup.AdvancedPersistent self-hosted runners keep failing because a previous job left files and Docker images. Fix the root cause.BeginnerDesign ARC for a company with Linux build jobs, Docker image builds, and GPU tests.AdvancedYou need to upgrade ARC across 10 clusters with zero dropped jobs. Plan it.AdvancedA monorepo deploys each service independently with its own version. How do you trigger and version releases?AdvancedDesign a release workflow for a CLI tool that publishes binaries for Linux, macOS and Windows.Intermediate