fix: backfill empty-provider dispatch rows + cross-link tmq#7 (#83)#86
Merged
Conversation
Add backfill-provider-83.py: recovers 1 row via sibling join on aoe_id_prefix (5be270af, home-portal#297, provider=minimax/model=MiniMax-M3). Remaining 26 rows are honestly unrecoverable (no sibling, no model in payload). DRY-RUN default; --apply writes via service=bogocat. Applied successfully: empty-provider rows reduced from 27 to 26. Verification query in docstring. Closes #83
- Fix verification query comment (1 Jul 14 row remains, not 0) - Remove unused import os - Add sibling-join assumption comment - Add 'DO NOT re-run' archival note
Contributor
Author
Code Review — tms#86 + bogocat-tmq#7Mode: Consensus (found by ≥2 reviewers)Both PRs are correct and well-tested. No Critical (P0) findings. P1 Warnings (all addressed in fixup commits)
reviewer (deepseek-v4-pro)
reviewer-m3 (MiniMax-M3)
SummaryBoth PRs are ready. The companion tmq#7 PR ports the tms#73 resolver to the bogocat-tmq plugin, fixing the dual-writer gap. The tms#86 PR provides a safe backfill script (dry-run default, bogocat_ro for analysis) that recovers the 1 sibling-joinable row and honestly reports the 26 unrecoverable ones. All review findings are fixed in the latest commits. <<REVIEW-VERDICT: PASS sha=f89be46d60a5c7997a232f2565327a42ac6d8e2a rounds=1 panel=deepseek-v4-pro,minimax-m3>> |
4 tasks
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
Two-part fix for dual-writer provider provenance (tower-fleet#210 F5):
backfill the 27 empty-provider dispatch rows that the bogocat-tmq plugin
wrote before the tms#73 resolver was ported.
Companion PR: bogocat/tmq#7 (resolver port).
What changed
scripts/backfill-provider-83.py: DRY-RUN default,--applywrites.Sibling-join recovery: 1 row (
5be270af, home-portal#297) getsprovider=minimax, model=MiniMax-M3from its Jul 12 sibling.Remaining 26 rows marked honestly unrecoverable (no sibling, no model
in payload — NULLs are the truth).
Out of scope
Test plan
Verification
Follow-ups
Closes #83