Repository navigation
feat(OMN-13155): suppress cross-DB agent_routing_decisions duplicate - #2636
jonahgabriel wants to merge 1 commit into
Conversation
agent_routing_decisions is a benign cross-DB EXACT_DUPLICATE: infra
docker/migrations/forward/021_create_agent_routing_decisions_table.sql
creates it in the omnibase_infra DB; the omnimarket
node_projection_routing_decision migration (0021, vendored into
omnibase_infra/docker/migrations/forward/nodes/, landed via OMN-13150)
creates the projection copy in omnidash_analytics (the node contract's
declared database). Identical 13-column DDL, two different databases,
both load-bearing — git-rm of either breaks a DB.
This was the sole unsuppressed conflict failing the OCC Migration
Conflict Check (38 sibling cross-DB projection tables already
suppressed under cross_repo_shared_schema). Adds the missing entry in
the same format; documents an intentional cross-DB duplicate, does not
hide a real conflict.
Repro (check-migration-conflicts, OCC gate command):
before: Found 1 migration conflict(s): EXACT_DUPLICATE
agent_routing_decisions -> exit 1
after: No migration conflicts found; Suppressed 39 known
conflict(s) -> exit 0
Broader consolidation tracked under OMN-13127. Refs OMN-13150.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a new suppression entry to ChangesMigration Conflict Suppression Config
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Superseded by #2637, which is self-contained: it carries the migration_conflict_suppressions.yaml agent_routing_decisions fix AND the OCC contract + receipts (Evidence-Source: self). Folding was required because a separate delivery PR off dev fails the OCC Migration Conflict Check on the unsuppressed conflict, blocking the dev merge_group. Refs OMN-13155. |
OMN-13155 — suppress cross-DB
agent_routing_decisionsduplicate (unblock OCC Migration Conflict Check)Adds the missing
agent_routing_decisionsentry tomigration_conflict_suppressions.yaml. This was the sole unsuppressed conflict hard-failing the OCCMigration Conflict Checkjob in the dev merge_group.Diagnosis (verified, evidence-based)
agent_routing_decisionsis a benign cross-DBEXACT_DUPLICATE, identical 13-column DDL, two different databases, both load-bearing:omnibase_infra/docker/migrations/forward/021_create_agent_routing_decisions_table.sql→ creates it in the omnibase_infra DB (root forward set,$PGDB=omnibase_infra).omnibase_infra/docker/migrations/forward/nodes/node_projection_routing_decision/0021_create_agent_routing_decisions.sql→ the omnimarketnode_projection_routing_decisionmigration (vendored into infra'sforward/nodes/, landed via OMN-13150 / infra PR evidence(OMN-12514): add SEA inference bus receipts #1985) creates the projection copy in omnidash_analytics (the node contract's declareddb_io.db_tables[0].database).The OCC checker (
check-migration-conflicts) attributes both files toomnibase_infra(repos-rootparts[0]) because the omnimarket node migration is vendored under the infra tree.git rmof either file breaks a database — not an option. The canonical mechanism is the suppressions file undercross_repo_shared_schema; every sibling cross-DB projection table (session_outcomes,llm_routing_decisions,llm_cost_aggregates,delegation_events,evidence_*) is already suppressed.agent_routing_decisionswas simply never added when OMN-13150 introduced the second copy.This documents an intentional cross-DB duplicate — it does not hide a real conflict.
Reproduction (exact OCC gate command)
Ran
check-migration-conflicts --repos-root <repos> --check-columns --warn-columns --suppressions-file migration_conflict_suppressions.yamlagainst the same repo set the OCC CI clones (omniintelligence, omnibase_infra@dev, omnimemory, omniclaude, omnibase_core):The 36
MISSING_COLUMNfindings remain as--warn-columnswarnings (non-fatal, pre-existing) — they were never the blocker and are out of scope.Scope
Unblock-only. The broader "consolidate these tables to one DB" question is tracked separately under OMN-13127 and is out of scope here.
Evidence
Evidence-Source: <OCC_RECEIPT_SHA>
Evidence-Ticket: OMN-13155
Refs OMN-13150, OMN-13127.
Summary by CodeRabbit