Repository navigation
ci: restore timing summary artifact - #87832
Conversation
|
Codex review: needs maintainer review before merge. Reviewed May 28, 2026, 9:04 PM ET / 01:04 UTC. Summary PR surface: Tests +118, Docs +2, Config +50, Other +76. Total +246 across 5 files. Reproducibility: not applicable. as a user-facing bug reproduction path. Source inspection confirms current main lacks the artifact job, and the PR's live Actions run proves the restored terminal job now runs and uploads the artifact on the PR head. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge
Security Review detailsBest possible solution: Land the restored timing artifact if maintainers are comfortable with the trusted-base workflow shape, keeping the workflow guard, timing helper, and CI docs aligned. Do we have a high-confidence way to reproduce the issue? Not applicable as a user-facing bug reproduction path. Source inspection confirms current main lacks the artifact job, and the PR's live Actions run proves the restored terminal job now runs and uploads the artifact on the PR head. Is this the best way to solve the issue? Yes. The latest approach restores the artifact while checking out trusted base code before passing AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 0ae1ac17eaf2. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +118, Docs +2, Config +50, Other +76. Total +246 across 5 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* ci: restore timing summary artifact * ci: report pnpm warmup fanout timing * ci: run timing summary from trusted base
* ci: restore timing summary artifact * ci: report pnpm warmup fanout timing * ci: run timing summary from trusted base
Summary
ci-timings-summaryCI job.$GITHUB_STEP_SUMMARYand upload it as aci-timings-summaryartifact.docs/ci.mdto describe the restored artifact.Background
The
ci-timings-summaryjob was added inc3853611ee(ci: add runner fallback timing telemetry) and later disappeared in330ba1fa31(refactor: move canvas to plugin surfaces), via #78558. That removal happened inside a broad Canvas/plugin-surface refactor; I did not find PR body or review discussion indicating a deliberate reason to drop the timing artifact.Restoring the artifact gives maintainers a durable, compact run summary for wall time, queue time, slowest jobs, failures, and the
pnpm-store-warmupfanout barrier without repeatedly scraping the full Actions payload. Keeping the same text in$GITHUB_STEP_SUMMARYalso makes the data visible directly from the run page.Verification
git diff --checknode scripts/check-workflows.mjsnode scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts test/scripts/ci-run-timings.test.tsnode scripts/ci-run-timings.mjs 26608423875 --limit 5pnpm docs:listpnpm docs:check-mdxpnpm exec oxfmt --check .github/workflows/ci.yml docs/ci.md test/scripts/ci-workflow-guards.test.ts scripts/ci-run-timings.mjs test/scripts/ci-run-timings.test.ts.agents/skills/autoreview/scripts/autoreview --mode localReal behavior proof
Behavior addressed: CI now publishes the run timing summary as a durable
ci-timings-summaryartifact again, appends the same summary to the Actions step summary, reports thepnpm-store-warmupfanout barrier, and keepsGH_TOKENaway from branch-controlled timing code on pull requests.Real environment tested: Local Codex worktree on branch
codex/restore-ci-timings-artifact, rebased from currentorigin/mainafter #87813 merged.Exact steps or command run after this patch: Ran focused workflow/timing Vitest coverage, workflow parsing checks, docs checks, formatting check, whitespace check, a live timing-helper smoke against CI run
26608423875, and autoreview locally.Evidence after fix: Parsed
.github/workflows/ci.ymlcontains a terminalci-timings-summaryjob withactions: read, current CI laneneeds,node scripts/ci-run-timings.mjs "$GITHUB_RUN_ID" --limit 25,$GITHUB_STEP_SUMMARYoutput, and anactions/upload-artifact@v7upload namedci-timings-summary. The checkout step usesgithub.event.pull_request.base.shafor pull request runs andneeds.preflight.outputs.checkout_revision || github.shaotherwise, and the workflow guard asserts that boundary.Observed result after fix: Workflow/docs checks passed, the focused Vitest run passed 2 files / 10 tests, the live timing-helper smoke printed the new
pnpm-store-warmup barriersection, and autoreview reported no accepted/actionable findings.What was not tested: A completed live GitHub Actions run of the terminal
ci-timings-summaryjob on this PR after the trusted-base fix; CI restarted on head0f5a90872e8084f535c4792ffad3a0da831da1c4and is still in progress.