Merge remote-tracking branch 'origin/main' into codex/mcp-control-plane-20260715
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
ogt
2026-07-15 02:49:05 +08:00
2 changed files with 2 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ _RUNTIME_RECEIPT_SINGLE_QUERY_TIMEOUT_SECONDS = 0.75
_RUNTIME_RECEIPT_STATEMENT_TIMEOUT_MS = 700
_LOG_CONTROLLED_WRITEBACK_CONSUMER_TIMEOUT_SECONDS = 4.0
_LOG_CONTROLLED_WRITEBACK_CONSUMER_READBACK_CACHE_TTL_SECONDS = 120.0
_RUNTIME_RECEIPT_READBACK_CACHE_TTL_SECONDS = 60.0
_RUNTIME_RECEIPT_READBACK_CACHE_TTL_SECONDS = 20.0
_RUNTIME_RECEIPT_READBACK_STALE_FALLBACK_TTL_SECONDS = 300.0
_AUXILIARY_RUNTIME_RECEIPT_QUERY_NAMES = {
"alert_operation_counts",

View File

@@ -60,7 +60,7 @@ def test_priority_work_order_defaults_to_source_backed_readback() -> None:
assert '"dedicated_runtime_readbacks"' in source
def test_runtime_readback_caches_outlive_one_ui_poll_cycle() -> None:
def test_consumer_readback_caches_outlive_one_ui_poll_cycle() -> None:
consumer_source = _read(
"apps/api/src/services/ai_agent_log_controlled_writeback_consumer_readback.py"
)
@@ -73,4 +73,3 @@ def test_runtime_readback_caches_outlive_one_ui_poll_cycle() -> None:
"_LOG_CONTROLLED_WRITEBACK_CONSUMER_READBACK_CACHE_TTL_SECONDS = 120.0"
in runtime_source
)
assert "_RUNTIME_RECEIPT_READBACK_CACHE_TTL_SECONDS = 60.0" in runtime_source