fix(release): accept Syft root directory evidence - #775
Merged
Conversation
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e39f4c7519
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
|
|
||
| def validate_image_path(value: Any, field: str) -> str: | ||
| def validate_image_path(value: Any, field: str, *, allow_root: bool = False) -> str: |
There was a problem hiding this comment.
The reviewed commit contains no Signed-off-by trailer, so it violates the repository's requirement that every commit use git commit -s and will be rejected by DCO enforcement. Recreate or squash this commit with a valid sign-off before merging.
AGENTS.md reference: AGENTS.md:L272-L275
Useful? React with 👍 / 👎.
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.
Summary
/only when parsing native Syft file evidence/in reviewed exposure-assertion pathsFailure reproduced
Release candidate run 31752330081 stopped safely because Syft 1.45.1 reports the actual image root as a directory at
/, while the checker classified/as non-normalized. Exact inspection of all three private candidate image digests found the same sole path-shape issue. No candidate bundle, tag, or public release was produced.Verification
python3 -m unittest release/scripts/test_check_advisory_baselines.py(45 passed, 1 platform skip)python3 -m unittest discover -s release/scripts -p "test_*.py"(360 passed, 1 platform skip)python3 release/scripts/check-gates-inventory.py(151 gates)actionlintgit diff --checkThe separate accepted-risk baseline rebind remains intentionally out of this PR and requires explicit security approval.