Repository navigation
fix: retry recent writer conflicts and recover landed projection holds - #24223
Conversation
Use capture-end age instead of backfill priority to classify awaiting-writer conflicts. Release completed targets with bounded unsuccessful episodes, preserve proven multipart receipts, and fence old binaries on new redrives. Failure-Class: FC-unresolved-head-blocks-projection
Preserve bounded retries for absent, invalid and nonfinite capture clocks, while making the numeric guard explicit to the backend type checker. Failure-Class: FC-unresolved-head-blocks-projection
There was a problem hiding this comment.
6 issues found across 18 files
Confidence score: 3/5
- In
projection_hold_policy.py, known-old rows withfresh_capture=Trueskip the backfill strike lane, so missing or pending targets can block the owner chain until the 24-hour backstop instead of following the six-hour hold/release path. Route these rows through the backfill strike lane. - The pinned
release_pagedigest infirestore_batch_pipeline_drivers.pydoes not match the current function, so the query-shape coverage check will fail. Update the digest if the current function body is intended. - The module-scope imports in
test_batch_pipeline_owner_chain_projection.pyhide cold-import time from the call-phase CPU guard. Remove the block and handle the cold import through the duration allowlist. assignment.pyrepeats deleted, discarded, status, and privacy checks already present inreplace_recordand_target_restorable, which risks those rules drifting apart. Extract a shared predicate.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="backend/tests/unit/test_batch_pipeline_projection_release.py">
<violation number="1" location="backend/tests/unit/test_batch_pipeline_projection_release.py:113">
P3: The `in (None, 499.0)` check at the end of this test is now stale: no parametrized case seeds `projection_redriven_at=499.0` after this change. Tighten it to `is None`, or drop the tuple, so the assertion matches the cases that remain.</violation>
</file>
<file name="backend/tests/unit/test_pipeline_sim_poison_head.py">
<violation number="1" location="backend/tests/unit/test_pipeline_sim_poison_head.py:92">
P3: This matrix now assumes hold recovery is on, but it never pins the flag. With `BATCH_PIPELINE_PROJECTION_HOLD_RECOVERY_ENABLED=false`, fresh-lane `record_target_discarded` and `lineage_ownership_ambiguous` wait instead of advancing, so this test fails. Pin the flag with `monkeypatch.setenv(...)` in the matrix, or derive the expectation from the flag, and add a comment explaining why terminal conflicts advance on the fresh lane.</violation>
</file>
<file name="backend/tests/unit/test_batch_pipeline_owner_chain_projection.py">
<violation number="1" location="backend/tests/unit/test_batch_pipeline_owner_chain_projection.py:20">
P2: These module-scope imports exist only to move import cost out of the call-phase CPU guard, which hides the slow-test signal. Remove the block and handle the cold import through the duration allowlist, as the file already does for other lazy imports. If a test truly needs these modules, import them inside the test that uses them.</violation>
</file>
<file name="backend/tests/support/firestore_batch_pipeline_drivers.py">
<violation number="1" location="backend/tests/support/firestore_batch_pipeline_drivers.py:327">
P2: The pinned `body_digest` for `release_page` does not match the function at HEAD. The current body hashes to `0a0a192859dd240c2a60d24cac690460d5eda380b874f69b6474bcdc6da4d248`, so the query-shape coverage check will fail. Re-pin with the computed value, and update the matching `BODY_DIGEST` entry in `firestore_query_driver_registry.py`.</violation>
</file>
<file name="backend/utils/sync/assignment.py">
<violation number="1" location="backend/utils/sync/assignment.py:327">
P2: This redrive lifecycle block repeats the same deleted/discarded/status/privacy checks already in `replace_record` (live_projection.py) and `_target_restorable` (projection_release.py). Extract one shared predicate and call it from all three sites so the fence cannot drift.</violation>
</file>
<file name="backend/utils/batch_pipeline/projection_hold_policy.py">
<violation number="1" location="backend/utils/batch_pipeline/projection_hold_policy.py:38">
P2: Known-old rows with `fresh_capture=True` never enter the backfill strike lane, so missing or pending writer targets bypass the six-hour hold/release path and can block the owner chain for up to the 24-hour backstop. Select the strike lane from the validated capture age, using `backfill` once capture end is at least six hours old.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
|
|
||
| import pytest | ||
|
|
||
| # build_incoming imports these lazily. Load at collection so the first |
There was a problem hiding this comment.
P2: These module-scope imports exist only to move import cost out of the call-phase CPU guard, which hides the slow-test signal. Remove the block and handle the cold import through the duration allowlist, as the file already does for other lazy imports. If a test truly needs these modules, import them inside the test that uses them.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/tests/unit/test_batch_pipeline_owner_chain_projection.py, line 20:
<comment>These module-scope imports exist only to move import cost out of the call-phase CPU guard, which hides the slow-test signal. Remove the block and handle the cold import through the duration allowlist, as the file already does for other lazy imports. If a test truly needs these modules, import them inside the test that uses them.</comment>
<file context>
@@ -17,6 +17,13 @@
import pytest
+# build_incoming imports these lazily. Load at collection so the first
+# assignment does not pay unrelated provider/model imports in its CPU budget.
+import models.conversation # noqa: F401
</file context>
| reason='bounded release scan delegates its only query to held_page_ids; resets are document transactions', | ||
| expect_observed=False, | ||
| body_digest='9f5875cb08b271ad83fd1da1785bef66074919d494ae1a73590f2e02baa64edf', | ||
| body_digest='51d879075128af7e074b0ab3ccdb376e2171678351cad3ade376a3a3f78e2e69', |
There was a problem hiding this comment.
P2: The pinned body_digest for release_page does not match the function at HEAD. The current body hashes to 0a0a192859dd240c2a60d24cac690460d5eda380b874f69b6474bcdc6da4d248, so the query-shape coverage check will fail. Re-pin with the computed value, and update the matching BODY_DIGEST entry in firestore_query_driver_registry.py.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/tests/support/firestore_batch_pipeline_drivers.py, line 327:
<comment>The pinned `body_digest` for `release_page` does not match the function at HEAD. The current body hashes to `0a0a192859dd240c2a60d24cac690460d5eda380b874f69b6474bcdc6da4d248`, so the query-shape coverage check will fail. Re-pin with the computed value, and update the matching `BODY_DIGEST` entry in `firestore_query_driver_registry.py`.</comment>
<file context>
@@ -317,13 +317,13 @@ def entries():
reason='bounded release scan delegates its only query to held_page_ids; resets are document transactions',
expect_observed=False,
- body_digest='9f5875cb08b271ad83fd1da1785bef66074919d494ae1a73590f2e02baa64edf',
+ body_digest='51d879075128af7e074b0ab3ccdb376e2171678351cad3ade376a3a3f78e2e69',
),
)
</file context>
| body_digest='51d879075128af7e074b0ab3ccdb376e2171678351cad3ade376a3a3f78e2e69', | |
| body_digest='0a0a192859dd240c2a60d24cac690460d5eda380b874f69b6474bcdc6da4d248', |
| # timestamp anchor here becomes a twin when listen later persists. The | ||
| # already-read target document fences concurrent create on replay. | ||
| raise SyncAssignmentConflict('batch live target not persisted', subtype=Reason.LIVE_TARGET_NOT_PERSISTED) | ||
| if redrive_target: |
There was a problem hiding this comment.
P2: This redrive lifecycle block repeats the same deleted/discarded/status/privacy checks already in replace_record (live_projection.py) and _target_restorable (projection_release.py). Extract one shared predicate and call it from all three sites so the fence cannot drift.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/utils/sync/assignment.py, line 327:
<comment>This redrive lifecycle block repeats the same deleted/discarded/status/privacy checks already in `replace_record` (live_projection.py) and `_target_restorable` (projection_release.py). Extract one shared predicate and call it from all three sites so the fence cannot drift.</comment>
<file context>
@@ -323,6 +324,22 @@ def resolve(cid: str | None, *, one_hop: bool = False) -> tuple[str | None, dict
# timestamp anchor here becomes a twin when listen later persists. The
# already-read target document fences concurrent create on replay.
raise SyncAssignmentConflict('batch live target not persisted', subtype=Reason.LIVE_TARGET_NOT_PERSISTED)
+ if redrive_target:
+ # Release is a scheduling hint. Recheck lifecycle under the very
+ # transaction that appends, including a discard racing the release.
</file context>
| # Use capture end, never enqueue/commit/first-attempt time. Unknown age | ||
| # waits under the existing durable 24-hour bound rather than guessing old. | ||
| capture, duration = (job or {}).get('capture_at'), (job or {}).get('duration_seconds') | ||
| if not ( |
There was a problem hiding this comment.
P2: Known-old rows with fresh_capture=True never enter the backfill strike lane, so missing or pending writer targets bypass the six-hour hold/release path and can block the owner chain for up to the 24-hour backstop. Select the strike lane from the validated capture age, using backfill once capture end is at least six hours old.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/utils/batch_pipeline/projection_hold_policy.py, line 38:
<comment>Known-old rows with `fresh_capture=True` never enter the backfill strike lane, so missing or pending writer targets bypass the six-hour hold/release path and can block the owner chain for up to the 24-hour backstop. Select the strike lane from the validated capture age, using `backfill` once capture end is at least six hours old.</comment>
<file context>
@@ -0,0 +1,58 @@
+ # Use capture end, never enqueue/commit/first-attempt time. Unknown age
+ # waits under the existing durable 24-hour bound rather than guessing old.
+ capture, duration = (job or {}).get('capture_at'), (job or {}).get('duration_seconds')
+ if not (
+ isinstance(capture, (int, float))
+ and not isinstance(capture, bool)
</file context>
| lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection_state='pending'), | ||
| lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection={'state': 'ready'}), | ||
| lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection_redriven_at=499.0), | ||
| lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection_release_attempts=3), |
There was a problem hiding this comment.
P3: The in (None, 499.0) check at the end of this test is now stale: no parametrized case seeds projection_redriven_at=499.0 after this change. Tighten it to is None, or drop the tuple, so the assertion matches the cases that remain.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/tests/unit/test_batch_pipeline_projection_release.py, line 113:
<comment>The `in (None, 499.0)` check at the end of this test is now stale: no parametrized case seeds `projection_redriven_at=499.0` after this change. Tighten it to `is None`, or drop the tuple, so the assertion matches the cases that remain.</comment>
<file context>
@@ -109,7 +110,7 @@ def test_release_resets_held_unit_when_target_restored():
lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection_state='pending'),
lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection={'state': 'ready'}),
- lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection_redriven_at=499.0),
+ lambda seeded: seeded[('batch_pipeline_prod_results', 'held')].update(projection_release_attempts=3),
lambda seeded: seeded[('users', OWNER, 'conversations', TARGET)].update(status='processing'),
lambda seeded: seeded[('users', OWNER, 'conversations', TARGET)].update(deleted=True),
</file context>
| subtype = kind.split(':', 1)[1] | ||
| if subtype in SYNC_ASSIGNMENT_CONFLICT_STRUCTURAL: | ||
| return ADVANCE | ||
| if subtype in PROJECTION_TERMINAL_CONFLICTS: |
There was a problem hiding this comment.
P3: This matrix now assumes hold recovery is on, but it never pins the flag. With BATCH_PIPELINE_PROJECTION_HOLD_RECOVERY_ENABLED=false, fresh-lane record_target_discarded and lineage_ownership_ambiguous wait instead of advancing, so this test fails. Pin the flag with monkeypatch.setenv(...) in the matrix, or derive the expectation from the flag, and add a comment explaining why terminal conflicts advance on the fresh lane.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/tests/unit/test_pipeline_sim_poison_head.py, line 92:
<comment>This matrix now assumes hold recovery is on, but it never pins the flag. With `BATCH_PIPELINE_PROJECTION_HOLD_RECOVERY_ENABLED=false`, fresh-lane `record_target_discarded` and `lineage_ownership_ambiguous` wait instead of advancing, so this test fails. Pin the flag with `monkeypatch.setenv(...)` in the matrix, or derive the expectation from the flag, and add a comment explaining why terminal conflicts advance on the fresh lane.</comment>
<file context>
@@ -88,6 +89,8 @@ def expected_outcome(kind: str, lane: str) -> str:
subtype = kind.split(':', 1)[1]
if subtype in SYNC_ASSIGNMENT_CONFLICT_STRUCTURAL:
return ADVANCE
+ if subtype in PROJECTION_TERMINAL_CONFLICTS:
+ return ADVANCE
if subtype in SYNC_ASSIGNMENT_CONFLICT_AWAITING_WRITER:
</file context>
…ple cap (#24228) ## Summary Train safety for the GMP sidecar's per-scrape `samples` cap (lead ruling 3d124a). Above the cap, GMP drops the instance's **whole** scrape, not just the new series. Backend Cloud Run max scrape, read-only GMP aggregates (`scrape_samples_scraped`, job `omi-cloud-run-application-metrics`): | Service | Max scrape | Note | |---|---|---| | backend | 9,339 now; 9,873 24h max | 3 instances, median 9,224 | | backend-sync | 7,704 | | | backend-sync-backfill | 6,769 | | | backend-integration | 6,042 | | | desktop-backend | 3,151 | | The next train adds to backend, beyond the write probe: - #24211 stage histogram: 96 - #24223: up to 18, behind a default-off flag - #24214: 2 - #24212: up to 2 That is up to about 118 samples against roughly 127 of headroom. Two changes: 1. **`OMI_FIRESTORE_WRITE_PROBE_ENABLED` kill switch** for the #24218 write probe. It is on unless the literal `false`. Off means `database._client` never wraps the transport, so no labelled write series exist in that process. That leaves 2 unlabelled counter samples. It is registered in `config/feature-flags.yaml` as `ops_kill`, and the registry doc is re-rendered. 2. **Shared Cloud Run sidecar cap 10,000 → 15,000** (`backend/deploy/cloud_run_gmp_sidecar.yaml`: backend, desktop-backend, notifications-job). Today backend is about 1% from losing all metrics on any new series; this restores headroom. GMP bills per sample emitted, so the cap itself costs nothing. The sync sidecar (`cloud_run_gmp_sync.yaml`, max 7,704) is unchanged. Series behaviour: - **Write probe series are per instance.** They grow with code-path diversity (distinct caller × collection × op an instance has executed, capped), not with write volume. - **At batch 100%**, instance count may grow and each instance sees more batch callers. Per-instance cardinality rises toward the caps, not with load. Recommended for the train: merge this. If the cap raise is not wanted in this train, set `OMI_FIRESTORE_WRITE_PROBE_ENABLED=false` on backend Cloud Run only. Sync, listen and pusher keep the probe. ## Product invariants affected none. Observability config only; no data path. ## Verification All runs used `backend/test.sh` under `bin/omi-heavy` + `nice -n 19`, at the unit layer: - `test_firestore_write_probe.py`: 16 passed, including the kill switch (literal `false` and ` FALSE ` leave `FirestoreClient.commit` unwrapped; unset, empty, `true`, `0`, `off` stay on). - The other tests that read the sidecar config: `test_attach_cloud_run_gmp_sidecar` (117), `test_external_list_cache`, `test_fleet_deployment`, `test_parakeet_request_metrics`, `test_relevance_metric_is_scraped`, `test_sync_absorption_metrics`. All pass. - `scripts/check_feature_flag_registry.py`: OK. ## Rollback Set the switch to `false` on any service, or revert. The cap can return to 10,000 only if the max scrape is well below it. Failure-Class: none 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/24228?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/24228?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F24228&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Conflict only in config/feature-flags.yaml with #24228; registry regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflict only in the generated registry doc. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…#24248) Batch workers run a 10-hour-old image that lacks merged batch fixes, including #24223, and claims have run below normal since the freeze at 11:17Z. The worker needs a roll, but main's chart default of IO concurrency 5 (#24213) never ran in qualification: the staging verdict was NO-GO with no measured gain. This sets `worker.ioConcurrency: 3` in prod values only, which #24213 names as the previous default. The chart default stays 5, and qualification or a measured prod comparison can raise prod later. Rollback: remove the line (returns to 5), or set 1 for serial IO. No code path changes. Takes effect at the next worker roll, which the lead runs with the repair-flag re-apply. Failure-Class: none 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/24248?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/24248?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F24248&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Problem and behavior
Recent catch-up audio was taking
quarantine_heldon its first missing-target or pending-finalize conflict solely becausefresh_capture=False. It retained audio and its committed result but left a transcript hole. The held-release scan also excluded ordinary sync targets and used a per-unit-lifetime one-shot fence.This change retries those conflicts until capture end is at least six hours old, using the existing first-failure stamp and 24-hour retry bound. Discarded targets, ambiguous lineage, structural errors, generation fences, privacy and deletion stay fenced. Completed targets can release through their existing binding and ordinary ordered assignment, with transaction-time lifecycle rechecks and at most three unsuccessful releases per episode. Successful assignment resets that budget; the watermark fence stays. Already-proven multipart receipts survive and the summary rebuilds when the missing part lands, avoiding duplicate projection.
Capacity, cost and interaction
followupscan: itsProjectionFollowups.candidates()work is separate; released pending rows stay on the existing assignment scanner ordered by committed time/name.Rollback and custody
Ship on with
BATCH_PIPELINE_PROJECTION_HOLD_RECOVERY_ENABLED=falseas the kill switch. Off restores lane-only striking, record-only one-shot release eligibility and 32 rows every 900 seconds. Pending units already released continue through the new binary's fences. No text is undone and no audio/result is deleted.The requested switch has an explicit owned flag-budget entry (holdfix / batch rollout lead, review by 2026-11-15); the seeded budget is unchanged.
New releases carry protocol 2 plus
projection_release_version=1. Older binaries cannot safely interpret preserved multipart suffixes or enforce the new lifecycle check, so a binary rollback pauses these rows with their audio/results retained until a forward fix. Never clear protocol fields or proven receipts to force an old binary through.Conflict logs and the optional correctness counter accept only the closed conflict subtype allowlist, with no identifiers or transcript text.
Validation
BACKEND_PYTEST_WORKERS=4 BACKEND_UNIT_TEST_FILE_LIST=/Volumes/Ephemeral/scratch/holdfix/unit-files.txt bash backend/test.sh, throughomi-heavyandnice -n 19): 1,275 passed across 22 files (plus one slow test deselected by the standard unit lane), including the rollback protocol fence, operator-intent guards, invalid/unknown-age cases, mirror fixture, flag budget and seven Firestore guard files. The full preflight separately includes the slow digest-pinning sentinel. First CI caught a stale mirror fixture and missing owned budget registration; both were corrected and included in this local gate before the follow-up push.bash backend/scripts/typecheck.shthrough the same heavy/nice wrappers: zero errors. The first pre-push found five optional-number narrowing errors in the new helper; those were fixed with explicit numeric/bool guards before publication.make preflightthroughomi-heavyandnice -n 19: 40 checks passed, including image source closure, query digest pins and the slow Firestore guard sentinel.b003f0a3adb2also passed all 10 process scenarios plus appended shard tests (log SHA-256116e1a358fd225b893eca2bede92ecebc9faa74133a87649fd344aa35180c273). This preceded the numeric type-narrowing-only follow-up; the current 1,246-test suite and full type check cover that follow-up. No scheduler changes or skips. CI runs the final head's harness.3a2f073714bfc8420f2b2577a09c7ac3e3d99898(CLEAN/MERGEABLE, verified 2026-11-01 08:41Z), including backend shards and both stack gauntlets. No CI rerun was needed on this head.review.sh/agentctl delegate: SHIP, no actionable findings, same head/base. The reviewer inspected the real-path synthetic Firestore tests and did not run tests itself. It explicitly retained the convoy and production-drain limitations. Result source is a verified assistant answer, SHA-2564e60f6c484d415ebfe8a9ebed78e6fc3d79ca7a7122c2113576e907aa923caca.Failure-Class: FC-unresolved-head-blocks-projection