Repository navigation
fix: scope Parakeet cleanup test timeout to receiver task - #24948
Merged
Merged
Conversation
Failure-Class: test fixture over-broad timeout patch
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
You’re at about 99% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].
Git-on-my-level
added a commit
that referenced
this pull request
Nov 9, 2026
…ple and task workflows (A2b) (#24870) <!-- claude-projects-attribution: {"github_login":"Git-on-my-level"} --> _Requested by **David**_ ## What changed and why Compose conformance-only typed cell adapters for folders, people, action items, goals and workstreams over the existing cell UoW, with expand-only query columns and shared simulator/Firestore/Postgres contracts. Restore legacy IDs from document keys without rewriting payloads, use keys for retirement and replacement, and preserve UTC goal-history fallback for falsy or invalid timezones. No serving selectors or configuration change; enrollment remains outside this PR. Firestore folder/event serving behavior and read costs remain unchanged. The earlier legacy person identity recovery remains: `FirestorePeople` receipt replay of a legacy person document stored without an `id` field now returns the document key as `id` (previously the replayed dict had no `id`); stored payloads are not rewritten. Covered by the shared ID-less conformance cases. ## Product invariants affected none ## How it was verified Round-1 conformance passed all 186 cases on required simulator, Firestore emulator and disposable local Postgres backends. Six focused/failed-file replays passed all 206 cases, including the corrected fingerprint and timeout fixture, strict port contracts, cell migration contracts, and unchanged speaker timing tests. The full 2,677-file unit command exited 1: 65,732 passed / 4 failed, plus one file timed out. The corrected and timing-sensitive cases passed serialized replay; the unchanged deploy-contract fixture still timed out at 900 seconds in both bulk and isolated runs. Its diagnostic stack was parsing AST import closures. No whole-suite green is claimed. The async scanner and expanded typecheck passed (0 type errors); frozen preflight passed all 43 checks. Metadata validation passed all 4 checks. No production access or GCP tier was used. ## Tests Shared regressions read ID-less documents across all five domains, check mutation-return IDs and key-based retirement/replacement, and verify projections do not add IDs to stored legacy payloads. Goal progress history covers valid, null, empty and invalid timezones through both append and update APIs. Existing migration contracts now reject destructive DDL; the import-only guard permits 120 seconds for process startup under load. ## UI evidence UI-Evidence: none -- backend only ## Failure class (fixes) Failure-Class: none ## Review fixes (round 17) - Goal focus enumerates the focus set, which locks it sorted, before it reads the requested goal. Folder reorder locks its ids sorted before it checks them. The cross-domain lock-order test now covers focus and reorder. - Lock order is a latency property here, not a correctness one. Every body read is `SELECT ... FOR UPDATE`, and some bodies are data-dependent: `append_progress_event` locks the goal, then `goal_history/<goal>/<day>`, and the day comes from `users/profile`. Those bodies cannot always lock in flush order. Correctness rests on the store treating `40P01` as retryable (`store.py:326`, bounded and jittered, whole-body replay). New test `test_inverted_lock_order_deadlock_is_detected_and_retried` uses two real connections that lock `a,b` and `b,a`. PostgreSQL aborts one, the retry commits it, and both increments land. 25 related files pass under test.sh. ## Review fixes (round 16) - Cross-domain bodies take row locks in flush's sorted `(entity, id)` order, so a concurrent raw write cannot deadlock them. Goal lifecycle detach locks linked tasks before the goal, then workstreams. Folder delete locks conversations before folders, and locks the deleted folder and its target in sorted order. Folder moves lock conversations sorted and refresh counts in sorted folder order. `_lock_in_order` moves from `WorkflowRepo` to `Repo` so the folder adapter can use it. - Sweep: `import_task_goal_links` already locked in order. `resolve_work_intent` touches only brand-new rows after the task and goal, and the other single-collection paths go through sorted queries. Test: `test_cross_domain_bodies_lock_in_flush_order` fails on 9e19c3f. 25 related files pass under test.sh. ## Review fixes (round 15) - A goal update now rejects `id`, `goal_id` and `account_generation`. Before, the patch was copied whole, so it could change identity or generation past the generation checks. Routers pass typed models without these fields. Test: `test_goal_update_rejects_identity_and_generation_fields[backend x field]`. - A `people.create` replay whose person was deleted returns the receipt id, as the Firestore path does, instead of raising `KeyError`. Test: `test_person_create_replay_survives_deleted_person[postgres|sim]`. - Sweep: every other `if prior is not None` replay in the cell adapters returns a stored id or reads through `.get`. Workstream and folder updates use typed patch models, so they cannot carry identity fields. Both fixes are mirrored in the sim twin. All 8 new cases fail on a1def7b, and the file passes 71/71. ## Review fixes (round 14) - A saved `None` mutation result now replays. `receipt()` returned `None` both when there was no receipt and when the saved result was `None`, so a missing-goal update that was retried after the goal appeared applied the old patch. `_idempotent` now checks whether a receipt exists (`receipt_entry`), in the adapter and in its sim twin. Test: `test_goal_update_replays_saved_none_after_goal_appears[postgres|sim]`, which fails on the previous head. - Merged origin/main to pick up the #24950 registry-gate fix. The flake-fix conflict in `test_qualify_parakeet_route.py` took main's version (#24948). The `domain_sim/store.py` baseline moved to 1511 -> 1619. ## Scoped cleanups (optional) Cell-native creates retain redundant IDs as a documented metadata exception to payload byte parity. Before W5 enrollment, integrate the Firestore-owned profile timezone source and confirm the naive legacy timestamp policy before serving those paths. Round 5 verifies the list indexes; round 6 aligns raw and typed writer lock ordering. No edits under `.github/`, `backend/database/jobstore/` or `backend/testing/store_fixtures.py`. Line-Count-Exception: backend/testing/domain_sim/store.py | 1511 -> 1625 | Shared legacy identity, timezone, chat snapshot, lifecycle, malformed-event, jsonb key-order and typed-generation conformance requires independent simulator behavior in the existing reference adapter. ## Housekeeping Removes lane working notes (`.agent-artifacts/pgf/{a2a,b2,merge-owner-fix}-*`) that merged with #24852 and #24805. One test-only isolation fix in `test_qualify_parakeet_route.py` (timeout injection leaked across cases under load). Long-term data foundation wave A2b (follows #24852). Rebased on main after #24852 merged. ## Review fixes (round 7) - Object- and array-valued legacy folder `order` values sort by PostgreSQL `jsonb::text` (keys by length, then bytes) in the cell cursor and the simulator, matching the SQL order function and index; regression case `[{'b': 0}, {'aa': 0, 'z': 0}]` across limits and pending/committed rows. ## Review fixes (round 8) - `account_generation` filters in cell action-item idempotency and workstream lists compare typed JSON (`coalesce(doc->'account_generation','0')=to_jsonb(gen)`): missing is 0, wrong-typed legacy values are nonmatches instead of a failing bigint cast; regression test for string, boolean, numeric-string and null values. ## Review fixes (round 9) - Python mutation guards (`CellWorkstreams._require`, action-item document reuse) use `generation_matches`, the twin of the typed SQL filter: a missing field is 0, only JSON numbers match, booleans/strings/null are refused; regression test for update on wrong-typed rows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Review fixes (round 2) The immutable timestamp decoder now treats PostgreSQL timezone displacement errors (SQLSTATE 22009) as NULL, alongside malformed dates and datetime overflow. Real PostgreSQL regressions cover positive and negative +99:99/+24:00 equivalents in both plain strings and codec-tagged timestamps, including STORED-column writes. Migration 0003 remains expand-only and its checksum is re-pinned before enrollment. The cell action-item update enforces the same encoded before-state comparison and after-state result as Firestore. Shared conformance covers stale snapshots for changed and no-op patches, rejection without writes or receipts, matching snapshots, and successful receipt replay. The independent simulator is corrected too. The mutation fingerprint is unchanged because Firestore excludes expected_chat_state. The full shared run also exposed a cell folder-deletion parity defect: rehoming overwrote folder_user_set instead of preserving the stored marker. The one-line cell correction follows Firestore and the independent simulator; the existing shared parametrized regression covers absent, false and true markers, with and without a default folder, inside and outside a UoW. Round-2 focused regressions passed all 14 cases, and the final required simulator/Firestore-emulator/Postgres conformance plus migration run passed all 225 cases with no skips. Full backend typecheck passed with zero errors. At the round-2 handoff the full selected unit run was still in progress; its unchanged timeout-probe and Opus-discovery failures both pass isolated replay (16 and 68 tests respectively). No whole-suite green is claimed; terminal counts and preflight results will be recorded before handoff. ## Review fixes (round 3) Cell and simulator now preserve terminal/paused/background goals on unfocus, reject invalid relationship dispositions, and apply the same strict workstream patch schema as Firestore so identity and account generation cannot change through update. Shared tests assert no writes on rejection and that rejected requests do not consume idempotency keys. Round 4 restores `backend/database/{folders,goals,workstreams}.py` and `test_firestore_query_contract.py` exactly to their pre-round-3 contents (61e183e). Firestore folder/event serving behavior and read costs stay unchanged. Cell and simulator exclude missing or null discarded fields from default folder listings, matching Firestore's server-side `discarded == False` predicate before pagination. Include-discarded behavior and the historical post-pagination deleted filter are preserved. Cell event queries keep a guarded numeric cast and apply stored-type ordering and the query limit before validating the existing Firestore presentation model; malformed rows consume window slots and are then dropped. Workstream numeric inequality excludes nonnumeric stored types; goal ordering includes them. Valid integer strings above bigint range remain readable, with no bigint cast. Oversized doubles consume their query slot and are then dropped, matching Pydantic's existing float-to-int range check; the cell accounts for JSONB decoding integral doubles as Python integers. Shared cases cover malformed strings, null, objects, arrays, fractional/zero/negative/boolean/timestamp sequences, a one-row window consumed by malformed parent IDs/kinds/summaries, missing ordered fields, numeric versus string ordering, and document-key tiebreaks. People name lookup remains string-only in cell and simulator. Migration 0003 adds all ten generated columns with one ALTER TABLE, preventing repeated table rewrites. Its name remains 0004_task_workflow_typed.sql for lead-owned merge-time renumbering, and the checksum and migration contract are updated. Round-4 validation supersedes the earlier round-3 result: required simulator/Firestore-emulator/Postgres shared conformance and cell migration tests passed all 327 cases without failures or skips. All 17 focused unit files passed 1,036 cases, including all 50 restored query-contract cases; the standard unit runner deselected one slow query-shape sentinel. The full preflight then included that sentinel and passed all 840 Firestore guard cases and all 39 checks (550.42 seconds). Environment preflight passed 17 checks with 9 optional warnings and 0 failures. Canonical full backend typecheck passed with 0 errors / 76,784 warnings. The initial preflight timed out the query-shape file at its default 300-second budget; the retry used the supported 1,800-second local per-file override, with no assertion, repository timeout or guard changes. An ad hoc typecheck omitted --pythonpath and reported missing dependencies; the canonical backend/scripts/typecheck.sh invocation explicitly bound this worktree's Python and passed. A conservative 2,694-file unit attempt was stopped after focused coverage passed, following the lead's earlier publication-gate scope. No full-unit-suite or CI green is claimed. No GCP tier, production access, push or PR creation was used. ## Known parity differences No unavoidable bigint-range result difference is known for Firestore-storable values: shared tests require identical accepted large integer strings and rejection of oversized doubles. Firestore does not store integer-typed values outside signed 64-bit range. Cell numeric fields outside that range are dropped after LIMIT, matching the only Firestore-storable numeric representation (double); integer strings are preserved without that bound. This PR does not enroll or serve cell owners. ## Review fixes (round 5) Cell folder pagination now returns the exact SQL ordering key as JSONB text with each row and uses that text unchanged in the next cursor. This removes Python repr differences for legacy objects and arrays, preserves SQL numeric precision, and works for persisted rows and pending UoW writes. PostgreSQL regressions put page boundaries on arrays and non-datetime objects, including equal values with document-key tiebreaks and page sizes one and two. Migration 0003 retains its filename and one ALTER TABLE for all ten generated columns, with its checksum re-pinned. The folder list and expression index share the immutable cell_folder_order_key(q_order) function. The action-item list index matches the query's coalesced completion, due-null marker, due epoch, negative created epoch, and document-key expressions. Explicit UTC extraction makes the epoch expressions immutable without changing ordering. EXPLAIN regressions inspect the actual adapter queries and require their named indexes with no Sort or Incremental Sort. Before the fix, all ten new regressions failed: eight pagination cases skipped rows and both index cases required a sort. After the fix, all 31 migration/typed-cell tests passed. No production access, GCP tier, push, PR creation, main merge, full selector, full preflight or repository typecheck was used in round 5; the lead owns the publication gate. Round-5 terminal validation: required shared simulator/Firestore-emulator/Postgres conformance passed all 306 cases with no skips, and the nine directly related file-isolated unit suites passed all 167 cases. Together with the 31 migration/typed-cell cases, all 504 focused cases passed. Firestore emulators shut down normally; all verification commands and the task-owned heartbeat are stopped. Commit: 7a15c78. ## Review fixes (round 6) Raw and typed cell writers now take document/missing-key locks before the admission/sequence head. The typed UoW retains its per-space advisory serialization, but no longer locks space_heads before the body; raw flush locks all buffered addresses before checking the writable-space fence and replay receipts. The fence, sequence allocation, change log and receipt writes remain in the same transaction through commit. Four two-connection PostgreSQL regressions cover existing and missing rows, raw read-before-write and buffered-only writes, with a one-second lock_timeout and retries disabled. Each verifies distinct connection PIDs, both commits, the final shared row and the sequence head. The shared event decoder rejects numeric values below -9223372036854775808 as well as above 9223372036854775807. Eight real JSONB round-trip cases verify both numeric bounds, integral doubles losing their float type, and preservation of integer strings outside the numeric range. Migration 0004_task_workflow_typed.sql is unchanged. The pre-fix regression run reproduced six failures (four lock-order cases and two lower-bound cases), with six passing boundary controls. After the fix, the complete migration/typed-cell and raw-cell suites passed all 71 cases with no skips. No full selector, full preflight or repository typecheck was run in round 6; the lead owns the publication gate. No production access, GCP tier, push, PR creation or main merge was used. Round-6 terminal validation: all 547 focused cases passed with no failures or skips (71 migration/raw-cell cases, 306 required simulator/Firestore-emulator/Postgres shared cases, 170 directly related file-isolated unit cases). Backend Pyright scoped to the four changed Python files passed with zero errors / 733 warnings. The initial typecheck identified the regression's deliberate protected-method instrumentation; its single targeted annotation documents that test seam. The pinned formatter left all four files unchanged, and git diff --check passed. All verification commands and disposable stores have stopped, and the task-owned heartbeat was verified by PID/parent and terminated. Code commit: cf43cce. No artifacts were committed. ### Review fixes (round 10) - **Strict generation checks on link paths.** `resolve_work_intent`, `import_task_goal_links` and `validate_task_relationship` compared generations with Python equality, so a boolean `false`/`true` passed the generation 0/1 guards. They now use the typed `generation_matches` helper, which reads the raw row (the entity model would coerce a boolean to an int). The simulator twin gets the same checks, including its create-reuse, document-id and `list_open` paths. - `test_wrong_typed_generation_refuses_task_goal_links` covers boolean, string and fractional generations; it fails on the previous head. - Verified: 15 cells, workstream, goal, action-item and cell-store conformance suites, 321 passed. ### Review fixes (round 11) - **Key projections keep the JSON type.** `q_conversation_id`, `q_idempotency_key` and `q_goal_id` in migration 0004 now project only JSON strings, so a legacy numeric `idempotency_key: 123` no longer matches a request for `"123"`. The simulator already compared typed values. `q_status` is unchanged, since a NULL there would read as `active`. The pinned 0004 checksum in the migration test is updated (0004 has never been applied outside tests). - `test_numeric_legacy_idempotency_key_does_not_match_string_request` fails on the previous migration and passes now. - Verified: the same 15 suites, 322 passed. ### Review fixes (round 12) - **Pending overlay matches migration 0004.** The read-your-writes overlay in `space_store.py` now projects `q_conversation_id`, `q_idempotency_key` and `q_goal_id` as string-only, exactly like the generated columns, so a numeric legacy key edited in the same unit of work no longer matches a string request. `test_pending_overlay_keeps_numeric_idempotency_key_typed` fails on the previous head. - The same rule now covers the two remaining id lookups this PR adds: folder conversations by `folder_id` and workstream artifacts by `workstream_id` match only string-valued ids, as the simulator's typed equality does. - Verified: the workflow, cells and conformance suites (323 passed) plus 12 folder test files run one per process (99 passed). ### CI fix (round 12b) - **Migration 0004 on a fresh PostgreSQL 17 database.** CI failed `test_cell_wipe_step`, `test_directory_router` and `test_cell_store_conformance` at collection time with `function cell_query_timestamp(jsonb) does not exist`. PostgreSQL 17 builds expression indexes under `search_path = pg_catalog, pg_temp`, so the SQL `cell_folder_order_key` could not resolve the decoder while building `cell_docs_folder_order`. The function now pins `SET search_path FROM CURRENT`. Reproduced locally on a fresh database: the old migration fails a `REINDEX` under the restricted path, and the new one passes. `test_folder_order_index_rebuilds_under_restricted_search_path` covers it. The pinned 0004 checksum is updated. ### Review fixes (round 13) - **Consistent row-lock order.** `delete_batch`, `get_by_ids` and `import_task_goal_links` read (and so lock) rows in caller order, while buffered raw writes lock in sorted `(entity, entity_id)` order at flush; two such transactions could deadlock. A new `_lock_in_order` helper reads the ids sorted first, in flush's entity order (action items, then goals, then workstreams), before the body runs. `test_multi_row_bodies_lock_rows_in_flush_order` fails on the previous head. - Verified: workflow, cells and conformance suites, 325 passed.
Git-on-my-level
added a commit
that referenced
this pull request
Nov 10, 2026
## Problem and change GMP pusher had 25 targets and `sum(up)=0` at both 2026-11-08 13:45Z and 13:56Z (scope investigation, not a new measurement in this implementation). The pusher scrape gap remains all-down: cl2-fixnow reports a newer verification at **2026-11-09 00:10Z of 19 targets, 0 up**. The earlier count was 25 targets, 0 up; the target count changed, while scrape availability remained zero. This implementation did not independently remeasure production. The authenticated PodMonitoring was shipped without its app-namespace scrape Secret and collector RBAC prerequisites. The missing RBAC was measured; Secret absence and the exact scrape error were inferred because read-only access cannot inspect Secrets or per-target errors. ## ACCESS CHANGE — approval required **ACCESS CHANGE: new secret copy in the app namespace + RBAC for the Google-managed collector. David's approval is required before merge. Do not merge or deploy before that approval.** - Sync `metrics-scrape-token` key `token` through the existing backend-secrets SecretStore in both `prod-omi-backend` and `dev-omi-backend`. Derive its remote key from the existing app `METRICS_SECRET` mapping (currently remote key `METRICS_SECRET` in both stages), with the existing refresh interval and Owner policy. - Each pusher/listen release owns its own Role/RoleBinding for `gmp-system/collector`, limited to `get/list/watch` on the named `metrics-scrape-token` Secret. Render both only when `podMonitoring.enabled` is true. - Pin dev/prod renders, source-key linkage, RBAC scope and monitoring-disabled behavior in Helm render regression tests. App `/metrics` token enforcement remains unchanged. The record-seal-worker scrape was fixed separately in [#24931](#24931); that independent fix is not part of this PR. ## Required deployment sequence after approval 1. **backend-secrets first**, for each environment: apply the updated chart through `backend/scripts/deploy-backend-secrets.sh` in its approved deploy context. Wait separately for ExternalSecret `metrics-scrape-token-store` Ready and confirm the target Secret has key `token` without printing its value. The helper currently waits/force-syncs only the existing app ExternalSecret; its success does not establish readiness of the new token copy. 2. **Pusher chart next**: roll pusher, or Helm-upgrade its chart while retaining the running image/digest and existing release overrides, to apply its Role/RoleBinding. Standalone `.github/workflows/gcp_backend_pusher.yml` does not apply backend-secrets; only its optional LLM Gateway branch calls `deploy-llm-gateway.sh`, which applies secrets first. Development auto-pusher also upgrades only pusher. A pusher-only roll cannot supply the Secret. 3. **Listen with its operator-approved 22:00Z roll**: apply the updated backend-listen chart and its Role/RoleBinding. `.github/workflows/gcp_backend_listen_helm.yml` has `Upgrade backend-secrets Helm chart` immediately before `Upgrade backend-listen Helm chart`. The full backend workflow (`gcp_backend.yml` -> `.github/actions/deploy-backend-stack/action.yml`) also applies backend-secrets before listen when `deploy_targets=all`; Cloud Run-only does not reach this step. The listen-chart main-push trigger defaults to development; the 22:00Z prod roll remains an operator-planned action, not a schedule added by this PR. 4. Verify nonzero target counts plus `sum(up{job="prod-omi-pusher"}) == count(up{job="prod-omi-pusher"})`. After listen's roll require `sum(up{job="prod-omi-backend-listen"}) == count(up{job="prod-omi-backend-listen"})`. Also require `pusher_active_ws_connections` / `backend_listen_active_ws_connections` series under their respective GMP job names. Use the analogous dev jobs in dev; dev runtime health was not measured by this task. This PR applies no live resources and dispatches no workflows. ## Rollback Revert and reapply the three charts to remove the new token copy and access, or set `podMonitoring.enabled=false` on pusher/listen and upgrade them to remove the monitors and collector RBAC. Disabling monitoring leaves the separately managed token copy in place. ## Validation - `omi-heavy run -- backend/.venv/bin/python -m pytest -q backend/tests/unit/test_serving_podmonitoring_chart.py backend/tests/unit/test_backend_secrets_chart.py`: 8 passed, 3.11s after merging current main (2026-11-09T01:37:36Z; head `6f526c62fdb26966f01d0bff4f91c4fd6402da57`). - Dev/prod `helm lint` for backend-secrets, pusher and backend-listen: all six passed; strict lint with synthetic image settings also passed 6/6 (2026-11-08T14:31:30Z). - Fresh guarded-push preflight: **43 checks passed in 313.87s**, followed by the selected **38 backend test files** and the complete bounded pre-push gate. Push completed successfully (log timestamp 2026-11-09T01:44:53Z; verified at 01:45:54Z). Previous publication blockers are fixed on main: [#24948](#24948) scopes the Parakeet cleanup timeout to its receiver task, and [#24950](#24950) repairs the dated flag-registry gate. This branch merged current `origin/main` without rebasing and includes both fixes. Fresh render validation and the full guarded push passed with `TZ=UTC` and `BACKEND_UNIT_FILE_BUDGET_SECONDS=900`; no tests or hooks were skipped. The remote branch matches head `6f526c62fdb26966f01d0bff4f91c4fd6402da57`. GitHub CI is separate from these local checks. No production/data reads in this implementation; no GCP tier used. Local render checks do not establish live GMP recovery. ## Product invariants affected none Failure-Class: none Failure mechanism: deploy gap — PodMonitoring shipped without its auth prerequisites. No registered failure class directly covers this access-prerequisite omission; this PR adds behavioral render guards without editing the failure-class registry. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/24961?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/24961?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F24961&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. -->
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.
The receiver-cleanup test shortened every
asyncio.wait_for(..., timeout=10)to 10 ms, including the production client's startup and readiness waits. Under host load, connection setup could time out before cleanup was exercised, blocking unrelated pushes.Match the awaited receiver task by its coroutine code before shortening its timeout. Startup, readiness, and sender waits retain their original deadlines. Only the existing test fixture changes.
Failure-Class: none
Failure mechanism: test fixture over-broad timeout patch. The closest registered fixture-signature class concerns arity drift, which did not occur here; this correction adds no registry definition.
Product invariants affected
none
Validation
omi-heavy: 34 passed each, 2026-11-08 16:30:39Z–16:39:24Z. Native-thread caps matchbackend/test.sh; each process has the runner's 300 s budget. Sampled 1-minute host load: 43.59–55.11.backend/test.shwith 20 file-isolated copies,BACKEND_PYTEST_WORKERSunset: all 20 passed (680 test passes), default 18 workers, 16:21:59Z–16:24:37Z. Start/end host load: 46.99 / 73.73.make preflight: 35 checks passed (757.08 s).TZ=UTC scripts/pr-preflight --pr-body-file ...: 35 checks passed (889.34 s). UTC uses the actual current date and matches the CI clock; no check is skipped.Earlier serial attempts hit an unchanged
test_stream_timeout_retains_diagnosticsfailure and a stall inferred from progress to be in the unchanged main-handler fixture. Both incomplete attempts are retained in the task report. No production defect is asserted from them; the successful serial and parallel sets above exercise the entire file.The default-timezone PR preflight crossed local midnight (Nov 9) and failed the unchanged registry row
ACTION_ITEM_REFRESH_PRESERVE_ENABLED(review_by: 2026-11-01). Current UTC remained Nov 8, within the seven-day grace. The failed run is preserved in the report. No flag, grace period, or exception was changed; this independent date-dependent gate still needs its owner’s review. The guarded push usesTZ=UTCexplicitly.The first guarded push also hit the unchanged lifecycle-writer contract file’s 300 s process deadline at about 51%, with no assertion failure reported; the Parakeet file passed all 34 cases in that hook. Publication retries use the runner’s supported
BACKEND_UNIT_FILE_BUDGET_SECONDS=900override, retaining default workers, all selected tests, and the per-test CPU guard.