Skip to content

ci(free): run the BSD-userland ubi-runner regression on a real Mac (#3680) - #3833

Closed
garrytan wants to merge 2 commits into
mainfrom
gsta203-macos-bsd-userland
Closed

garrytan wants to merge 2 commits into
mainfrom
gsta203-macos-bsd-userland

Conversation

@garrytan

@garrytan garrytan commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3833,
  "head": "234b6d37ee225e237f6bed35e288ddff771f8cd0",
  "version": "1.92.52.0",
  "base": "main",
  "gate": {
    "focused": {
      "pass": 39,
      "fail": 0,
      "skip": 2
    }
  },
  "session_kind": "unattended",
  "head_tree": "6953e8d5ec856f6a3ae9b9840e2ba50c93bed3e4",
  "product_patch_id": "a4f0c0592e5832c706c26a5dc36a62a7650a21ff",
  "gstack_version": "1.92.52.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 5,
    "rules": "97c1e5fe49607f73",
    "base": "dac71371a29256835c2f436b734c8ff9e1d26674",
    "registry": "dac71371a29256835c2f436b734c8ff9e1d26674",
    "gate_scan": {
      "tagged": 0,
      "head": "234b6d37ee225e237f6bed35e288ddff771f8cd0"
    },
    "reasons": [
      "gate-class",
      "runtime=5"
    ],
    "risk": []
  },
  "pregate": "requires-remote cleared @6953e8d5ec85 (1 checks, current for 234b6d37ee22)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/41382357486/job/125075700929",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41382357486/job/125075700755",
    "free-tests.yml/cso-windows-launcher: https://github.com/garrytan/gstack/actions/runs/41382357486/job/125075700728",
    "pregate.json/remote_gate: remote-gate tree=6953e8d5ec85 tests=1036"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      3680
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, CONTRIBUTING.md, AGENTS.md, CLAUDE.md against dac71371..2538cc30"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "dispatches": {
      "specialist": 1
    }
  }
}

What changed

macos-named-regressions now runs the #3680/#3679 BSD-userland regression file on a real Mac

macos-named-regressions now runs the #3680/#3679 BSD-userland regression file on a real Mac.

Before/after as text: macos-named-regressions now runs the #3680/#3679 BSD-userland regression file on a real Mac
--- Before · before.txt · captured output
+++ After · after.txt · captured output
   # code that compares a realpath with an unresolved path passes on Linux's
   # /tmp and fails here (#2982). TMPDIR is deliberately left at the runner's
   # default, and the job fails if that layout is not symlinked. It also sources
+  # the Codex probe from zsh, macOS's default shell (#3024; no paid call), and
+  # runs ubi-runner under macOS's bsdtar and one-true-awk (#3680, #3679).
-  # the Codex probe from zsh, macOS's default shell (#3024; no paid call).
   macos-named-regressions:
 files=(test/gstack-design-detect.test.ts
 browse/test/chromium-profile-isolation.test.ts
@@ ⋯ 4 unchanged ⋯ @@
 test/regression-issue3024-zsh-sourced-helpers.test.ts
 test/codex-probe-subcommands.test.ts
 browse/test/proxy-env-daemon.test.ts
+browse/test/proxy-direct-launch-args.test.ts
+test/regression-issue3680-ubicloud-bsd-userland.test.ts)
-browse/test/proxy-direct-launch-args.test.ts)

Why

The #3680 bsdtar and #3679 awk regressions from #3746 merged with green CI, because their test file only ran on Linux, where bsdtar and one-true-awk aren't installed and every case skips. The macOS job now runs that file against /usr/bin/tar and /usr/bin/awk, so a repeat of either bug fails a pull request instead of shipping.

Failing first

error: expect(received).toContain(expected) Expected to contain: "test/regression-issue3680-ubicloud-bsd-userland.test.ts" … (fail) CI runs these cases on the BSD userland itself > free-tests.yml macos-named-regressions names this file — 0 pass 2 skip 1 fail

