Skip to content

train b60 integration gate (do not merge) - #500

Closed
roodboi wants to merge 5 commits into
nextfrom
train/b60
Closed

roodboi wants to merge 5 commits into
nextfrom
train/b60

Conversation

@roodboi

@roodboi roodboi commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Integration gate for merge batch b60: origin/next + #489 (HACK-1441). Tree 9682b21b. Closed after the batch squashes.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

roodboi and others added 5 commits October 24, 2026 02:02
…le CI test job docs

Since #442 the `test` job is only the required fan-in of the four
`test shard i/4` jobs. It runs no Bun, but `ci:bun-crash-census` still
read it by default and reported zero crashes without saying so, and
`workflowJobBunVersion(ci.yml, "test")` found the fan-in block, which
has no setup-bun.

- With no --job, the census reads every `test shard i/n` job of a run,
  or the `test` job of a run that has no shard job (a run from before
  the split, whose `test` job ran the suite).
- --job accepts `/` and a `*` pattern, so the documented
  `--job "test shard 1/4"` and `--job "test shard *"` work; before,
  both were refused as an invalid argument.
- The workflow lookup matches a job by its `name:` template, so
  `test shard 2/4` finds the `test-shard` matrix job's Bun pin.
- The report prints a closed `warning:` line (also on stderr, and in
  --json) when no job matched or a selected job shows no Bun setup in
  its log or workflow block.
- docs/security/env-secrets-threat-model.md and
  docs/reference/shared-host-lifecycle.md now say the tests run in a
  `test shard i/4` job and that `test` is the fan-in.

Refs HACK-1424

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d skip comment lines in jobs

The census resolved a job's Bun version from the workflow file at the run's
head commit through a cache keyed by (sha, job), so one commit cost one
contents GET per distinct job name. It now caches the decoded workflow text
per sha and keeps the per-(sha, job) version memo on top, with a comment on
why the key must not be sha alone.

workflowJobBunVersion ended the jobs scan at any column-0 line, so a
column-0 YAML comment inside jobs: hid every later job. Blank lines and
column-0 comments are now skipped; any other column-0 line still ends jobs.

Tests pin the (sha, job) key with a wildcard selector over the fan-in and
shards at one sha, count contents fetches across runs and concurrency, and
cover comment, blank, commented-out-job and later top-level-key lines.

Refs HACK-1441

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve the conflict with #476's squash (101d263) by keeping the PR side
of scripts/ci-bun-crash-census.ts and tests/ci-bun-crash-census.test.ts.
The #476 content is identical on both sides; only the HACK-1441 changes differ.

Refs HACK-1441

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@roodboi roodboi closed this Oct 24, 2026
@roodboi
roodboi deleted the train/b60 branch October 24, 2026 21:46
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