test(260617-v4e): real production golden corpus — 400 artifacts + snapshots#29
Merged
Merged
Conversation
…shots Pulled 400 real ParserArtifacts (343 success + 57 partial) from staging parser_results.raw_snapshot via root+kubectl; folded the 9 parser-2 floor edge cases → 409-artifact corpus (gzip 456K). Regenerated + determinism-verified (2x test:golden, 426 passed, 0 rewrites). verify green; golden stays out of verify/coverage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Populates the golden oracle (landed in #28) with the real production artifact corpus, replacing the parser-2 floor-only archive.
ParserArtifacts pulled from the stagingparser_results.raw_snapshot(343success+ 57partial, 0failed) — exactly whatserver-2ingested in production.artifacts.tar.gz= 456 KB gzipped.pipeline-*.snap.jsoncharacterization snapshots (the pinned current behavior).Determinism
pnpm test:goldenrun twice: first wrote 400 snapshots, second compared all 409 → 426 passed, 0 rewrites. The normalizer (uuid→natural key,now()-timestamps redacted, rows sorted) holds across real production data — no leaked non-deterministic field.Gate
src/test/golden/**(excluded fromtest/test:coverage/verify).pnpm verifygreen, coverage 100%. The 409-case live oracle runs in the master-onlygolden-oracleCI job (skips on this PR).Captured via root +
kubectl exec postgres-0 -- psqlover the k3s tunnel; no credentials or host values committed.🤖 Generated with Claude Code