Blast radius

Only the macos-named-regressions job changes. It runs one more test file, which added three passing cases and about two seconds on the first CI run (Free Tests run 41382357486, job 125075700755: 409 pass, 5 skip, 0 fail across 11 files). The Linux free suite already ran this file and is unchanged. Security read: this edits .github/workflows/free-tests.yml, but only the test-file list and a comment; no new network calls, secrets, permissions or dependencies.

Approvals

No approvals recorded for branch gsta203-macos-bsd-userland.

Summary

Linux CI skipped every case in test/regression-issue3680-ubicloud-bsd-userland.test.ts, so the two macOS userland bugs it guards could come back without a red check. The file now runs on the macOS runner, and a wiring test in the same file fails if the job stops naming it.

Test Coverage

The new wiring test covers the change. On the macOS runner all three cases in the file passed (none skipped): pack under bsdtar (#3680), usage and quota preflight under one-true-awk (#3679), and the wiring check.
Tests ran: focused 39

Pre-Landing Review

No issues found.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen dispatches=1
Gate edits: none detected (3 listed, 2 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: skipped by the Captain's brief and R51 (one reviewer, one round for a two-line CI wiring change plus one test); listed as missing coverage, not as passed. Red Team, native adversarial and targeted gate readers were also not run for the same reason.

Exploratory QA

No exploratory QA surface: CI wiring only.

Design Review

No frontend files changed — design review skipped.

Eval Results

No prompt-related files changed — evals skipped.

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). Fix: add "Plan: " to the PR body, or run /autoplan.

Issues

Refs #3680
Refs #3679

TODOS

No TODO items completed in this PR.

Documentation

Status: current. The docs already match this change, so nothing needed editing.

Scope: base dac7137 to head 2538cc3 (one commit), plus the untracked changelog fragment. Changed files: .github/workflows/free-tests.yml (the macOS macos-named-regressions job now runs test/regression-issue3680-ubicloud-bsd-userland.test.ts), that test file (new wiring test), and changelog.d/gsta203-macos-bsd-userland.md. Nothing was staged or unstaged.

Documentation health

  • .github/workflows/free-tests.yml job comment: Current (updated in the diff to mention bsdtar and one-true-awk)
  • changelog.d/gsta203-macos-bsd-userland.md: Current
  • docs/pregate.md: Current (names the job only)
  • README.md, AGENTS.md, CONTRIBUTING.md, docs/TESTING_INTERNALS.md, docs/support-tiers.md: Not affected (none lists the macOS job's file set)

Coverage debt: none new. This is CI wiring only and adds no public surface. No architecture diagrams are affected.

Test plan

  • bun test test/regression-issue3680-ubicloud-bsd-userland.test.ts test/regression-issue3024-zsh-sourced-helpers.test.ts test/free-tests-workflow-wiring.test.ts: 39 tests ran, exit 0
  • Remote pregate (Ubicloud, UBI_OWNER=gsta203): 1036 tests, 0 failed on tree 6953e8d5ec85, $0.04
  • macos-named-regressions (Free Tests run 41382357486): 409 pass, 5 skip, 0 fail; the three ubicloud: pack (and so sync/run) fails on macOS bsdtar #3680 file cases passed

🤖 Generated with Claude Code

garrytan and others added 2 commits November 2, 2026 03:07
…regressions

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

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

trunk-io Bot commented Nov 2, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@capy-ai

capy-ai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Frozen in wave github-99ae73c79d3c (branch wave/github-99ae73c79d3c) at 234b6d3. Push nothing here: a moved head drops this PR from the wave. Fixes go on the wave branch through its integrator.

@garrytan garrytan mentioned this pull request Nov 2, 2026
4 of 5 tasks
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

capy-ai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Landed in wave #3846 as v1.92.77.0 (4bbad24), merged from this PR's pin 234b6d3. Integrator changes touching this PR's files: none.

@capy-ai capy-ai Bot closed this Nov 2, 2026
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