Repository navigation
ci(spec): run the full gate or the individual checks, never both - #2210
Conversation
There was a problem hiding this comment.
No issues found across 1 file
Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.
View guided diff | Re-trigger cubic
okwasniewski
left a comment
There was a problem hiding this comment.
[claude-opus-5-5] automated review on behalf of @okwasniewski
Checked at f78287f against main 5711573.
The duplicate is real. On main, Full nightly check (pnpm check) runs on a workflow_call with agent-device-version set, and then the eleven named steps run again with no condition. The 2026-11-23 nightly run (45138608125) shows both: pnpm check took 24s and the repeated steps about 17s, in a 4m50s job. It costs seconds, not the 15-minute budget, but the fix is correct and costs nothing.
PR and push behaviour stays the same. On pull_request, push, and merge_group there is no inputs value, so inputs.agent-device-version == '' is null == '', which GitHub coerces to 0 == 0 and evaluates as true. The existing != '' guard on Full nightly check already relies on the same coercion. The eleven guarded steps are exactly the ones pnpm check covers. docs:check is the only extra item in pnpm check, and it stays nightly-only, as before. The publisher validation, the skill scripts, the browsers, and the testbed stay unguarded.
Must fix
- None.
Should fix
- None.
Nits
- PR body: "the budget the job's timeout exists to protect" overstates it. The nightly measurement above puts the duplicate at about 17s.
CI: mergeable_state is blocked because spec gate failed. test (24) and test (24.8.0) were cancelled at the 15-minute timeout-minutes limit inside Unit and integration tests. This PR only touches the check job, which passed. The same timeout hits other PRs today and is being fixed separately (#2225 splits the test job, #2226 raises its timeout). Re-run after one of those lands, or re-run now.
Verified: actionlint .github/workflows/spec.yml at the PR head is clean (repo actionlint config). Diff reviewed against main's spec.yml and package.json check script.
kdy1
left a comment
There was a problem hiding this comment.
Note
This text was drafted with AI and posted after human approval.
- Harness: T3 Code
- AI agents: coordinator: Claude Opus 5.5 (claude-opus-5-5), reviewer: GPT-6.2 Astra (gpt-6.2-astra), reviewer: GPT-6.2 Sol (gpt-6.2-sol), reviewer: Claude Opus 5.5 (claude-opus-5-5), reviewer: Claude Sonnet 5.5 (claude-sonnet-5-5)
Verdict: Approve
This review approves the pull request. The P3 items are optional and do not block the merge.
Thank you for this fix, @DeryFerd. I checked both arms of the condition against the nightly and pull request runs and found no problem in the behavior. The only finding is a small inaccuracy in the new comment.
Reviewed commit: f78287f60374b704ca6aceb2979335308091148f
- P3 (non-blocking): 1 (1 inline)
| with: | ||
| agent-device-version: ${{ inputs.agent-device-version }} | ||
| # One arm or the other, never both: a compatibility dispatch runs the whole | ||
| # gate in one step, and a push or pull request runs the same checks as |
There was a problem hiding this comment.
P3 · Non-blocking · The new comment says separate steps run the same checks as pnpm check
Optional. This does not block the merge.
The comment says that a push or pull request "runs the same checks as separate steps". The separate steps do not include docs:check, which is part of pnpm check (package.json:13). On a push or pull request, spec does not run docs:check; the separate docs.yml workflow runs it on pull requests and in the merge queue when its path filter matches. The behavior is correct and did not change. Only the comment describes more coverage than the separate steps give, which can mislead the next person who edits this job.
What
A
nightly-agent-devicedispatch now runspnpm checkor the eleven named steps, never both. Pushes and pull requests keep the named steps, so a failure still points at one check.Why
pnpm checkis a superset of the steps below it, and.github/workflows/spec.yml:45-47ran it on a compatibility dispatch while the eleven steps at:48-69ran unconditionally. One 4-vCPU runner inside a 15-minute budget did the whole gate twice, which is the budget the job's timeout exists to protect. Fixes #2203.How it works
LinttoMCP Registry entry matches the runnergainsif: ${{ inputs.agent-device-version == '' }}.Full nightly checkstep keeps its inverse condition, so exactly one arm runs.pnpm check:MCP Registry accepts the entry, which needs the publisher action, andAgent skill scripts. The browser install and the testbed below them also keep running on both arms.Issue
Fixes #2203
Verified
Ran it locally: no - this is a workflow change, and no local runner executes GitHub Actions. What was run is a parse and structure check of the edited file with the
yamlparser already in the workspace:That output is the assertion the change needs: one nightly step, eleven guarded steps, every setup and publisher step unguarded, and the gate still covering all four jobs. The first real dispatch of
nightly-agent-deviceis the end-to-end check, and itscheckjob should show the eleven steps skipped andpnpm checkrun.Checklist
pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.!, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).docs/**/*.mdxpage for the behavior, andskills/e2e/if the skill describes it..d.tsreviewed,tests/types/sdk-types.tsupdated; wire change edits the schema and both fixtures.e2e/engine): changesets fore2e,@e2e-dev/web, and@e2e-dev/mobile.