Repository navigation
feat(pm-stack): agg_coverage P1 contract (#1744 Move 1 step 3) - #17009
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
Lane 1607-I (charlie ADVANCE, 2026-11-29). Next bounded #1744 slice in the established pattern (1452-E: #16975/#16978; 1522-F: #16983; 1607-I: #17003, #17008).
What: P1 schema contract for Move 1 step 3's second refreshable cache — coverage-snapshot.json (store contract in aggregator/src/coverage.ts) →
public.agg_coverage_reports+public.agg_coverage_reposas migration20261129_0006_agg_coverage: paired up/down (down refuses non-empty), Turso golden generated by the repo translator, both migration test suites extended (3 new Turso constraint tests; PG suite section mirroring the alerts section), README + migration plan updated.Contract notes: one report row per file slot (baseline, current, weekly) with the fixed rotation anchor (anchorAt) riding on the row; per-repo census counts are non-negative integers or null — null means that count's query failed (unavailable, not zero, #3992), stated directly as checks. Rotation/promotion stays writer semantics.
Schema-only: no rows copied, no writer/reader cutover; coverage-snapshot.json remains the live backend and rollback target; #1744 criterion 3 untouched.
Verification: full test_turso_migrations.py suite run locally against this exact tree = 63 tests OK (incl. golden pin for 0006; all pre-existing goldens byte-identical); test-migration.sh bash-syntax checked (disposable-PostgreSQL run needs a docker daemon, not present on this seat — PG assertions mirror the Turso ones, as with prior slices). Full diff read by the lane before merge.
Refs #1744
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T22:43:29Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": null, "model": null, "lane_start_issues": [], "workspace_ref": null, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.