Skip to content

feat(batch): meter provider backlog release inside the commit transaction - #25268

Merged
Git-on-my-level merged 14 commits into
mainfrom
lane/backlog-release-gate
Nov 14, 2026
Merged

Git-on-my-level merged 14 commits into
mainfrom
lane/backlog-release-gate

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Provider backlog release must stay bounded independently of fresh work. This integrates the existing hourly commit gate with current main, preserving the merged transactional fresh selection, conditional owner cursor/revision, stalled-head fallback, privacy/custody fences and projection predecessor chain.

Integrated head: e2906c45b3606b175b14dc525bf7562377d4beab. Main merged: c5cf5a2b3dd2c3b3b638a562d066dafd92334753. Successor of 7bc3c7299a5e9eb1f2a16a653b819f043cf1910e; its SHIP/CI do not apply to this head. The only merge conflict was the flag registry: preserve both meter and delivered-share entries and record count 285. Delivered-share code, indexes, serving and dashboards match current main. Feature diff: 213 changed non-test lines. The automated P2 at predecessor 42a7077 is confirmed and corrected: gate age/reach now sample the injected drain clock AFTER transactional gate retrieval, on each retry. The predecessor SHIP does not apply. Pipeline lead extended the cap by one narrow confirmation and posted gpt-6-luna SHIP at this head. Normal successor hooks passed; the single CI retry must finish green before readiness.

Behavior and scope

The default-on meter reads an uncached six-field gate (state, rate_per_hour, reach_seconds, window, tokens_used, updated_at) inside the fresh-selection transaction. Missing, malformed, stale (180 seconds), closed, exhausted and out-of-reach gates refuse backlog. Only the heartbeat determines the budget hour; merge token writes preserve updated_at. Fresh commits neither read the gate nor spend tokens. A metered result carries backlog_release: true.

Merge current main into the existing branch; no rebase. Integration fixes update the merged flag count and explicitly select legacy meter-off behavior in rollback/characterization fixtures. New cross-store conformance covers token/result atomicity, fresh independence and privacy refusal. Removed unrelated cursor budget entries so the budget diff covers only the new gate collections. No controller, heartbeat writer or migration is included: cursor 0007 is retained; unmerged parking/0008 is separate.

Service/version contract and release request

Ship CLOSED. Create no gate document, keep BATCH_PIPELINE_PROVIDER_BACKLOG_RELEASE_ENABLED=false on all committers and do not increase any rate. Absent/closed gate or rate zero commits no provider backlog. Default-on code enforcement is not activation.

Readers/writers: OrderedMerge on Cloud Run backend-integration and GKE batch worker reads all six fields and updates only window/tokens, preserving the heartbeat. Firestore/Postgres/simulator generic adapters transport it. Postgres remains dark; actual Postgres acceptance remains deferred under SCA-1959. Older versions ignore the document and obey the legacy release switch. Result projection ignores the new result marker and retains predecessor/privacy fencing. PR 4 must provide a single fenced heartbeat writer and preserve current-hour token usage.

Rollback: BATCH_PIPELINE_BACKLOG_RELEASE_METER_ENABLED=false restores the legacy default-off release switch; keep the provider release switch false throughout rollback to prevent unmetered release. Before any opening, Release must record actual serving revisions/images for BOTH committing services. Parent SCA-2015 owns the release request and live acceptance; this PR does not merge, deploy or authorize opening.

Cost and limits

One global document serializes backlog commits. Added cost: one uncached gate read per backlog attempt, one write per released row. For a ready held head/no fresh rows: nine baseline reads and four writes on release; seven reads/zero writes on refusal. Add up to two depth watermark reads, commit-time privacy reads, cursor/owner discovery and transaction retries. Explicit legacy false skips the gate read. Collection budgets are planning envelopes, not measured/enforced limits. Observed process counters may undercount lost replies/exits; durable tokens remain authoritative. Reach uses capture end; zero is unlimited.

Validation and confirmation

Pipeline lead's cap extension at17:48Z authorized exactly ONE narrow independent confirmation, already launched by the lead from m5. VERDICT: SHIP e2906c4, actual model gpt-6-luna via agentctl review pool, posted17:54Z on SCA-2251 comment 01a1db32-2683-7b10-884d-e94f9e0a50a4. No BLOCKER or SHOULD-FIX. Narrow diff 42a7077b35b3..e2906c45b360, three files +65/-9. No extra author-side reviewer or full review launched.

Confirmed by independent reviewer: post-read/post-parse sampling on every retry; raising clock aborts without token/result; no wall/monotonic mix; heartbeat-derived budget hour/token preservation; fresh unchanged. Four new deterministic regressions fail under predecessor sampling and pass now; reviewer focused suite57 passed. Author canonical batch691 passed; actual sim/Firestore-emulator/local-Postgres conformance60 passed, zero skips. Normal hooks46 checks, zero type errors (existing warnings), push exit0 with zero leftover owned processes. Assertions, timing budgets and allowlists unchanged.

Change-note assumption (nonblocking reviewer note): elapsed time must not move backwards between drain start and post-read evaluation. Production uses time.monotonic(), which satisfies it. A synthetic backwards-moving clock could make a gate appear younger and is outside this injected-clock contract. Recorded here and in the attached release change-note addendum; no code/source commit changes the reviewed SHA.

CI disclosure: first attempt had two untouched CPU misses: upload-coalescing supervisor1.08s and monthly-switch billing1.10s against unchanged1.00s. Pipeline lead reran the failed job ONCE, matching the permitted retry. That retry must pass at this exact head before readiness; no further retry, threshold/assertion/allowlist change or source edit authorized here. Existing timing-class follow-up is separate from this PR.

Train2 merge order: #25281 first, then #25268. Any resulting mechanical main merge needs the lead's confirmation at the new SHA; this SHIP does not carry to a successor. Existing release request SCA-2262 only. Provider release stays false, no gate creation/rate change. Actual serving and live acceptance remain parent/release-owned.

Failure-Class: FC-backlog-release-shares-lane-with-fresh-work

Git-on-my-level and others added 10 commits November 14, 2026 12:31
With the meter on by default the legacy release switch alone commits no
backlog. Tests and simulator goldens that describe the unmetered path
now say so explicitly; assertions unchanged.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
…s and a forward-only hour

Review of cae4dfb found three ways the hourly count could be bypassed or
the drain could raise: a gate document missing a field took a default
(a missing tokens_used reset the hour), the budget hour followed the
caller's clock so a retried body or a slow process could move it back and
reset the count, and a job without capture time or duration raised or
passed unchecked. The gate now needs exactly its six fields with valid
values, refuses a job without valid times, and never moves the hour back.
Gate read budget corrected to the default discovery rate.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Review of 8ce849c: a committer whose clock ran a few seconds fast could
cross the hour early and spend a second hourly budget inside one real
hour. The budget hour is now the hour of updated_at, the heartbeat, so no
committer clock can roll it early or move it back. A window ahead of the
heartbeat reads as closed.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Review of bbe8fdc: the 180-second heartbeat limit and the reach limit
were checked against the time the drain began, so a gate could be older
than the limit by the time the metered transaction read it, and retries
reused the same value. Each gate read now uses the drain's start time
plus the time elapsed since.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@Git-on-my-level

Git-on-my-level commented Nov 14, 2026 •

Copy link
Copy Markdown
Member Author

Independent confirmation now applies to successor e2906c4: VERDICT: SHIP e2906c4, gpt-6-luna via agentctl review pool, reported by pipeline lead at17:54Z (SCA-2251 comment01a1db32-2683-7b10-884d-e94f9e0a50a4). The lead explicitly extended the cap by ONE narrow round and launched it from m5; no duplicate author-side review or full review. Diff42a7077..e2906c4 only.

No BLOCKER/SHOULD-FIX. Confirmed post-read/post-parse age/reach sampling on every attempt; raising clock aborts with no token/result; heartbeat hour and updated_at preservation; fresh unchanged. Four regressions fail on predecessor/pass now; reviewer focused suite57 passed. Nonblocking assumption: elapsed clock must not move backwards; production time.monotonic() satisfies this. Assumption is recorded in PR change note/release addendum without a source commit.

Author canonical691 passed; actual sim/Firestore-emulator/local-Postgres60 passed/zero skips. Normal hooks46 checks, zero type errors, zero owned-process leftovers. Initial CI had two untouched CPU misses (1.08s and1.10s vs unchanged1.00s); pipeline lead's single authorized failed-job retry PASSED at this exact head: https://github.com/BasedHardware/omi/actions/runs/43618998830/job/132532893435 . Required exact-head CI is green; PR was marked ready only after SHIP plus green CI. No new retry or budget/allowlist change. Ships closed: provider=false, no gate/rate action. Train2 order #25281 first; later mechanical merge needs new-head lead confirmation. This verdict does not authorize merge/deployment/activation.

