Skip to content

Run Windows Setup E2E when the shell lock helper changes - #4433

Merged
capy-ai[bot] merged 1 commit into
mainfrom
capy/windows-setup-e2e-watches-gstack-lock
Nov 17, 2026
Merged

capy-ai[bot] merged 1 commit into
mainfrom
capy/windows-setup-e2e-watches-gstack-lock

Conversation

@garrytan

@garrytan garrytan commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Run Windows Setup E2E when the shell lock helper changes, so a pull request that touches only bin/gstack-lock.sh no longer skips the Windows install check. This serves the goal of keeping the install working on every supported platform.

What changed

bin/gstack-lock.sh is now named in two lists in .github/workflows/windows-setup-e2e.yml: the pull_request paths filter and the windows-scope job's list. A changelog fragment is added. Both edits are one added line each, shown here as text because the change has no visible surface:

       - 'bin/gstack-state-root.sh'
+      - 'bin/gstack-lock.sh'
       - 'bin/gstack-skill-name.sh'

Why

./setup sources bin/gstack-lock.sh on every install since #4262, but the workflow did not list it, so a change to only that helper skipped the Windows install check. The review of #4262 (p1/red-team#3) noted the gap. Now the Windows install check runs when the helper changes.

Summary

  • Adds bin/gstack-lock.sh to the pull_request.paths filter and to the windows-scope list.
  • test/windows-path-scope-workflow.test.ts requires the two lists to match, and it passes (15 pass, 0 fail).

Blast radius

The only effect is one more path that triggers an existing Windows job, and no code, permission, secret or network surface changes. Evidence: ran bun test test/windows-path-scope-workflow.test.ts (15 pass, 0 fail) and read setup line 346, which sources the helper and exits if it is missing.

Test Coverage

All new code paths have test coverage: no runtime file changed, so the coverage audit was skipped, and the existing pin test covers the two lists.
Tests ran: windows-path-scope 15
Tests ran: tests 1678 (carried from CI run 44052523403/1)

Pre-Landing Review

