Repository navigation
Support machine/project-prefixed PACE archive snapshots - #415
Merged
tomvothecoder merged 2 commits intoOct 22, 2026
Merged
tomvothecoder merged 2 commits into
tomvothecoder merged 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Update operator and architecture documentation to describe the newly supported prefixed snapshots before approval.
1 open issue
What changed in this PR
This pull request adds support for timestamp-only and machine/project-prefixed PACE archive snapshots, including prefixes containing underscores, across archive discovery and API checkpoint validation.
Changes:
- Shares snapshot-name validation between API schemas and archive scanning.
- Extends discovery, pruning, references, case identity, and checkpoint handling.
- Adds regression coverage for valid and malformed snapshot names and persistence flows.
| File | Description |
|---|---|
backend/tests/features/ingestion/test_schemas.py |
Tests accepted and malformed snapshot-name formats. |
backend/tests/features/ingestion/test_archive_source_directories.py |
Covers prefixed snapshots in source mappings and checkpoint handling. |
backend/tests/features/ingestion/test_archive_discovery.py |
Verifies prefixed snapshot discovery, pruning, references, and deduplication. |
backend/tests/features/ingestion/test_api.py |
Verifies checkpoint persistence and range-filtered retrieval. |
backend/app/scripts/ingestion/archive_layout.py |
Reuses shared validation during archive directory enumeration. |
backend/app/features/ingestion/schemas.py |
Defines shared validation for timestamp-only and prefixed snapshots. |
Review effort: Lite
Collaborator
Author
Chrysalis archive full re-run to establish checkpointsStatus: In Progress |
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.

Description
Checklist
Validation
--noconftestwith dummy test settings; database-backed API tests remain unverified.make backend-testblocked by missing.envs/local/backend.env.make pre-commit-runpassed backend hooks; frontend hooks failed becausepnpmis unavailable.Deployment Notes (if any)
Deploy updated API validation and the on-site ingestion checkout before running Chrysalis archive ingestion in apply mode. Verify settled snapshot checkpoints are recorded. No database migration required.
Remaining risks: database-backed API persistence and live Chrysalis checkpoint recording still require validation.