check:private reads a sha256 digest as a private 64-hex id, so main's own tree (the ci-images stand-in) is red on every forge range run #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (defect): check:private passes main's own tree again, so a range run on the forge is red only for what the range itself adds, by not reading a sha256 digest as a private 64-hex id.
Refs #1048
Class
Main's own tree holds values check:private refuses: the sha256 pins in the vendored ci-images stand-in. check:private has not completed a run on the forge since the move (its GitHub lookups answered 403, then the stop), so nobody saw it. Since
--rangealso reads the whole tree (src/check_nothing_private_gets_in/main.ts:25-28:[...treeSources(root), ...commitsOf(range)…]), every range run now inherits main's red, whatever the range adds.This is not a merge-reading defect. A two-parent merge is read with
--diff-merges=remergesince #933 (read_sources.ts:68-78), and none of the run's hits is a commit hit: every one is in the tree reader'spath:lineform.Instance
Batch 2 (#1048), range 7ab86751..6d085f3f, run 1383 "nothing private" (task 1095): 359 hits.
.github/workflows/ci-images-dependency-advisories.yml. The file is unchanged since base7ab86751, so main alone gives the same 348..github/actions/a_runner_user_with_sudo/action.yml:61,70, one home directory, and 9 shorthand repository refs inci-images-c4-model.yml.The forms of the 64-hex values in the stand-in at
7ab86751:--hash=sha256:<64 hex>(pip's hash pins)OSV_SCANNER_SHA256: '<64 hex>'(line 190) andCARGO_AUDIT_SHA256: '<64 hex>'(line 192), each checked later by asha256sum -cline that names the variable, not the valueThe action.yml pair is
printf '%s %s\n' '<64 hex>' "$dir/…" | sha256sum -c -.Fix (the Supervisor's ruling, 2026-11-22)
An existing check fixes its own finding: no owner ruling and no new check. check:private does not count a 64-hex value as an id when it is a digest, which means:
sha256:or@sha256:, orsha256sum -cline.Everywhere else a bare 64-hex value is still an id.
Open, for the Supervisor's word before the build: lines 190 and 192 are in neither ruled form. Each value is assigned to a
*_SHA256variable, and thesha256sum -cline names the variable. With the ruled forms alone these two hits stay, and main stays red. The choices are a third digest form (the value of a variable whose name ends in_SHA256) or a change upstream in macula-ci-images, re-copied byte for byte.Test
Red first, on exactly the ruled forms:
sha256:<hex>,--hash=sha256:<hex>,image@sha256:<hex>, and asha256sum -cline with the sum in it. Plus one case proving that a bare 64-hex value elsewhere is still caught. Guard code, so mutants apply.No test that fails by name on main until something is ruled: a red added to main on purpose would be noise and would count as a new check.
Who
The guard is built by an Opus member (Neptunus) and reviewed on fable. It lands in its own batch after batch 2.
State, 2026-11-23 06:55Z (Pluto, parked after the handoff).
The second re-copy is up as PR 91: head
a154d1aa, basec958278f, mergeable. Main has since moved toea64dfa6(PR 78,relay); those 43 files touch neither stand-in.
Both stand-ins are byte for byte with macula-ci-images main 476b5724. Each header names 476b5724 and its own check
line moves with it, and the line counts are unchanged, so
tail -n +17andtail -n +11still hold. The net changeover main is macula-ci-images d42d37e, "the c4 and advisories workflows name no private repository": 4/-5 on the
advisories stand-in, 8/-9 on the c4 one.
Proof on
a154d1aa: each stand-in's own check line prints nothing against macula-ci-images 476b5724, and actionlintexits 0 on both files.
Runs on
a154d1aa, all green, task ids 5070 to 5099: advisories run 2387 (three container variants skipped, as on PR56), c4-model run 2388, ci.yml run 2389, standalone run 2390. Two ci.yml jobs are skipped on the PR trigger by
design: gate coverage (task 4978) and nothing private (task 5092).
nothing privateis this issue's own check and it runs only on a push, so its proof is the main push after the merge.The digest forms it now accepts are in public_digest.ts, already on main.
Worktree martha-23-standin-recopy stays until the package closes. Pluto is parked; Juno takes any fix PR 91 needs after
review.
Terra: reading the forge job logs of tasks 5403 (nothing private, martha main
99fa996a, before PR 93) and 5453 (nothing private, main3bfa04c1, PR 93 landed) to compare their hit lines (PR 93 purpose proof; baseline for PR 62).State, 2026-11-23 16:20Z (Pluto): #23's purpose is met on main, and the proof is read.
PR 93 carried this tree to main (merge
3bfa04c1, 09:06Z). Main tip277f2773holds both stand-ins at macula-ci-images 476b5724:.github/workflows/ci-images-c4-model.yml:2and.github/workflows/ci-images-dependency-advisories.yml:2name 476b5724, and each file's own check line is unchanged. That tip's main push readsnothing privatesuccess (task 6231, ci.yml run 787), with the stand-ins in its tree.The red on PR 93's own main push (task 5453,
3bfa04c1) is not this tree: every main merge push that day readsnothing privatefailure (99fa996a,145d1c61,9f8d6451,c07c0650,caab7f52,611f48db,1840e66c), and the tip that lands #60 (277f2773) reads success.Cleanup: my worktree
martha-23-standin-recopyand the branchpluto/23-standin-recopy-476b5724are removed. PR 93's tree (c724f198) is the landed one; mya154d1aais superseded.Correction, 2026-11-23 16:30Z: the local worktree
martha-23-standin-recopyand the local branch are removed. The branch on the forge,pluto/23-standin-recopy-476b5724, still stands: its tipa154d1aais not on main, my session'sgit push origin --deletewas refused by its auto mode, andcrew_worktree_finishwill not take a branch the default branch does not hold. It needs a lander's delete (or an autoMode allow rule). Its commit message is the one PR 93 replaced, so that message in history is the only reason to want it gone.Also: the red
gate coverageon main277f2773is the documented known red off PRs until forge martha#7 (.github/workflows/ci.yml:161-163), not a new failure.