Repository navigation
Conversation
The two "source archive unavailable" messages in the pipeline stored the ArchiveUnavailable text as raised, and that text names the zip's absolute path, twice when the OSError inside it names it too. The column reaches the HTML, CSV and JSON reports. Both sites now pass the text through scrub_local_paths with the zip's recorded path and the case folder as known paths; the row's source column already names the zip. The archive messages put the path in a trailing parenthesis, and the scrub drops the empty brackets and the space before the punctuation a removed path leaves, so the stored text reads "source archive unavailable: cannot open the source archive: [Errno 2] No such file or directory". The console and the browser still see the path. Tests: a reference-mode run with the zip moved away, asserting no row's error names the case folder or the folder the zip was in, and a three-platform shape test through _process_one. All five failed on the previous code. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Owner
Author
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.
Keeps the examiner's paths out of the two
source archive unavailablemessages the pipeline stores, which reach the HTML, CSV and JSON reports.scrub_local_pathswith the zip's recorded path and the case folder as known paths. The row's source column already names the zip.cannot open the source archive: [Errno 2] No such file or directory. The console and the browser still see the path._process_one. All five failed on the previous code.🤖 Generated with Claude Code