Commit 9616ffb
ci(lint): record why the ledgered-closure build is NOT a duplicate of the gate's own refresh (#10568)
`.github/workflows/lint.yml`'s "Build the ledgered packages' dependencies"
step and `refreshBuiltClosure()` in scripts/check-type-check-coverage.mjs run
the identical turbo command with identical filters, and #8331 was filed asking
whether the workflow step is now dead weight. Re-derived on current main: it is
not, and the reason is an ordering the gate documents but the workflow never
mentioned.
`--re-measure` checks `unbuiltClosure()` BEFORE it calls `refreshBuiltClosure()`
and refuses rather than building from nothing (deliberate: a cold 7-task closure
measured 3m2s on a gate people run before pushing). So the refresh owns the
present-but-stale case only; it cannot rescue a closure member no earlier step
built.
Measured what the preceding step actually covers: of the 55 workspace packages
in the ledgered dependency closure, `Build workspace packages` reaches 54 through
`./packages/*`, and the 55th -- @objectstack/service-knowledge, pulled in by the
ledgered knowledge-ragflow -- arrives only through `./examples/*^...`, because
examples/app-todo happens to depend on it. Deleting the step would tie the lane's
green to that one manifest.
Comment only; no step, command, filter or ordering changed.
Fixes: #8331
Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt
Co-authored-by: Claude <noreply@anthropic.com>1 parent 90b4126 commit 9616ffb
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2511 | 2511 | | |
2512 | 2512 | | |
2513 | 2513 | | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
2514 | 2544 | | |
2515 | 2545 | | |
2516 | 2546 | | |
| |||
0 commit comments