Repository navigation
fix(tests): expect the path reason for a FIFO root and a symlinked ZIP - #14242
Merged
Merged
Conversation
#14225 moved both refusals to ArtifactReaderFailure("path") at their producers (StableRootArtifact and the ZIP source admission). The two tests still expected "format" and fail on main.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
[Low impact] This PR appears safe to merge; both test changes match the existing rejection behavior. SummaryUpdates two tests to expect
Reviews (1) · Last reviewed commit: "fix(tests): expect the path reason for a..." · Reviewed by Greptile |
3 tasks done
Plastic-time
added a commit
to Plastic-time/rea
that referenced
this pull request
Nov 24, 2026
No conflicts. Brings in the main fix for the DirectoryArtifactReader non-file test (morluto#14242) that failed CI on the previous merge base.
20 of 29 tasks
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.
#14225 moved two path-kind refusals to
ArtifactReaderFailure("path")at their producers, but their tests still expect"format"and fail onmain:tests/boundary/filesystem/artifactInventoryRegularRoot.test.ts("rejects a FIFO artifact root without waiting for a writer"):openRootArtifactinsrc/resources/StableRootArtifact.tsmapsNonRegularFileReadErrortopath.tests/process-global/regularFileNoFollowFallback.test.ts: the ZIP source admission refuses a symlink opened without following aspath.Same root cause as #14238 (stale expectations after #14225). Both refusals are the caller's selection, so
path(and theinvalid_requestprojection) is correct; the producers are unchanged.These are the "path-kind siblings" listed in #14225's follow-ups and #14239. Under #14239's model they are
selectionfailures; the phase 2 work there will assert that kind directly.Validation
npx vitest runon both files: 12 passed (both failed onmainbefore the change).