@Git-on-my-level
Git-on-my-level marked this pull request as ready for review November 14, 2026 15:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T18:03:12.239691Z e2906c4 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…-sol/83bd59235279

# Conflicts:
#	backend/config/flag_budget.json
@Git-on-my-level
Git-on-my-level marked this pull request as draft November 14, 2026 16:30
@Git-on-my-level
Git-on-my-level marked this pull request as ready for review November 14, 2026 16:47

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 42a7077b35

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread backend/utils/batch_pipeline/merge.py Outdated
Comment on lines +407 to +408
read_at = now + (time.monotonic() - started)
token, reason = backlog_release.read(tx, candidate, read_at, self.commit_source)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Evaluate gate freshness after the gate read completes

If the transactional gate read is slow, its latency is excluded from the freshness and reach checks because read_at is calculated before backlog_release.read() performs tx.get(). For example, a heartbeat that is 179 seconds old followed by a five-second read still grants a token, even though the heartbeat is 184 seconds old when it is evaluated. This allows backlog release after the fail-closed heartbeat deadline, particularly during Firestore latency or retries. Calculate the evaluation time after the document read returns, while preserving the injected clock behavior used by tests.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed and corrected in e2906c4. Four deterministic regression cases fail at 42a7077 and pass at the successor: heartbeat179+5s and reach99+5s versus100s, each immediately and after an eligible transaction abort/retry. They assert no token/result/heartbeat mutation on refusal and fresh bypass. OrderedMerge now passes its injected now+monotonic-elapsed clock callback; the gate reader samples it after tx.get returns, on every attempt. Heartbeat budget-hour/token semantics are unchanged. Canonical batch691 passed; actual sim/Firestore-emulator/local-Postgres conformance60 passed, zero skips. Normal hooks passed46 checks with zero type errors and zero owned-process leftovers. Successor CI running; PR stays draft and additional confirmation awaits explicit cap-owner disposition. No predecessor SHIP carried forward; provider release remains false.

@Git-on-my-level
Git-on-my-level marked this pull request as draft November 14, 2026 16:54
@Git-on-my-level

Copy link
Copy Markdown
Member Author

Narrow independent confirmation at the exact head (gpt-6-luna via agentctl review pool) of 42a7077b35b3..e2906c45b360 (gate clock sampled after the transactional gate read, on every retry): no BLOCKER or SHOULD-FIX. VERDICT: SHIP e2906c45b360. Note: assumes a non-decreasing clock source (production uses time.monotonic()). Focused suite 57 passed.

@Git-on-my-level
Git-on-my-level marked this pull request as ready for review November 14, 2026 17:58
@Git-on-my-level
Git-on-my-level merged commit 27abe5b into main Nov 14, 2026
83 of 85 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/backlog-release-gate branch November 14, 2026 18:18
Git-on-my-level added a commit that referenced this pull request Nov 14, 2026
## What changed and why

The original four backend unit files spent call-phase CPU re-parsing or
re-serializing large deploy documents once per test. Three more guard
failures were then reported on PR #25304 and #25268:
`test_batch_upload_coalescing.py::test_supervisor_drains_existing_holds_while_producer_off[true]`,
`test_home_transcribing_hold.py::test_stamped_capture_remains_completed_for_batch_replacement`,
and
`test_monthly_switch.py::test_switch_charges_monthly_first_then_voids_the_unpaid_yearly_invoice`.
Those three were not covered by the original #25312 diff or summary
table. Their measured calls paid for cold imports of helpers/modules
used by only one test. The imports now happen at module collection time,
outside per-test call-phase accounting.

Each YAML-heavy file parses once per process with the C loader and
deep-copies only where a test mutates. Assertions remain intact. The
three follow-up changes only move imports; no production code changed.

| File | Cost removed |
| --- | --- |
| `tests/unit/test_conversation_erasure_queue_deploy.py` | 280 KB
`deploy/runtime_env.yaml` + 82 KB `deploy-backend-stack/action.yml`
parsed in every test |
| `tests/unit/test_backend_runtime_env_validator.py` | 280 KB manifest
re-serialized through `yaml.safe_dump` before each validation |
| `tests/unit/test_pipeline_ledger_routes.py` | 160 KB
`route_policy_manifest.yaml` parsed with the pure-Python loader |
| `tests/unit/test_listen_helm_env_overrides.py` | 40 KB listen helm
workflow re-parsed for every `_step()` lookup |
| `tests/unit/test_batch_upload_coalescing.py` | Load the supervisor
modules at collection instead of importing them inside the measured test
call |
| `tests/unit/test_home_transcribing_hold.py` | Load the
recording/projection helpers at collection instead of importing them
inside the measured test call |
| `tests/unit/test_monthly_switch.py` | Preload `billing_recovery`,
which `switch()` lazily imports, before the measured test call |

## Product invariants affected

None. No production code, guard limits, allow-list entries, markers,
skips, retries, or assertions changed.

## How it was verified

The guard reports call-phase CPU (`time.process_time`), warns above 0.10
s, and fails above 1.00 s. It prints numeric per-test values only above
the warning floor; `<0.10 s` is the reportable upper bound for nodes
with no warning row. Before values below are from five recent main guard
runs:
[43613611072](https://github.com/BasedHardware/omi/actions/runs/43613611072),
[43609042294](https://github.com/BasedHardware/omi/actions/runs/43609042294),
[43608838125](https://github.com/BasedHardware/omi/actions/runs/43608838125),
[43600956507](https://github.com/BasedHardware/omi/actions/runs/43600956507),
and
[43607443879](https://github.com/BasedHardware/omi/actions/runs/43607443879),
except where a stronger PR failure is cited. The original four-file fix
was measured on PR run
[43623704701](https://github.com/BasedHardware/omi/actions/runs/43623704701).
The follow-up import changes are at head `6ccb6d91` and were measured on
PR run
[43627834886](https://github.com/BasedHardware/omi/actions/runs/43627834886):
all eight backend unit shards and backend guardrails passed. The guard
emitted no warning row for the three added test nodes, so each was below
0.10 s in that report.

Runtime-validator rows explicitly report both original run `43623704701`
and final run `43627834886`, in that order. Values without a warning row
use the guard’s `<0.10 s` reporting bound.

| Changed test node | Before (CI call CPU) | After (CI call CPU) |
| --- | ---: | ---: |
|
`tests/unit/test_conversation_erasure_queue_deploy.py::test_every_prod_dispatcher_names_the_queue_and_wipes_keep_theirs`
| 1.10 s on [#25304](#25304);
1.13 s and 1.04 s on
[#25323](#25323) | <0.10 s on
#25312 |
|
`tests/unit/test_conversation_erasure_queue_deploy.py::test_prod_contract_rejects_erasure_units_on_the_wipe_queue`
| 0.93 s on main; 0.95 s on
[#25304](#25304) | <0.10 s on
#25312 |
|
`tests/unit/test_backend_runtime_env_validator.py::test_runtime_manifest_lake_writes_allow_dev_but_require_c4_for_prod[false-1-dev]`
| 0.57 s | 0.26 s (original); 0.22 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_runtime_manifest_lake_writes_allow_dev_but_require_c4_for_prod[false-1-prod]`
| 0.55 s | 0.23 s (original); 0.22 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_runtime_manifest_lake_writes_allow_dev_but_require_c4_for_prod[true-0-dev]`
| 0.56 s | 0.24 s (original); 0.22 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_runtime_manifest_lake_writes_allow_dev_but_require_c4_for_prod[true-0-prod]`
| 0.57 s | 0.25 s (original); 0.23 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_runtime_manifest_lake_writes_allow_dev_but_require_c4_for_prod[true-100-dev]`
| 0.52 s | 0.21 s (original); 0.21 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_runtime_manifest_lake_writes_allow_dev_but_require_c4_for_prod[true-100-prod]`
| 0.57 s | 0.22 s (original); 0.22 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_dev_lake_writes_require_real_bindings[BUCKET_OBJECT_LAKE]`
| 0.53 s | 0.21 s (original); 0.21 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_dev_lake_writes_require_real_bindings[OBJECT_LAKE_KMS_KEY]`
| 0.56 s | 0.22 s (original); 0.21 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_memory_job_retirement_rejects_captured_after_window`
| 0.54 s | 0.22 s (original); 0.22 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_memory_job_retirement_rejects_reintroduced_job`
| 0.52 s | 0.22 s (original); 0.22 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_memory_job_retirement_rejects_retired_cron_env_on_request_path`
| 0.56 s | 0.27 s (original); 0.22 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_memory_job_retirement_rejects_retired_maintenance_controls_on_request_path[MEMORY_CANONICAL_CONSOLIDATION_ENABLED]`
| 0.50 s | 0.21 s (original); 0.20 s (final) |
|
`tests/unit/test_backend_runtime_env_validator.py::test_memory_job_retirement_rejects_retired_maintenance_controls_on_request_path[MEMORY_CANONICAL_MAINTENANCE_FLEX]`
| 0.52 s | 0.22 s (original); 0.21 s (final) |
|
`tests/unit/test_pipeline_ledger_routes.py::test_route_policy_manifest_declares_both_routes`
| 0.71 s peak on main | <0.10 s on #25312 |
|
`tests/unit/test_listen_helm_env_overrides.py::test_materialize_step_installs_dependencies_before_the_secret_touches_disk`
| 0.69 s peak on main | <0.10 s (both runs) |
|
`tests/unit/test_batch_upload_coalescing.py::test_supervisor_drains_existing_holds_while_producer_off[true]`
| 0.93 s peak on main; 1.04 s and 1.09 s on
[#25304](#25304) | <0.10 s on
head `6ccb6d91` |
|
`tests/unit/test_home_transcribing_hold.py::test_stamped_capture_remains_completed_for_batch_replacement`
| 0.76 s peak on main; 1.10 s on both
[#25304](#25304) runs | <0.10 s
on head `6ccb6d91` |
|
`tests/unit/test_monthly_switch.py::test_switch_charges_monthly_first_then_voids_the_unpaid_yearly_invoice`
| 0.60 s on main; 1.10 s on
[#25268](#25268) | <0.10 s on
head `6ccb6d91` |

The three new follow-up nodes ran in Backend unit shards 4/8, 6/8, and
8/8 respectively; each shard passed. Local backend unit check passed
(`1792 passed in 21.08s`). The pre-push bounded gate passed;
`scripts/pr-preflight` and static guardrail checks also passed.

## Tests

No assertions were added, removed, skipped, or weakened. Existing tests
continue to run with the imports paid once during module collection.

## UI evidence

UI-Evidence: none -- backend test-only change.

## Failure class

Failure-Class: none

## Full census of main CPU-guard warnings at or above 0.7 s

The changed nodes above are the addressed subset. The following exact
node IDs are the remaining non-allowlisted tests observed at or above
0.7 s in the five main runs `43613611072`, `43609042294`, `43608838125`,
`43600956507`, and `43607443879`:

-
`tests/unit/test_backlog_release_gate.py::test_held_audio_takes_normal_priority_only_when_granted_and_never_the_vendor_table`
-
`tests/unit/test_batch_held_dead_letter.py::test_private_requeue_rpc_is_stage_bound_authenticated_and_idempotent`
-
`tests/unit/test_batch_pipeline_custody_property.py::test_phone_hears_completed_only_when_every_unit_is_terminal[false]`
-
`tests/unit/test_batch_pipeline_custody_property.py::test_phone_hears_completed_only_when_every_unit_is_terminal[true]`
-
`tests/unit/test_batch_pipeline_left_context.py::test_kill_switch_and_onset_start_take_no_context`
-
`tests/unit/test_batch_pipeline_pull_multi_lease.py::test_batch_transaction_cuts_transactions_and_round_trips_per_lease[False]`
-
`tests/unit/test_batch_pipeline_pull_multi_lease.py::test_batch_transaction_cuts_transactions_and_round_trips_per_lease[True]`
-
`tests/unit/test_batch_pipeline_pull_multi_lease.py::test_one_shard_leases_in_the_same_order_as_one_lease_per_transaction[True]`
-
`tests/unit/test_batch_pipeline_pull_multi_lease.py::test_write_stop_before_any_lease_commits_progress_without_parking_the_shard[False]`
-
`tests/unit/test_batch_pipeline_pull_multi_lease.py::test_write_stop_before_any_lease_commits_progress_without_parking_the_shard[True]`
-
`tests/unit/test_check_cloud_run_env_drift.py::test_gke_envfrom_configmap_keys_are_compared`
-
`tests/unit/test_check_cloud_run_env_drift.py::test_gke_helm_render_accepts_deployed_override_args`
-
`tests/unit/test_conversation_delete_accept.py::test_53_same_second_deletes_all_return_204_fast_and_all_end_erased`
-
`tests/unit/test_conversation_transcript_offload.py::test_live_in_progress_transcript_crosses_document_limit[enhanced-True]`
-
`tests/unit/test_conversation_transcript_offload.py::test_live_in_progress_transcript_crosses_document_limit[standard-True]`
-
`tests/unit/test_daily_summary_job_resilience.py::test_cursor_age_metric_retains_abandonment_signature_then_resets_on_fresh_tick`
-
`tests/unit/test_daily_summary_job_resilience.py::test_due_local_hours_include_half_and_quarter_hour_zones`
-
`tests/unit/test_enrichment_route.py::test_legacy_sync_handler_delegates_to_the_consumer_when_routed`
-
`tests/unit/test_episode_f_join_gate_metrics.py::test_refusal_counts_only_first_reason_and_keeps_join_without_extra_reads[owner-change0-snapshot]`
-
`tests/unit/test_lifecycle_invariants.py::test_latch_clause[batch:leased/entry_deadline]`
-
`tests/unit/test_live_stt_restart_burst_sim.py::test_sim_soniox_promotes_within_twenty_minutes_of_the_escape`
-
`tests/unit/test_memories_delete_batch_chunk.py::test_unlock_helpers_fence_deletion_visible_after_memory_page[None-conversations]`
-
`tests/unit/test_memory_replace_policy.py::test_canonical_dense_capture_is_bounded_before_atomic_replacement`
-
`tests/unit/test_monitoring_adapter_hpa_contract.py::test_hpa_and_adapter_changes_select_this_contract`
-
`tests/unit/test_pinecone_partition_migration.py::test_qualify_counts_every_split_upsert_in_generation_and_can_commit`
-
`tests/unit/test_pinecone_partition_migration.py::test_wide_page_splits_by_complete_serialized_payload_without_losing_records`
-
`tests/unit/test_pipeline_sim_vendor_drills.py::test_holds_never_outlive_the_outage_by_more_than_one_redrive[3600.0]`
-
`tests/unit/test_prerecorded_vendor_fail_fast.py::test_detect_failure_outcomes[post0-quota]`
-
`tests/unit/test_prerecorded_vendor_fail_fast.py::test_detect_outcome_accepted`
-
`tests/unit/test_record_gap_fill.py::test_empty_retained_set_needs_a_valid_start[nan]`
-
`tests/unit/test_record_gap_fill.py::test_empty_retained_set_needs_a_valid_start[None]`
-
`tests/unit/test_record_gap_fill.py::test_empty_retained_set_needs_a_valid_start[not-a-time]`
-
`tests/unit/test_record_seal_cluster_repair.py::test_jobs_kill_switch_restores_exact_old_hash_scan[off]`
-
`tests/unit/test_replay_harness_capture.py::test_bucket_names_come_from_backend_config_and_runtime_overrides`
-
`tests/unit/test_soniox_batch_async.py::test_poll_wait_releases_http_permit_and_never_repeats_submission`
-
`tests/unit/test_text_window_abstention.py::test_mixed_invalid_text_applies_owner_without_labeling_bad_segment[window0-first]`
-
`tests/unit/test_verify_backend_release_vector.py::test_deploy_script_argparse_percent_escapes[backend/scripts-*.py]`
-
`tests/unit/test_voice_message_syncing_cleanup.py::test_cleanup_leaves_other_users_and_other_folders_alone`
-
`tests/unit/test_voice_message_syncing_cleanup.py::test_voice_question_wav_in_syncing_dir_is_deleted_after_the_stream`
-
`tests/routers/test_import_transcripts_route.py::test_route_policy_records_the_byok_check_its_auth_runs`

Already allowlisted with written reasons (not changed; the `[1]`
parameterized row appeared in the main census and is covered by this
base-node allow-list entry):

-
`tests/unit/test_speaker_learning_round2.py::test_legacy_admission_bounds_candidates`
-
`tests/unit/test_sync_input_limits.py::test_opus_disk_full_mid_file_raises_capacity_pressure_and_keeps_no_prefix`
-
`tests/unit/test_batch_live_preview.py::test_all_three_cohorts_share_batch_bucket_and_summary_survives_admission_rollback`
-
`tests/unit/test_batch_pipeline_pull_multi_lease.py::test_long_heads_never_push_one_transaction_past_the_write_budget[None]`
-
`tests/unit/test_batch_pipeline_pull_multi_lease.py::test_long_heads_never_push_one_transaction_past_the_write_budget[1000000]`

The remaining nodes are workload/structural costs or runner-sensitive
isolated imports, not repeated parsing of the large deploy documents
fixed here. The HPA selector test walks 27 chart sources; the batch
transaction, custody, partition, lifecycle and outage drill nodes
exercise the volume or state space named in their assertions. No guard
exception was added for any of them.

## Still open

Merge and the post-merge “next three main runs” check belong to the
merge/verify stages. After merge, report those run links and per-test
results on the issue; then post the merge SHA so the lifecycle owner can
sync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant