Skip to content

v1.91.132.0 feat(pregate): a remote gate for gstack's own pregate (Ubicloud or keyless local shards); concurrent next-version fetches - #3258

Merged
capy-ai[bot] merged 14 commits into
mainfrom
capy/fw3-a3
Oct 18, 2026
Merged

capy-ai[bot] merged 14 commits into
mainfrom
capy/fw3-a3

Conversation

@garrytan

@garrytan garrytan commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Fix wave 3, W2-A3 (plan: docs/designs/fix-wave-3-2026-10-17/PLAN.md, gate rev 1 approved by Garry: "rec").

What changes

A remote gate for gstack's own pregate. .gstack/pregate.json declares "remote_gate": "bash scripts/ubicloud/pregate-remote.sh". On a machine under 8 cores, pregate already turns the local test tier into a requires-remote obligation when a remote gate is declared (lib/pregate/checks/lanes.ts:207, unchanged here); until now gstack declared none, so a full-fallback lane ran locally and never finished within an hour on 4 cores (GSTA-35: 798 files, >3,550 s).

scripts/ubicloud/pregate-remote.sh (new), run by gstack-pregate --stage tests --remote --spend-cap <usd> --allow-repo-commands:

  • Refuses a bare run (exit 2, prints the pregate command) and a local tree that is not PREGATE_TREE (exit 3, "nothing uploaded, nothing spent").
  • With UBICLOUD_API_KEY: one VM through ubi-runner with test-free.sh's environment (setup-free-suite.sh, xvfb-run, GSTACK_EXPECT_BINARIES=1, the free retry policy; a parity test pins the two scripts together). The spend cap buys the wall timeout at Ubicloud's list price for the actual UBI_SIZE (at most 45 min); a cap that cannot buy 20 minutes refuses before any VM exists (exit 5). On the VM it recomputes the tree after unpack and checks the planned set's digest before any test runs, reports what setup's build rebuilt, and requires the tests to leave the post-setup tree unchanged. Infra failures exit 4 with the ubi-runner message, VM name, teardown line, log path and spent=; a vCPU-quota refusal gets one retry. Phase timings are logged.
  • Without a key: the same files run locally in parallel shards; the tree is checked before and after; spent=0.
  • Either way it prints PREGATE_REMOTE: tree=<tested tree> tests=<n> failed=<n> spent=<usd>, judged in tests through lanes.ts's own parseRemoteReport/remoteReportProblem.
  • Paid test files in the selection are named ("N paid test file(s) are covered by the paid PR gate, not the free tier: …") and left out; a paid-only selection prints PREGATE_REMOTE_PAID_ONLY and tests=0, which never clears. The keyless path prints backend=local (N cores; not the CI environment).
  • Every refusal starts with a stable reason code (PREGATE_REMOTE_USAGE, TREE_MISMATCH, TREE_MOVED, VM_TREE, NO_RESULT, PAID_ONLY, CAP_TOO_LOW, NO_PRICE, TIMEOUT_TOO_SHORT, INFRA, INTERRUPTED) and ends with see docs/pregate.md#remote-gate, where the table lives.
  • It finishes before pregate's deadline. pregate kills the gate at --timeout with a 5 s grace, so the script reads that deadline (PREGATE_TIMEOUT_S, else the gstack-pregate command it runs under: its --timeout, else 600), reserves 120 s for teardown plus 15 s margin, and tells the VM to stop at the earlier of that and the cap's wall. A deadline leaving under 300 s refuses before any VM. At create time it prints the VM name and the exact bash scripts/ubicloud/ubi-runner.sh down <name> line. The script body is one braced block, so editing it mid-run cannot change what runs (a keyed run hit $2: unbound variable after teardown when the file was edited under it).

scripts/test-free-shards.ts --files-from <path>: plans exactly the listed repo-relative files. Unknown paths (first five plus a count), an empty list and malformed or repeated lines are rejected before planning; it conflicts with --quick, --windows-only, --list, --ci-*, --record-durations and --attribute-home (recording a subset would replace the whole duration seed).

