Skip to content

Refresh this week's recorded test times so the free test suite splits its shards evenly - #4744

Merged
capy-ai[bot] merged 2 commits into
mainfrom
weekly-test-duration-seeds-2026-11-23
Nov 23, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
weekly-test-duration-seeds-2026-11-23

Conversation

@garrytan

@garrytan garrytan commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

This copies this week's recorded test durations into the free test suite's seed files, unchanged from the weekly recording.
The suite uses these times to split tests into evenly sized shards, and the recording bot's own pull request (#4736) cannot land on its own.
Nothing to do as a reader: data only, no code changes.

What changed

The weekly recording on 2026-11-22 measured how long each free test file takes, but those numbers sat in a bot pull request that cannot be merged as built, so the shard planner kept packing tests by last week's times. This pull request carries the same three data files, byte for byte, so the planner splits by current times again.

There is no visible surface to picture, because the change is three JSON data files.

Why

"Land this week's duration seed refresh." Stale durations make shards uneven, and three unmerged weekly refreshes once left the free suite red on three Mondays in a row.

Blast radius

Only the free test shard planner and the seed ratchet test read these files. The ratchet, fixture, shard and recording-workflow tests ran on this tree (122 pass, 0 fail), and CI passed every check at this head.

Documentation

Status: current. No documentation edits were needed.

Scope: Base 45b48f1 to head f2e32c1, plus the unstaged TODOS.md and the new changelog.d/weekly-test-duration-seeds-2026-11-23.md. Committed changes refresh scripts/free-test-durations.json and scripts/free-test-durations-windows.json from the 2026-11-22 recording, and drop 8 files that now run under 60 s from scripts/free-test-seed-allowlist.json.

Documentation health:

  • docs/TESTING_INTERNALS.md: current. The seed, allowlist ratchet and Windows seed sections still match.
  • CONTRIBUTING.md: current. The Windows seed refresh command is unchanged.
  • docs/pregate.md: current. Its seed totals are dated 2026-10-19 and still accurate as dated.
  • TODOS.md, changelog fragment: reviewed and consistent with the allowlist diff. These are parent-owned metadata.

Coverage debt: None. No public surface changed (data files only).

Diagram drift: None.

Pre-Landing Review

No issues found. One reviewer pass plus a red-team pass found nothing that blocks; the review ran at full depth only because the seed JSON matches a secret-risk path rule.

Review notes

Three low notes from the adversarial reader, none blocking:

  1. Five of the eight files leaving the allowlist record 56 to 58 seconds, close enough to the 60-second ceiling that next week's recording may put some back on it; the recorder's reconcile step handles that.
  2. Two Linux test files have no recorded duration (test/cso-recall.test.ts, test/ship-refusal-code-ratchet.test.ts), under the warn-only limit of five.
  3. The Windows seed has no 60-second ceiling, by design; its total rose from 5771 s to 6212 s.

Second-model review: no findings.

Eval Results

No prompt-related files changed — evals skipped.

Issues

Refs #4736

TODOS

No TODO items completed in this PR. The "Split the free files the weekly seed puts over 60 s" item now lists two files instead of three.

Tests
  • bun test test/free-seed-ratchet.test.ts test/free-fixtures.test.ts test/test-free-shards.test.ts test/free-durations-record-workflow.test.ts: 122 pass, 0 fail
  • CI free tests run 45195996546 at this head: every check green
Agent notes

Rebuilt from #4736 (github-actions bot) for GStack Minder (GSTA-36), thread GSTA-824. Refs #4736

Approvals

No approvals recorded for branch weekly-test-duration-seeds-2026-11-23.
Plan: exempt: flaky

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=3 fixed=0 scope=frozen ledgers_read=2 dispatches=3

