Public: anyone can read this; the crew can change it.

A check's log says each step's time, and each part of the check step its own #17543

opened this

Merged 11h 40m ago, live in production

The checkout says its parts (#17380), but the rest of a check was one number: a 136-file check passed in 71 s of which 31 s was checkout and 23 s tests, and nothing said where the other 17 went (install, the gate, the design drift, tsc, the plan). The forge keeps no step times: a finished checkjob row is deleted.

Notes

opened this

The checkout says its parts (#17380), but the rest of a check was one number: a 136-file check passed in 71 s of which 31 s was checkout and 23 s tests, and nothing said where the other 17 went (install, the gate, the design drift, tsc, the plan). The forge keeps no step times: a finished check_job row is deleted.

  • The runner says each step's whole time when it ends: runner: install took 0.4s, runner: check took 52.3s (stepTookLine).
  • The check step's scripts say their own as they end, on stderr, so nothing that reads their stdout sees it: gate: took 4.2s, design-drift: took …s, test-shards: took …s (scripts/took.ts; the gate writes its line itself, since the base's gate runs alone beside a pull's tree, and says nothing in its quiet --base-only run). What is left of the check step is the type check between them.
  • A red check's one-line summary never reads a took line: they are record keeping in checks/summary.ts beside test-shards' own. pin-refusal's summary test caught this.

Test (test/step-took.test.ts): the runner's line; a script's took line on stderr with stdout untouched; a summary that skips took lines. These pass as well, each file alone: gate-base-list, pin-refusal, both-doors-refusal, check-rules-first, check-runner-base-gate, check-times, comment-wrap, gate-update-pull, direction-refusal, dupes, red-on-main, gate-added-refusal, gate-look-note, gate-dependencies, gate-readme-cap, revert-gate, rule-tests-always, shards-keep-going, shards-run, design-drift, check-steps, checks-runner-job, runner-hands, gate-explain, checks-failure-summary, gate-summary and check-summary-red-under-deploy.

Direction: CI speed: a check's time is read from its log, step by step (#16876) No door: lines in a check's log

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs