Repository navigation
test(jobstore): port recovery discovery, capacity and progress parity - #23560
Git-on-my-level wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Folded into survivor #24591 ( Carried as-is: the committed-partial-pull conformance cases appended to |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Recovery parity across old and new stores
Port the replay/backlog lessons from #23500 and the October 24 conversation-lifecycle RCA into the existing outbox conformance suite. KB parity rows PL-002, PL-003 and PL-004 now exercise identical public operations on the old Firestore adapter, Postgres and the simulator:
The real-emulator baseline found the same failure mechanism in the old enrichment adapter: its query clamps to 100 before exclusions, and the pull adapter does not refill after retirement. Refs #23558, which owns the fix. Existing full-suite contract discrepancies are tracked separately in #23559. Three exact Firestore parameters are strict, assertion-only xfails linked to that issue; Postgres and simulator run the same assertions normally. The invariant is unchanged, and an unexpected pass fails the suite. No implementation, configuration, workflow, dependency or rollout changes.
These are extensions of the shared behavioral conformance surface, rather than a separate checker or duplicated implementation. They would have caught the full-page recovery mechanism in merged #23500 and now reproduce it in #23558. Plan A acceptance is published in the KB; finalization-specific progress, enum and age-SLO invariants remain separate.
Product invariants affected
none
Validation
OMI_REQUIRE_STORE_BACKENDS=all: focused parity run 9 passed, 3 xfailed, zero skipped. Before marking the linked live defects: 9 passed, 3 failed, all failures on Firestore. No GCP credentials, remote database, production reads or vendor calls.firebase emulators:exec --only firestore --project demo-omi-isolated-tests --config <isolated-loopback-config> 'backend/.venv/bin/python -m pytest -q backend/tests/integration/test_outbox_conformance.py -k test_pl', serially viabin/omi-heavy; Java 21 and all required backends explicitly selected.a6f9d3101ff0: Firestore moved coalesced wake expectation; nontransactional enqueue wake exception (also interrupts privacy-sweep setup); and Firestore contention exhausting five transaction attempts. Existing tests/expectations remain unchanged. The four existing backend-inapplicable skips are separate from the new parity matrix, which has zero skips.55efd180a4d4977514222798a4c8055c7d9d1892:make preflightand PR-body preflight both passed all 33 selected checks; the normal push hook passed, including whole-backend type checking (0 errors). Focused all-backend qualification was repeated at this committed head: 9 passed, 3 strict xfailed, zero skipped. The remote branch SHA was independently verified withgit ls-remote. GitHub CI is reported separately.The integration matrix requires explicit local/staging invocation. Existing CI does not provision Postgres for this suite; this PR adds no workflow. A skipped backend is not parity proof, and an xfail does not satisfy migration acceptance. No merged or deployed new-backend parity is claimed.
Failure-Class: FC-bounded-discovery-pinned-by-blocked-page
🤖 Generated with Claude Code