Repository navigation
Keep the source archive's path out of stored archive-unavailable errors - #25
Merged
Merged
Conversation
A reference-mode row whose zip cannot be read is recorded with a "source archive unavailable" error, and the ArchiveUnavailable message named the zip where the case had recorded it, on the examiner's machine, with the OSError text repeating it. That column reaches the reports and exports. The messages now end with the path after a colon, so the CLI and the gallery still say where the zip was, and the two pipeline sites that store the message pass it through imaging.scrub_local_paths with the source record's path, which leaves the reason and drops the location. The member name is evidence-relative and stays. A new test in test_archive_reference.py moves the zip after ingest, processes, and asserts each stored error keeps its prefix and carries neither the temp root nor the case folder; it covers the per-file site and the video batch site. Co-Authored-By: Claude Fable 5.1 <[email protected]>
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 source archive's location out of stored "source archive unavailable" errors.
When a reference-mode row's zip cannot be read, the stored error named the zip where the case had recorded it, and the OSError text repeated it. That column reaches the reports and exports.
🤖 Generated with Claude Code