Repository navigation
feat(core): implement Phase 6.5 schema snapshots and deterministic fingerprints - #53
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. Finishing Touches
Comment |
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
Phase 6.5 delivers the Schema Snapshot & Deterministic Fingerprints Subsystem (
dera.reverse_engineering.snapshots) for the DERA Database Engineering Platform.Building upon Phase 5.5 Canonical Metadata & ObjectIds, Phase 6.1 Canonical Schema Representation, Phase 6.2 Structural Reconstruction, Phase 6.3 Relationship Graphs, and Phase 6.4 Dependency Analysis, this milestone provides:
SchemaSnapshot).DERA:SCHEMA:STRUCTURAL:V1).snap_<hex32>) independent of structural digests.verify_snapshot_integrity).Change Type
feat)fix)docs)refactor)perf)test)ci,build)security)!)Related Issues
Closes #51
Implementation Details
1. Base Commit SHA
5b665c86cae22f05505dabc17bd6d8fd1c14b5912. Architecture & Pipeline
3. Canonicalization & Fingerprinting
,,:), UTC 'Z' timestamps, and rejection of non-finite numbers.empty_db:5a341218a5a6965a5c1c4e03720510e0d67d558e56abbb69528634b91017d8df(349 bytes)single_tbl_db:0f37c68ee6534cb98f678e6bb57331ed09b898419546a06b25d2113804f12680(1668 bytes)composite_db:e63982b1804665c416a0b71d6d129bd97b222ec70eedc616dabef0640a739eb9(3211 bytes)unicode_db:d70235206edeebcfc5fb2566ae09162eb9c897d3c9c98ec10e87cbe399246de4(1463 bytes)Testing
python scripts/development/dev.py allortest)Test evidence & notes:
pytest tests/reverse_engineering/phase_6_5: 58 passed in 1.25spytest tests/reverse_engineering/: 264 passed in 2.47spython -m unittest discover tests/reverse_engineering/: 154 passed in 0.83sDocumentation Impact
docs/updated or verified where requirednpm run docs:check)17 dedicated documentation and audit artifacts created under
docs/reverse-engineering/anddocs/audit/.Security Impact & Deterministic Engineering
.envsecrets are committed.Breaking Changes
Contributor Checklist