{
  "schema_version": 1,
  "pr": 4744,
  "head": "229a3037bbaa70cd6c2f9ab7c74042b019778e6a",
  "version": "1.103.0.0",
  "base": "main",
  "gate": {
    "seeds": {
      "pass": 122,
      "fail": 0,
      "skip": 0
    }
  },
  "calls": 29,
  "session_kind": "unattended",
  "run": "/home/user/.capy/work/ship-4744b",
  "head_tree": "b888e848629ff83ed8e057aadaea172dc75f6151",
  "product_patch_id": "0b4a583f99575edaeaefe127f77a049b290edf77",
  "gstack_version": "1.103.0.0",
  "review_depth": {
    "depth": "full",
    "class": "code",
    "runtime_lines": 5293,
    "rules": "33831f8248a814fd",
    "base": "a3ecfd530df3c78c2d60e92b6488586a75e0ff91",
    "registry": "a3ecfd530df3c78c2d60e92b6488586a75e0ff91",
    "gate_scan": {
      "tagged": 0,
      "head": "229a3037bbaa70cd6c2f9ab7c74042b019778e6a"
    },
    "reasons": [
      "risk:secret",
      "runtime=5293"
    ],
    "risk": [
      "secret"
    ],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @b888e848629f (8 checks, current for 229a3037bbaa)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45195996546/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=b888e848629f tests=39239 skipped=89 runs=45195996546/1 profiles=ci-reuse/free-tests heads=229a3037bbaa base_moved=a3ecfd530df3 verified=2026-11-23T15:11:24.212Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      4736
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, AGENTS.md, CONTRIBUTING.md"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 3,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "ledgers_read": 3,
    "dispatches": {
      "specialist": 3
    }
  },
  "gate_dispositions": [],
  "review_targeted": {
    "classes": [
      "secret"
    ],
    "rules": "e01517eddd4b2350",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "0b4a583f99575edaeaefe127f77a049b290edf77",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}
{"head":"f2e32c1f738e4f2b5110b5f2aa668ea5e28ad18d","run":"ship-4744b","status":"started","review_loop":{"passes":1,"blocking_found":0,"deferred":0,"noted":0,"fixed":0,"scope":"frozen","rounds":1,"dispatches":{"specialist":3}}}

Copies the three seed files from the weekly recording bot's pull request #4736
(run 45110767670 on 261f380) onto current main, unchanged. No seed file moved
on main since that recording.

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

trunk-io Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit cb06a6d into main Nov 23, 2026
53 checks passed
@garrytan garrytan mentioned this pull request Nov 24, 2026
capy-ai Bot added a commit that referenced this pull request Nov 24, 2026
- `/ship` now tells you what to change when GitHub refuses a push for email privacy. (#4748)
- The release gate's /cso check accepts the low-confidence hypotheses /cso now reports. (#4753)
- /cso reports every security finding the code supports instead of dropping most of them. (#4739)
- /cso can search the whole repository in one call, and a daily report now lists its low-confidence hypotheses. (#4742)
- A first version's plan and try-it message now open with the owner's own words, and the build is tried the same way he will try it before he is asked. (#4759)
- A first version's public export now keeps out the owner's short quotes and his reasons to leave something out, and a phone first-use check installs a build the cloud phone can actually run. (#4772)
- Three intermittent test failures are fixed. (#4745)
- Free Tests runs its shards on 8-core runners again. (#4749)
- A land that waits on an earlier CI run now decides on what that run actually did. (#4763)
- Landing a PR no longer starts a new CI run when one for the same merged code is already running or has passed. (#4760)
- /ship no longer misses a file-mode change from main on files whose names start with `:`. (#4774)
- make-pdf keeps quotes in alt text, link titles and raw HTML attributes inside the attribute, so a Markdown file can no longer add an `onerror`, `onload` or `javascript:` link that runs in the print browser. (#4761)
- Posting a PR body that lists earlier /ship runs no longer stops for a phone number that isn't there. (#4747)
- A first version's public export now catches a short owner quote whose padding or quote marks are encoded. (#4778)
- A first version's public export now also keeps out a short owner quote written with spaces just inside its quote marks. (#4776)
- Posting a PR body that lists earlier /ship runs no longer stops for a card number that isn't there. (#4751)
- /ship no longer asks for an extra reader when you merge the base branch next to code that was already reviewed. (#4754)
- /ship no longer plans narrow re-checks after a fix. (#4741)
- /ship can't quietly gain new refusals. (#4740)
- `gstack-upgrade` no longer refuses to run after you disable skills. (#4743)
- The free test suite splits its shards from this week's recorded test times. (#4744)
- gstack now writes up a failed or shelved attempt before closing it. (#4735)

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