Repository navigation
feat(snapshot): replayable snapshot, version-gated replay, validation path matrix (#790) - #816
Merged
Merged
Conversation
…eplay-4a60e7 # Conflicts: # CHANGELOG.md # tests/report_consistency_tests.rs
…eplay-4a60e7 # Conflicts: # CHANGELOG.md
…eplay-4a60e7 # Conflicts: # CHANGELOG.md
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.
Teil von #790 (Issue bleibt offen, Abnahme in #792).
Umgesetzt
snapshot.jsonträgt den ganzen erhobenen Report (Module/Subchecks, Ausführungszustände,audit_scope.measurement_profile, Run-Kontext; ohne Screenshots), Dokument-/Redirect-Identität, Lauf-Sprache undversions(Snapshot-Schema, Fingerprint, Collection-Contract, Messprofil, Evaluation, Decision-Contract, Digest derSHARED_RULES).report.jsonentfällt für neue Einträge (eine Quelle).audit::replay/replay_reporterzeugen ohne Browser/Netz dasselbeNormalizedReportwie der frische Lauf (nurtimestamp,duration_ms,environment.source=replaydürfen abweichen);output::format_json_replayexportiert mitmodule_detail: full.ReplayError::{Incomplete, Incompatible, Contract}benennt Teile bzw. Feld/gespeichert/aktuell;load_artifactsliefert dafür Cache-Miss.CACHE_FMT24→25.tests/validation_path_matrix.rs– jeder fallible Export-Einstieg lehnt widersprüchliche Daten ab; CLI-Dispatcher und Cache-Hit-Pfad bleiben auf dem validierenden Weg; Ratchet für ungeprüftenormalize()-Aufrufe (tests/fixtures/architecture/unchecked_normalize.txt).OUTPUT_CONTRACT.md(Abschnitt Snapshot/Replay/Validation),ARCHITECTURE.md, Changelog.Weiter offen in #790
normalize,format_ai_json, Terminal-Renderer,finding_rows,StudioAuditResponse::from_normalized) existieren weiter; der 2.0-Migrationspfad (normalize_checked) ist dokumentiert und getestet, der Beschluss zur Entfernung/Sichtbarkeit steht aus.runners.rs, [2.0][U26] First-N-Auswahl ist keine belegte repräsentative Websitebewertung #791) ruftreplaynoch nicht auf – nicht angefasst.EVALUATION_VERSION/SNAPSHOT_SCHEMA_VERSIONmüssen künftig bewusst gehoben werden.Geprüft
cargo test(alle),cargo clippy --all-features --all-targets -- -D warnings,cargo check --all-features,cargo fmt --check.