Commit 629882e
perf(ci): parallelize monorepo build via mise DAG dependencies (#203)
* perf(ci): parallelize monorepo build via mise DAG dependencies
Restructures task execution from sequential to parallel:
Root mise.toml: changes build from sequential `run = [...]` to
parallel `depends = [agent, cdk, cli, docs]`. All packages now
build concurrently.
cdk/mise.toml: adds `depends = [":compile"]` to test and synth:quiet
so they wait for TypeScript compilation, while eslint runs immediately.
Removes compile from build's depends (it's now pulled in transitively).
DAG execution order:
t=0: agent:quality + cdk:compile + cdk:eslint + cli:build + docs:build
t=35: cdk:test + cdk:synth (after compile finishes)
t=185: all done
Critical path: cdk:compile (35s) → cdk:synth (150s) = ~3min
vs. previous serial: ~12min
Also removes redundant //docs:sync (already a dependency of //docs:build).
Refs #201
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: test ubuntu-latest-4-cores runner with timing instrumentation
Probes whether larger runners are available to the org. If the job
queues and runs, mise parallelism should actually benefit from 4
real cores vs 2. If it fails, we know larger runners aren't enabled.
Adds nproc/RAM logging and SECONDS timing to measure the difference.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: re-trigger after label removal
---------
Co-authored-by: bgagent <345885+scottschreckengaust@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2e0c534 commit 629882e
3 files changed
Lines changed: 22 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
58 | | - | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
| 154 | + | |
| 155 | + | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 157 | + | |
| 158 | + | |
164 | 159 | | |
165 | 160 | | |
166 | 161 | | |
| |||
0 commit comments