Concurrent next-version fetches. bin/gstack-next-version declared GH_API_CONCURRENCY = 10 but its workers called spawnSync, so per-PR VERSION fetches ran one at a time (8 PRs at 0.5 s took 4,160 ms). Workers now use async spawn, at most 10 in flight, 15 s timeout each; claims and warnings are sorted by PR number. A timeout says so ("claim unknown, the slot may collide"), the JSON gains unknown_claims and complete: false, and the pick is marked provisional on stdout and stderr; the fork/path hint appears only for HTTP 404. Not changed here (outside this PR's files): lib/restamp.ts:181-186 and ship/SKILL.md.tmpl Step 12 read this JSON and do not yet act on complete: false.

Receipt: a real Ubicloud run

All 1,280 free test files through the new gate (f235ca9; only two test-line comments changed since): PREGATE_REMOTE: tree=21752dccc9fa2cfb2d6db3d06080b5be182bc2a5 tests=29012 failed=0 spent=0.06. Phases: create 24 s, setup 72 s, run 250 s, teardown 8 s (404 s). Every VM confirmed destroyed. Four runs in total, $0.19; earlier runs caught three real test failures from this change (fixed) and correctly refused a tree edited mid-upload. A fifth (3e14ca1, the 1,280 free files plus 5 skill-e2e files) named and excluded the 5 paid files and passed files=1280 tests=29014 failed=0, VM destroyed.

End state: gstack-pregate --remote then verify

pregate runs the base branch's remote_gate, so this can't run against origin/main until the declaration lands. Proven in a clone where this head (8fa3e0d) is the base (--base fakebase) and one test file is touched, on a 4-core machine, keyed: gstack-pregate run --stage tests --remote --base fakebase --spend-cap 2 --timeout 900 --allow-repo-commands printed the VM is told to stop after 765s (gstack-pregate --timeout 900s minus 120 s teardown reserve and 15 s margin), the VM name and down line, then PREGATE_REMOTE: tree=a7c1342ee7bf… tests=17 failed=0 spent=0.03 and pregate.json/remote_gate … cleared by remote-gate tree=a7c1342ee7bf tests=17. gstack-pregate verify then no longer lists pregate.json/remote_gate; it refuses only on the separate windows-free-tests.yml/windows-free-shard obligation, which needs a Windows run URL (PREGATE_REMOTE_UNCLEARED … windows-free-tests.yml/windows-free-shard).

Gate edits

file old vs new acceptance negative control
test/fixtures/shard-cli-parity/results.json recorded free-lane defaults gain filesFrom: null (11 objects); flags, defaults and errors for every existing argv unchanged the parity test still fails on any other drift
test/gstack-next-version.test.ts two wall-time bounds marked gstack-timing-ok (the 2 s concurrency contract; a killed fetch under 5 s) the old serial binary takes 4,160 ms for 8 PRs

Behavior changes

  • Once on main, every sub-8-core gstack-pregate --stage tests records the local tier as requires-remote pregate.json/remote_gate instead of running it. Lanes clear it with gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commands (same command with or without a key). Keyless is practical for small selections only: 98 files took 103 s on 4 cores (one failure from missing local Playwright Chromium), GSTA-35's 798 files 3,550 s. GStack Minder adds the crew rule when this merges.
  • gstack-restamp --next (claim-at-open) reports claims: incomplete (…the VERSION claims of PR #N are unknown, so X is provisional and may collide; rerun, then ask the coordinator before stamping…) instead of read when next-version returns complete: false. It warns rather than refuses, matching the existing unverified fallback.
  • The remote gate's deadline walk counts only a process whose program (or interpreted script) is gstack-pregate, so a shell line that merely mentions pregate cannot impose a false 600 s deadline.
  • test-free-shards.ts gains --files-from.
  • gstack-next-version fetches in parallel, sorts output by PR number, adds unknown_claims and complete, and shows the fork/path hint only for 404s.

Validation

On 8fa3e0d: test/ubicloud-pregate-remote.test.ts 17 pass (real script against a stub ubi-runner: bare run, tree mismatch before/after, zero tests, failures, paid partition, reason codes, cap refusal with no VM, create/setup failure, quota retry, process-group SIGKILL, TERM mid-run under an outer deadline, an outer deadline shorter than the wall via PREGATE_TIMEOUT_S and via a parent gstack-pregate --timeout, a too-short deadline refusing before any VM, and an edit to the script mid-run; that last one fails without the braced block). 11 focused files 137 pass with next-version, files-from, shard-cli-parity, heredoc, free-fixtures, spawnsync tripwire, module-size ratchet, ubicloud-runner, pregate-remote and census-red-docs. typecheck clean; typecheck:test 831 known, none new; pregate preflight warn only. Not verified: the stop deadline firing on a real VM (stub only).

On 72443fb (main 77d125e merged): restamp claim-at-open test (real gstack-restamp --next with a gh shim answering one PR and 502 for another; fails on the old code) and the deadline-walk regression (fails on the loose match); 15 focused files 177 pass. PR gate run 39083793205 GREEN (rule 108/108, judge 24/24; $92.36 known). Earlier gates 39066860900 (3e14ca1, ship-exploratory-late-input) and 39067885089 (8fa3e0d, autoplan-guard-pty and ship-exploratory-plan-checks) were red on causes #3260 repaired. bun run test on Ubicloud: 29,072 pass, 0 fail.

Open in Capy

garrytan and others added 4 commits October 17, 2026 19:40
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… remote gate (keyed Ubicloud VM, keyless local shards)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… is an unknown claim

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…te row

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS

[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 108/108 · behavior 0/0 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 9m18s · cost $93.14 known + 54 of 132 trial(s) cost unknown

121 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $93.14 rule/judge cost | reconcile exit: 0

Profile: pr / mode dependents; selected behaviors: 108, judges: 24. Deferred to scheduled/release coverage: 138 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Derived dependents (scripts/pr-dependencies.ts):

  • bin/gstack-next-version: 246 case(s), 24 judge(s)
  • lib/restamp.ts: 246 case(s), 24 judge(s)
Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
e2e/skill-e2e-workflow 4/4 0 4 0 ✅ $3.28
e2e-deploy/skill-e2e-deploy--land-and-deploy-workflow 1/1 0 1 0 ✅ $1.53
e2e-safety-codex-consult/skill-e2e-safety-codex-consult 1/1 0 1 0 ✅ $1
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-before 1/1 0 1 0 ✅ $0.98
e2e-review-attribution/skill-e2e-review-attribution 3/3 0 3 0 ✅ $0.97
e2e/skill-e2e-shared-libs--shared-libs-review-lifecycle 1/1 0 1 0 ✅ $2.44
e2e-qa-workflow/skill-e2e-qa-workflow--qa-quick 1/1 0 1 0 ✅ $1.45
e2e/skill-e2e-shared-libs-paths--shared-libs-review-prior-coverage 1/1 0 1 0 ✅ $2.68
e2e/skill-e2e-ship-skip 1/1 0 1 0 ✅ $0.64
e2e-qa-callers/skill-e2e-qa-callers--review-exploratory-small-cli 1/1 0 1 0 ✅ $2.09
e2e/skill-e2e-test-value 3/3 0 3 0 ✅ $2.61
e2e-qa-workflow/skill-e2e-qa-workflow--qa-only-no-fix 1/1 0 1 0 ✅ $1.63
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-plan-checks 1/1 0 1 0 ✅ $1.86
e2e/skill-e2e-shared-libs--shared-libs-review-revalidation 1/1 0 1 0 ✅ $4.96
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-recovery 1/1 0 1 0 ✅ $0.98
e2e-review/skill-e2e-review 2/2 0 2 0 ✅ $1.07
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-failure 1/1 0 1 0 ✅ $2.14
e2e-skillify/skill-e2e-skillify 3/3 0 3 0 ✅ $2.66
e2e/skill-e2e-shared-libs-paths--shared-libs-review-path-eligibility 1/1 0 1 0 ✅ $4.07
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-current 1/1 0 1 0 ✅ $3.27
llm-judge/skill-llm-eval 24/24 0 24 0 ✅ $1.44
e2e/skill-e2e-coverage-audit 2/2 0 2 0 ✅ $0.71
e2e-deploy/skill-e2e-deploy--setup-deploy-workflow 1/1 0 1 0 ✅ $0.54
e2e-review-army/skill-e2e-review-army--review-army-perf-n-plus-one 1/1 0 1 0 ✅ $1.16
e2e/skill-e2e-shared-libs-paths--shared-libs-review-index-flags 1/1 0 1 0 ✅ $2.4
e2e/skill-e2e-investigate-owned-completion 1/1 0 1 0 ✅ $0.2
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-late-result 1/1 0 1 0 ✅ $0.94
e2e-review-army/skill-e2e-review-army--review-army-json-findings 1/1 0 1 0 ✅ $0.23
e2e-deploy/skill-e2e-deploy--benchmark-workflow 1/1 0 1 0 ✅ $0.57
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-small-cli 1/1 0 1 0 ✅ $2.09
e2e-learnings/skill-e2e-learnings 1/1 0 1 0 ✅ $0.37
e2e-deploy/skill-e2e-deploy--land-and-deploy-review-gate 1/1 0 1 0 ✅ $1.55
e2e-review-army/skill-e2e-review-army--review-army-migration-safety 1/1 0 1 0 ✅ $1.34
e2e/skill-e2e-shared-libs--shared-libs-read-only 1/1 0 1 0 ✅ $0.67
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-after 1/1 0 1 0 ✅ $0.95
e2e-deploy/skill-e2e-deploy--land-and-deploy-first-run 1/1 0 1 0 ✅ $1.06
e2e-docsync-spawned/skill-e2e-docsync-spawned 1/1 0 1 0 ✅ $1.34
e2e-qa-functional-fix/skill-e2e-qa-functional-fix 2/2 0 2 0 ✅ $2.78
e2e/skill-e2e-plan--plan-review-report 1/1 0 1 0 ✅ $1.1
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-unavailable 1/1 0 1 0 ✅ $2.05
e2e-retro/skill-e2e-retro 1/1 0 1 0 ✅ $1.18
e2e-qa-functional/skill-e2e-qa-functional 2/2 0 2 0 ✅ $2.61
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-late-input 1/1 0 1 0 ✅ $2.33
e2e-cso/skill-e2e-cso 1/1 0 1 0 ✅ $1.34
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-store 1/1 0 1 0 ✅ $3.46
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-completion 1/1 0 1 0 ✅ $3.23
e2e-design/skill-e2e-design--design-review-detector-shim-dom 1/1 0 1 0 ✅ $0.67
e2e/skill-e2e-shared-libs--shared-libs-unsupported-git 1/1 0 1 0 ✅ $0.55
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-asset 1/1 0 1 0 ✅ $1.37
e2e-review-army/skill-e2e-review-army--review-army-quality-score 1/1 0 1 0 ✅ $0.36
e2e-safety-ship-evidence/skill-e2e-safety-ship-evidence 1/1 0 1 0 ✅ $0.67
e2e-hermetic/skill-e2e-hermetic-canary 2/2 0 2 0 ✅ $0.02
e2e-design/skill-e2e-design--design-review-plugin-handoff 1/1 0 1 0 ✅ $0.52
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-marker 1/1 0 1 0 ✅ $0.58
e2e-browse/skill-e2e-bws 6/6 0 6 0 ✅ $0.9
e2e-third-party-actions/skill-e2e-third-party-actions 5/5 0 5 0 ✅ $1.23
e2e-plan-tune/skill-e2e-plan-tune 1/1 0 1 0 ✅ $0.51
e2e-session-intelligence/skill-e2e-session-intelligence 4/4 0 4 0 ✅ $0.76
e2e-safety-pair-agent/skill-e2e-safety-pair-agent 1/1 0 1 0 ✅ $0.32
e2e-design/skill-e2e-design--design-review-detector-shim 1/1 0 1 0 ✅ $0.37
e2e-qa-workflow/skill-e2e-qa-workflow--qa-bootstrap 1/1 0 1 0 ✅ $0.26
e2e-triage/skill-e2e-triage 1/1 0 1 0 ✅ $0.38
e2e/skill-e2e-ship-hook-consent 2/2 0 2 0 ✅ $0.68
e2e-review-army/skill-e2e-review-army--review-army-delivery-audit 1/1 0 1 0 ✅ $0.36
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-timeout-unsettled 1/1 0 1 0 ✅ $0.51
e2e/skill-e2e-ship-hook-refresh 1/1 0 1 0 ✅ $0.26
e2e/skill-e2e-investigate-owned-termination 2/2 0 2 0 ✅ $0.51
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-launch-failure 1/1 0 1 0 ✅ $0.51
e2e-deploy/skill-e2e-deploy--canary-workflow 1/1 0 1 0 ✅ $0.45
e2e-design/skill-e2e-design--plan-design-review-no-ui-scope 1/1 0 1 0 ✅ $0.44
Fail-closed reconciliation
ce 13  passed            102s  test/skill-e2e-design.test.ts#design-review-detector-shim-dom
  slice 13  passed             98s  test/skill-e2e-shared-libs.test.ts#shared-libs-unsupported-git
  slice 13  passed             78s  test/skill-e2e-office-hours-auto-mode.test.ts
  slice 13  passed             81s  test/skill-e2e-design.test.ts#design-review-plugin-handoff
  slice 13  passed             64s  test/skill-e2e-bws.test.ts
  slice 13  passed             64s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-missing-marker
  slice 13  passed             49s  test/skill-e2e-review-army.test.ts#review-army-quality-score
  slice 13  passed              5s  test/skill-e2e-hermetic-canary.test.ts
  slice 14  passed             83s  test/skill-e2e-third-party-actions.test.ts
  slice 14  passed             79s  test/skill-e2e-plan-tune.test.ts
  slice 14  passed             47s  test/skill-e2e-triage.test.ts
  slice 14  passed             64s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-timeout-unsettled
  slice 14  passed             48s  test/skill-e2e-ask-user-question-format-compliance.test.ts
  slice 14  passed             62s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-launch-failure
  slice 14  passed             51s  test/skill-e2e-session-intelligence.test.ts
  slice 14  passed             49s  test/skill-e2e-ship-hook-consent.test.ts
  slice 14  passed             42s  test/skill-e2e-investigate-owned-termination.test.ts
  slice 14  passed             43s  test/skill-e2e-design.test.ts#design-review-detector-shim
  slice 14  passed             55s  test/skill-e2e-deploy.test.ts#canary-workflow
  slice 14  passed             40s  test/skill-e2e-ship-hook-refresh.test.ts
  slice 14  passed             41s  test/skill-e2e-design.test.ts#plan-design-review-no-ui-scope
  slice 14  passed             38s  test/skill-e2e-review-army.test.ts#review-army-delivery-audit
  slice 14  passed             39s  test/skill-e2e-safety-pair-agent.test.ts
  slice 14  passed             45s  test/skill-e2e-qa-workflow.test.ts#qa-bootstrap
  slice 15  passed             33s  test/skill-e2e-learnings.test.ts
  slice 15  passed             22s  test/skill-e2e-diagram.test.ts
[test:paid] collector final outcomes: 121 executed, 0 reused; 121 passed, 0 failed, 0 manual accepted (unscored; no score-cache credit) (121 attempt records from 70 collectors; every record counts)
[test:paid] deselected testcases, zero credit (312):
[test:paid]    298  sibling case of a case shard (its own shard runs it)
[test:paid]      8  periodic-tier case (this lane runs gate)
[test:paid]      6  Bun hook placeholder of a skipped describe block (not a test)
[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 108/108 · behavior 0/0 · judge 24/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 9m18s · cost $93.14 known + 54 of 132 trial(s) cost unknown
[test:paid] exercised-path map (shadow, non-blocking): 5 MAP_GAP line(s) over 100 executed case(s) with recorded commands
  MAP_GAP document-release bin/gstack-banned-terms: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP review-army-migration-safety bin/gstack-approval-classes: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP review-gate-integrity bin/gstack-approval-classes: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP review-gate-integrity bin/gstack-banned-terms: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP review-gate-integrity bin/gstack-contributor-mode: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
[test:paid] report: every planned shard accounted and passed

Sliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry.

garrytan and others added 5 commits October 17, 2026 20:24
…ds reason codes and the keyless backend line

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…: false)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…red keyed/keyless timing

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
pregate kills the remote gate at --timeout with a 5 s grace, which could cut a
VM teardown short. pregate-remote.sh now reads the enclosing deadline
(PREGATE_TIMEOUT_S, else the gstack-pregate --timeout it runs under, else 600),
reserves 120 s for teardown plus 15 s margin, and tells the VM to stop at the
earlier of that point and the cap's wall; a deadline that leaves under 300 s
refuses before any VM (PREGATE_REMOTE_TIMEOUT_TOO_SHORT). It names the VM up
front and prints the exact ubi-runner.sh down line, and the body is one braced
block so an edit to the script mid-run cannot change what the run executes
(keyed run 5 died after teardown with '$2: unbound variable' for that reason).

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
gstack-next-version now returns complete: false with unknown_claims when a
PR's VERSION fetch timed out or failed. restamp's claim-at-open path took any
usable JSON as 'read'; it now says 'incomplete', names the unknown PRs and
calls the version provisional, the same warn-not-refuse stance as the
existing 'unverified' fallback.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan and others added 5 commits October 18, 2026 00:37
…adline

The ancestor walk matched any command line that mentioned gstack-pregate, so a
shell line running pregate beside the tests (bash -c '...; bin/gstack-pregate
...') gave the stub gate a 600 s deadline. It now matches only a process whose
program, or the script its interpreter runs, is gstack-pregate.

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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title feat(pregate): a remote gate for gstack's own pregate (Ubicloud or keyless local shards); concurrent next-version fetches v1.91.132.0 feat(pregate): a remote gate for gstack's own pregate (Ubicloud or keyless local shards); concurrent next-version fetches Oct 18, 2026
@capy-ai
capy-ai Bot merged commit a59734f into main Oct 18, 2026
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant