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

Stopwatch.line can say "after the run started", with the deploy line unchanged #3778

shipped production is serving it opened this has it
opened this

Part of #3665 (split): an agent run's log says where its time went, as deploys already do with timing: from src/apps/timing.ts. Two attempts (pulls #3689 and #3776) did everything in one change, across the runner, early.ts, the stand-in helper and a shared class, and went red. This is one piece of it.

Done:

  • [ ] Stopwatch.line in src/apps/timing.ts takes an optional since phrase, defaulting to "the deploy started". Every existing deploy line is byte-for-byte unchanged, and an existing deploy timing test proves it.
  • [ ] With since: "the run started", the line reads timing: run ended 12.0s after the run started — clone 1.0s · brief 0.5s · …. A test with a fake clock asserts that exact text.
  • [ ] No change to src/crew/ in this issue.

Files: src/apps/timing.ts, its test (e.g. test/apps-timing-line.test.ts). Risk: none; the deploy wording must not change.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs