Repository navigation
os/v3/puppy/patch-sfs: an addition under a new directory below the root is part of the declared set (engine#3287) - #3315
Merged
Conversation
…ot is part of the declared set (engine#3287) diff -rq reports a file added under a new directory as 'Only in <tree>/new/<parent>: <newdir>'. only_in_path resolved that record only when the new directory sat at the tree root, so a manifest adding usr/local/sbin/1bit-grow-data (usr/local exists, sbin does not) was refused with '53 path(s) differ and these are outside the declared set: Only in .../new/usr/local: sbin' - measured on a cut of engine main against the v2026.47 base. The record now resolves to usr/local/sbin, an ancestor of the declared target, which matches_target already accepts. patch-sfs-selftest.sh case 2b adds exactly that shape (failed 2 rows before, 26/26 after, as root); tests/patch_sfs_atomic_test.sh 11/11. Co-Authored-By: Claude Opus 5.5 <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3287 (release tooling: the cut).
Problem.
diff -rqreports a file added under a new directory asOnly in <tree>/new/<parent>: <newdir>.only_in_pathinos/v3/puppy/patch-sfs.shresolved that record only when the new directory sat at the tree root, so a manifest that addsusr/local/sbin/1bit-grow-data(main'sos/v3/puppy/embed; the v2026.47 base hasusr/localbut nousr/local/sbin) is refused:Measured 2026-11-22 cutting engine main against the v2026.47 base on ryzen (the c35 cut predates
1bit-grow-data, so it never hit this).Fix. The record resolves to
usr/local/sbin, an ancestor of the declared target, whichmatches_targetalready accepts (the same rule as the root-level case from 2026-11-08). Onecaseline.Tests.
patch-sfs-selftest.shgains case 2b with exactly that shape (asserts the fixture has nousr/local/sbinfirst): before the fix 2 rows FAIL (rc 1, no output); after,selftest: 26 passed, 0 failed(as root, as the selftest requires).tests/patch_sfs_atomic_test.sh: 11 checks, 0 failed.scripts/pre-pr-checks.sh --base origin/main: 17 green, 3 skipped. Not a hardware change.🤖 Generated with Claude Code