Repository navigation
v1.92.51.0 ci: windows-smoke is the required Windows check; the six-shard suite runs nightly (GSTA-203 PR 1) - #3806
Merged
Merged
Conversation
…indows suite runs nightly on main (GSTA-203 PR 1, R50) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…h predates; harness decision; changelog fragment) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…notes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # .github/workflows/windows-free-tests.yml # test/windows-native-workflows.test.ts
This was referenced Nov 2, 2026
Closed
garrytan
added a commit
that referenced
this pull request
Nov 2, 2026
…udit after the main merge) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
4 tasks done
This was referenced Nov 2, 2026
capy-ai Bot
added a commit
that referenced
this pull request
Nov 2, 2026
* test-free-shards: --ci-run --jobs k sub-shards inside one CI job (k=1 default), per-file JUnit counts (GSTA-203 PR 2) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(ci): ship ffmpeg in the eval image so the marathon design-motion case can run (#3687) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * shard-jobs: serial sub-shard gets what is left of the shard wall; register shard-jobs.ts in ship-measure touchfiles Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * shard-jobs: validate every sub-shard summary, bounded JUnit read, stricter --ci-verify records, unique count paths, no serial launch without wall Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * shard-jobs tests: non-hex plan id fixture; harness-version: shard-jobs FREE_ONLY entry is non-behavioral Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(test:free): exact root-bound JUnit path matching; serial timeout text names the wall the parallel phase left Adversarial pass 2 (GSTA-203 PR 2): a plain relative path now matches a planned file exactly, and an absolute or ../-prefixed path matches only when its prefix is the child's root, so an unplanned browse/test/x.test.ts is never credited to test/x.test.ts. The serial sub-shard's FREE_SUBSHARD_TIMEOUT text says how much of the shard wall the parallel phase left it. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs(testing): real-home tripwire covers --jobs k>1 parallel sub-shards (docs audit docs-203-1) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * ci(free): per-shard sub-shard k in the CI plan (--shard-jobs), free_jobs and windows_jobs dispatch inputs (k=1 defaults) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * ci(free-tests): 10 x ubicloud-standard-8 at 4 sub-shards per shard (GSTA-203 PR 3 A/B winner); Windows stays at k=1 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes (changelog names main's 20 x standard-4 baseline and the unchanged 80 vCPUs) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs(testing): sub-shard default is the plan's per-shard k (docs audit docs-pr3-2) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * ci(free): run the #3680/#3679 BSD-userland regression on macos-named-regressions Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * changelog: macos-named-regressions runs the BSD-userland ubi-runner regression (#3680) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: Windows k=1 applies to the nightly suite since #3806 (docs re-audit after the main merge) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
capy-ai Bot
added a commit
that referenced
this pull request
Nov 2, 2026
* Attribute every paid trial's cost: bind label-named records by testName, price aborted SDK sessions from streamed usage, model-free cases cost $0 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: case cost adds streamed sessions to record sums and keeps record cost_known Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: the paid report headline counts ledger-only session cost once Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: a cost-only record never sets the trial model Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * test: recordE2E writes cost_case_id only for a registered label-named case Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: CHANGELOG for paid-report cost attribution (Unreleased) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: the headline adds only streamed session cost; cache writes without a 5m key Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: how the paid report prices a trial and what stays cost-unknown Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * Price PTY sessions from their transcripts: pin a session id, sum the session's and its subagents' usage into the ledger's streamed_cost_usd Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: transcript pricing never throws from a PTY ledger writer Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * chore: pin transcript-cost.ts as non-behavioral at HARNESS_VERSION 6 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: recognise --session-id= and --resume= forms Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: CHANGELOG for PTY transcript pricing (Unreleased) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: PTY sessions priced from their transcripts Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: price PTY transcripts without adding a launch argument; native AUQ capture opts out Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: harness notes and CHANGELOG match the transcript claim Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * feat(flaky): gstack-flaky run reruns a failed JUnit test once and ledgers the flake (GSTA-158) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(flaky): stream output, keep unreported runner failures red, fail-closed duplicates and nonzero reruns Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes gstack-flaky never greens an incomplete run: a targeted rerun needs the runner's summary proving the first run complete, otherwise (and always for generic runners) the rerun repeats the whole command. A rerun clears a test only when it exits 0 and the test passes once on its first attempt. Killed runners exit 3 (FLAKY_COMMAND_KILLED) and signals are forwarded. The first report is restored at --junit with reruns kept beside it; ids are redacted at every output; the ledger gets its own GSTACK_FLAKE_LEDGER_JUNIT; fixtures are registered in FREE_FIXTURES. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: latch cancellation and check whole-command rerun reports A cancel forwarded to a runner that traps the signal now counts as killed for every later attempt, so a cancelled job is never rerun or greened. A whole-command rerun clears nothing when its report has a failed test, misses a first-run test, or its runner counted failures outside the report. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: whole-command rerun when coverage or runner-flaky tests can fail the run A coverage threshold or a fail-on-flaky policy fails a run for a reason a narrowed rerun cannot reproduce, so either forces a whole-command rerun. --junit refuses an existing file that is not a JUnit report instead of deleting it. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * feat(flaky): rerun the whole command by default; targeted rerun is opt-in A rerun counts only on the runner's own full green verdict: exit 0, no failed or missing test, nothing counted outside the report. That covers every way a run can fail, which a narrowed rerun cannot (a coverage threshold with an lcov reporter, a fail-on-flaky policy, a test never reached). --rerun-scope test reruns the failed test alone, with its preconditions documented and the complete-run checks kept as a safety net. An unreadable existing --junit file is a usage error, not a crash. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: gstack-flaky CHANGELOG entry and standalone-binaries row (GSTA-158) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * feat(flaky): quarantine registry for repeat flakes (GSTA-158 P2) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(flaky): bound renewal dates; match non-ASCII paths in check --base Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(flaky): reword the FLAKY_QUARANTINE_BASE hint so the egress scanner does not read it as a network op Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * test(agent-sdk): every SDK caller passes the claude_code preset or names why not The SDK's default system prompt is a bare stub that drops the line telling the model to run /skill through the Skill tool. runAgentSdkTest now refuses a missing, empty or bare-string prompt; non-preset callers name a reason; a free tripwire scans test/ and scripts/ for the same mistake. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * test: record the SDK prompt guard as a non-behavioral harness change and baseline its tripwire harness-version: runAgentSdkTest validates systemPrompt before starting; every live caller already passed the claude_code preset, so no verdict can change. test-of-test ratchet: the tripwire's subject is the eval harness by design. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: name the preset literal callers pass and the unnamed-prompt refusal Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * feat(eval-plan): frontier models under test (R54) Haiku and Sonnet are not models under test. dry-run refuses a plan whose every arm is Haiku or Sonnet unless --tier-question names what it asks about that tier, warns on a mix, and re-costs the plan on Opus 5.5 and GPT-6.1 Sol. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(eval-plan): trim R54 skill prose and raise the eval-plan context ceiling The R54 paragraph and CHECK: frontier bullet were cut to the minimum; the exemptions and verdict rule stay in docs/TESTING_INTERNALS.md. The remaining growth is the feature, so only the eval-plan eager ceiling moves (4887 -> 5458, the capture helper's value); other skills' ceilings are left as they were. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(eval-plan): pilot start keeps the R54 refusal; --tier-question rejects a flag Review pass 1 (full depth) found the frontier refusal could be skipped by starting a pilot on Haiku or Sonnet arms behind a dry run made on other arms, or behind a dry-run.json written before the check existed. startPilot now refuses a pilot whose every arm is Haiku or Sonnet unless its dry run recorded a tier question. dry-run --tier-question no longer takes the next flag as its answer. The testing doc now says the frontier re-cost is printed for comparison with the brief cap, not enforced. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs(support-tiers): Windows CI in the present tense now that windows-smoke is required (#3806) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * chore: empty commit for a clean check set at the same tree (cancelled orphan free-suite check at 97487df) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs(skills): /eval-plan entry names the R54 frontier check Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
PRs wait on a 198 s Windows smoke check instead of the six-shard suite, which moves to a nightly run on main.
Before/after as text: PRs wait on a 198 s Windows smoke check instead of the six-shard suite, which moves to a nightly run on main
Why
Garry, 2026-11-01 (R50): "Windows gets minimal support... we just don't need to invest that much into it." The six-shard Windows suite was the slowest required check on 71 of 73 PR heads (p50 892 s, p90 1,886 s). PRs now wait on a short smoke check that covers what minimal support promises:
./setupinstalls, the core skills start, and gstack's own browser runs. The full suite still runs every night on main.Blast radius
Every PR's required checks change:
windows-smokereplaceswindows-free-testsin.gstack/ship-policy.json, the ci-hint,--dispatch-cidocs and the train CLI help. That is safe because the GitHub ruleset on main requires onlyfree-tests(read withgh api repos/garrytan/gstack/rules/branches/main), and smoke ran green on this PR (run 41325664750). Two transition effects are known. First, landing this PR needswindows-free-testsdispatched on its stamp commit, becausetrain landreads main's old policy. Second, a branch cut before this merges still owes the old Windows pregate lane and clears it by dispatchingwindows-free-tests.yml.Approvals
Source: gstack-approvals record for gsta203-pr1-windows (display only; not an approval citation).
Summary
.github/workflows/windows-smoke.yml(pull requests, pushes to main, by hand; no cache). It installs into a separate home, starts /ship, /review, /qa-only, /investigate and /browse, runs the installed browse chain, and runs 15 Windows-safe test files, each with its reason in the workflow.windows-free-tests.ymlruns on a nightly schedule (09:17 UTC) and by hand. It keeps v1.92.39.0 ci: main pushes reuse the merged PR's verified run of the same tree; dispatch-ci and --from-run go through the run verifier (GSTA-156 P3b) #3709'sneeds: [windows-plan, reuse], and its shard job is a manual pregate lane. Its comments say a red nightly gets a fix only for an install, startup or core-workflow break.gstack-ship-queue ready --dispatch-ciskips a workflow that main has but the branch predates, and prints a note instead of failing.windows-smoke.yml.Test Coverage
New test:
ready --dispatch-ciskips a workflow the base has but the PR head predates. It fails without the fix. The changed workflow assertions are intest/windows-native-workflows.test.ts,test/ci-reuse-workflow-wiring.test.ts,test/free-durations-record-workflow.test.ts,test/gstack-ship-queue.test.tsandtest/test-health-report.test.ts. The coverage audit found no gaps.Pre-Landing Review
REVIEW_LOOP: passes=2 blocking_found=5 deferred=0 noted=6 fixed=2 scope=frozen fix_checks=1 dispatches=4
Gate edits: 16 listed, 16 read, 0 open (GATE_SUMMARY candidate=77fe28c39796+55032f95fced). The required-check swap, the removed
windows-free-tests.yml/windows-free-shardpregate selection, and the inverted manual-lane assertion forwindows-free-tests.ymlintest/ci-reuse-workflow-wiring.test.tsare deliberate, under R50.Pass 1 fixed the HARNESS_VERSION guard failure and the dispatch-ci hint for older branches. Pass 2 is the R51 cap, and its findings ship as notes. The collector labeled five of them CRITICAL, but the reviewers wrote Medium or Low and none meets the rule 23 floor:
windows-free-testspregate lane. It fails closed, and dispatchingwindows-free-tests.ymlclears it.train landof this PR needswindows-free-testsdispatched on its stamp commit.windows-smoke.ymlgets the "predates" skip. It fails closed at land.A fix-check on the main-merge resolution came back clean, with two notes.
docs/pregate.mdstill callswindows-free-testsa required aggregate one sentence earlier, and the nightly-owner point above.Verification Results
Focused lanes at 0d765ae: typecheck clean, 96 focused tests pass. The 12-file focused set passes 186 of 186. actionlint is clean on the changed workflows. The nightly dispatch from this branch (run 41325683106) failed only on the HARNESS_VERSION guard, which pass 1 fixed.
TODOS
Added "Windows smoke follow-ups" (P2/P3): the old-branch dispatch route, an owner for the nightly, the smoke port wait, and the seed ceiling against the weekly reseed.
Documentation
Documentation exception: accepted by GStack Minder (GSTA-36), relayed by the parent agent 2026-11-01 via rule 19 grant message for #3806: rerun the docs audit once (it may still flag the missing page, which is expected; note it in the READY)
Status: blocked. The docs match the diff, but docs/support-tiers.md, which this branch links to, is missing.
Scope: base 77fe28c..head 0d765ae, 25 committed files (Windows smoke becomes the required check, the full Windows suite runs nightly, dispatch-ci skips a workflow the branch predates). No staged, unstaged or new files. Every tracked .md and .tmpl file was searched for Windows-lane references.
Documentation health:
AGENTS.md Current (Windows platform support updated on the branch; links to the missing docs/support-tiers.md)
CONTRIBUTING.md Current (fork-PR CI list and test command table name windows-smoke)
docs/TESTING_INTERNALS.md Current (Windows free lane section describes smoke vs nightly; links to the missing support-tiers.md)
docs/pregate.md Current (nightly reuse note; links to the missing support-tiers.md)
docs/ship-policy.md Current (required_checks and the --dispatch-ci skip are documented)
CHANGELOG.md Skipped (out of scope; the changelog.d fragment was reviewed and links to support-tiers.md)
TODOS.md Current (Windows smoke follow-ups were filed on the branch; not edited)
Coverage debt: the windows-smoke check and the --dispatch-ci skip have reference and how-to coverage (ship-policy.md, TESTING_INTERNALS.md, CONTRIBUTING.md). The Windows minimal-support tier has zero coverage on this branch until docs/support-tiers.md lands. Diagram drift: none found.
Test plan
bun run typecheckwindows-smokegreen on this PR (run 41325664750, 198 s)