No issues found.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen dispatches=2 est_input_tokens=2696
Gate edits: none detected (2 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: completed, clean (second-model review by openai/gpt-6.1-sol, VERDICT: CLEAN).

Exploratory QA

Smoke on the pin test and a count of the two entries in the workflow: pass (2 captures). Limit: no YAML library on the review machine, so YAML validity rests on the pin test, which parses the file, and on CI's actionlint.

Design Review

No frontend files changed — design review skipped.

Eval Results

No prompt-related files changed — evals skipped.

Review bot comments

No review bot comments.

TODOS

No TODO items completed in this PR.

Documentation

Status: current. The documentation is accurate for this change, and no edits were needed.

Scope: one commit (bcece3f..8fc83f1) that adds bin/gstack-lock.sh to the path filter and the windows-scope list in .github/workflows/windows-setup-e2e.yml, plus one changelog.d fragment. There were no staged, unstaged or new files. I searched every Markdown file and template for references to the workflow and to the lock helper.

Documentation health:

  • docs/TESTING_INTERNALS.md: Current. It describes the Windows Setup E2E filters only in general terms.
  • docs/pregate.md: Current. It names the check without listing paths.
  • docs/capy-install.md, docs/troubleshooting.md, USING_GBRAIN_WITH_GSTACK.md: Current. Their lock-helper descriptions are unaffected by this change.
  • changelog.d/capy-windows-setup-e2e-watches-gstack-lock.md: Current. It is accurate against the diff.

Coverage debt: none. The change is a CI path-filter change with no new public surface.

Diagram drift: none.

Test plan

  • bun test test/windows-path-scope-workflow.test.ts: 15 pass, 0 fail
  • CI free-tests carried at this tree: tests=37390 from run 44052523403/1

🤖 Generated with Claude Code

Open in Capy

Agent notes

Approvals

No approvals recorded for branch capy/windows-setup-e2e-watches-gstack-lock.
Plan: exempt: bug fix
Plan check: exempt bug fix

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen dispatches=2 est_input_tokens=2696
Gate edits: none detected (2 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

{
  "schema_version": 1,
  "pr": 4433,
  "head": "8fc83f175522e28fcb96e665d7ccc162b08566ae",
  "version": "1.99.5.0",
  "base": "main",
  "gate": {
    "windows-path-scope": {
      "pass": 15,
      "fail": 0,
      "skip": 0
    },
    "tests": {
      "pass": 1678,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "tests",
      "run": 44052523403,
      "attempt": 1,
      "tree": "4d855bf013e2e76fcfab8ec0876fa5822e71582d"
    }
  ],
  "session_kind": "unattended",
  "run": "ship-4433",
  "head_tree": "4d855bf013e2e76fcfab8ec0876fa5822e71582d",
  "product_patch_id": "5e13da110251927f7a8c870e21224b3c8f1fcd85",
  "gstack_version": "1.99.5.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 2,
    "rules": "66e5174161eecc2c",
    "base": "bcece3fbcdf0e84e029caac5d04524af3ff6ba41",
    "registry": "bcece3fbcdf0e84e029caac5d04524af3ff6ba41",
    "gate_scan": {
      "tagged": 0,
      "head": "8fc83f175522e28fcb96e665d7ccc162b08566ae"
    },
    "reasons": [
      "gate-class",
      "runtime=2"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "pass @4d855bf013e2 (8 checks, current for 8fc83f175522)",
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/ plus top-level docs; workflow path-filter change, no doc lists the paths"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "est_input_tokens": 2696,
    "dispatches": {
      "specialist-batched": 1,
      "red-team": 1
    }
  },
  "gate_dispositions": []
}

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

trunk-io Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai
capy-ai Bot merged commit dc36681 into main Nov 17, 2026
57 of 58 checks passed
@garrytan garrytan mentioned this pull request Nov 17, 2026
capy-ai Bot added a commit that referenced this pull request Nov 17, 2026
- /autoplan's approval page no longer hides a reviewer's product objection behind "keep your direction". (#4431)
- Every skill that loads the shared preamble, on every host, now says to ask a question once and to check a file before handing it over. (#4383)
- The Captain manuals now name the `Failed or skipped:` and `Also changed:` lines that READY and lane reports carry. (#4432)
- gstack's shell locks hold again on Ubuntu 26.04, where `mkdir` reports success when another process won the race (GST-2247). (#4262)
- `test/gstack-lock-race.test.ts` runs the old pattern and the helper against a PATH shim that behaves like uutils 0.8.0 `mkdir`, so it runs on any runner image: the old pattern lets two of four racers win, the helper admits exactly one in each of 60 races and never overlaps across take, hold and release loops, and parallel `gstack-config` writers keep every key. (#4262)
- Windows Setup E2E now runs when `bin/gstack-lock.sh` changes. (#4433)
- Claude Code's skill list now says when to use each gstack skill, so Opus loads /review and /plan-eng-review when a request fits. (#4387)
- A pull request's merge head can no longer keep its `/ship` receipt without a full review. (#4365)
- `/ship` now counts review rounds per pull request, and the head that merges always gets a full review. (#4360)
- /ship's documentation audit no longer accepts a passing result when an earlier line from the same audit said "blocked". (#4434)
- /ship's documentation audit no longer spends an attempt when the audit child writes text after its result. (#4285)
- The README lists the two new guides, and the install doc counts its hooks right. (#4403)
- docs/releases.md now says the stable release cut treats a failed commit status as red and a pending one as still going, as it has since #4257. (#4436)
- /ship's `finish --docs-requested` now accepts a docs fix when the audit named the file with a line number. (#4437)
- Document the `.gstack/approval-classes.json` schema, `gstack-approval-classes` CLI commands, and owner approval citation format in `docs/ship-policy.md#approval-classes`. (#4355)
- `/eval-plan` now runs four result checks instead of leaving them to judgment. (#4384)
- The /review coverage-audit eval no longer fails a run that really read the source file when zsh stops a command line at an `echo ====` separator. (#4364)
- Sixteen in-repo documentation links reach their section again. (#4394)
- gstack agents now open every status report with what failed, what they didn't verify and what else they changed. (#4273)
- Two new short guides. (#4380)
- A skill you wrote whose contract still lists `check_after_last_edit` keeps the rest of its contract. (#4439)
- The ship policy guide now explains how to merge any pull request with `gstack-ship-queue land`, even in a repository with one maintainer. (#4377)
- /ship's test step runs a large unit suite on Linux. (#4426)
- Every skill that loads the shared preamble, on every host, now says never to print a whole environment, git config or process table. (#4382)
- Pull requests from /ship now open with at most three plain lines, and every merge lands as one commit titled with the PR title. (#4438)
- `gstack-pr-wait`, `gstack-ci-gate` and the release cut no longer call a commit green while a check on it failed. (#4257)
- `gstack-runaway` now says what a thread's cold and empty wakes cost, not just how many there were (GST-2770). (#4385)
- The optional Stop hook no longer checks for a test run after the last edit, and /verify asks for it in plain words instead. (#4428)
- /ship's test step says when it ran out of time, and you can set its budget. (#4429)
- The remote test command no longer puts every file on one command line. (#4429)
- The stable release no longer waits on the nightly Windows tests (GST-2815). (#4400)
- Ubicloud fan-outs can no longer overshoot the vCPU limit, and owners no longer delete each other's VMs. (#4430)
- hono is pinned to 4.13.16, which fixes five advisories the weekly OSV scan found in 4.13.13 (gstack#4406). (#4408)
- `package.json` overrides (#4408)
- `test/dependency-security.test.ts`: the lockfile floor check now covers `hono >= 4.13.16`. (#4408)
- The nightly Windows test run finishes again. (#4409)
- A short write-up checklist in ETHOS.md. (#4381)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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