|
All checks were successful
deploy / deploy (push) Successful in 52s
Same pattern as the raw quotes fix (previous commit), now extended to all detail tables: swap_demand_events, trade_decisions, execute_trade_commands, trade_execution_results, quote_outcome_attributions. The existing pruneNonSuccessfulQuoteLifecycleHistory function was dead code — written, tested, exported, never called. Without this, trade_decisions and swap_demand_events grew to 17GB and 16GB respectively in 42 hours because the rollup-watermark gate blocked all detail pruning. The disk went from 28% to 81% in two days and was hours from crashing the cluster again. Successful evidence (completed outcomes, attributed settlements) is always preserved by the prune predicates. Only non-successful detail older than the retention window is pruned. Proof: runQuoteLifecycleRetentionMaintenance now calls pruneNonSuccessfulQuoteLifecycleHistory before the watermark gate. All 313 tests pass. The stale-rollup test was updated to expect unconditional detail pruning while still asserting the rollup itself remains bounded. Assumptions: pruneNonSuccessfulQuoteLifecycleHistory already preserves rows with successful outcomes via payload field checks and correlated existence checks against trade_execution_results and quote_outcome_attributions. Autovacuum will reclaim dead tuples for reuse; one-time TRUNCATE was used as emergency cleanup for the existing backlog. Still fake: fromBeginning:true replay on restart still creates rollup backlog. local-path PVC sizes are not enforced (platform issue). No disk monitoring (platform issue). Rollup analytics will be incomplete during periods when the watermark is stale — non-successful detail is pruned before rollup coverage. |
||
|---|---|---|
| .. | ||
| alert-engine.test.mjs | ||
| alert-notifier.test.mjs | ||
| armed-state-store.test.mjs | ||
| bootstrap_script_static_test.py | ||
| bridge-assets.test.mjs | ||
| config-assets.test.mjs | ||
| deploy-workflow-static.test.mjs | ||
| environment-status-history.test.mjs | ||
| executor-command-expiry.test.mjs | ||
| executor-queue-delay.test.mjs | ||
| executor-state-store.test.mjs | ||
| funding-observations.test.mjs | ||
| history-writer-refresh-config.test.mjs | ||
| history-writer-refresh-policy.test.mjs | ||
| history-writer-static.test.mjs | ||
| intent-request-outcomes.test.mjs | ||
| intent-requests.test.mjs | ||
| inventory-and-history.test.mjs | ||
| inventory-sync-static.test.mjs | ||
| json-state-store.test.mjs | ||
| kafka-topics.test.mjs | ||
| legacy-schema-compat.test.mjs | ||
| liquidity-state.test.mjs | ||
| liquidity-supported-tokens.test.mjs | ||
| liquidity-withdrawals.test.mjs | ||
| maker-timing-competitiveness.test.mjs | ||
| market-data.test.mjs | ||
| near-intents-status.test.mjs | ||
| near-intents-ws.test.mjs | ||
| notification-client.test.mjs | ||
| notification-layer.test.mjs | ||
| ntfy_manifest_test.py | ||
| operator-dashboard-api-client.test.mjs | ||
| operator-dashboard-app-static.test.mjs | ||
| operator-dashboard-dev-script.test.mjs | ||
| operator-dashboard-public-ingress-static.test.mjs | ||
| operator-dashboard-ui-static.test.mjs | ||
| operator-dashboard.test.mjs | ||
| ops-sentinel-static.test.mjs | ||
| portfolio-metrics.test.mjs | ||
| postgres-funding.test.mjs | ||
| postgres-intent-requests.test.mjs | ||
| postgres-quote-lifecycle-statistics.test.mjs | ||
| postgres-quote-outcomes-refresh.test.mjs | ||
| price-route-runtime-static.test.mjs | ||
| quote-lifecycle-retention.test.mjs | ||
| quote-lifecycle-statistics.test.mjs | ||
| quote-outcomes.test.mjs | ||
| recent-id-cache.test.mjs | ||
| render_release_manifest_test.py | ||
| repo_deployments_test.py | ||
| route-rates.test.mjs | ||
| runtime-health.test.mjs | ||
| service-snapshot-summary.test.mjs | ||
| signing.test.mjs | ||
| solver-relay-ws.test.mjs | ||
| strategy-engine-static.test.mjs | ||
| strategy-threshold-config.test.mjs | ||
| strategy.test.mjs | ||
| submission-copy.test.mjs | ||
| trade-executor-static.test.mjs | ||
| trading-config.test.mjs | ||
| unrip-resource-guardrails-static.test.mjs | ||
| verifier-salt-cache.test.mjs | ||