fix(api): persist scratch/local and bound heavy compute concurrency
Independent Staging Quality Gate / validate (push) Failing after 12m34s
Independent Staging Quality Gate / publish (push) Has been skipped

Keep async job and chart-cache files across API recreates, freeze jyotish_api_server.py growth, and fail fast with 429 when rectification or high-rigor compute is saturated.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-02 06:12:23 +08:00
co-authored by Cursor
parent bf6989eccf
commit 124d3990b2
10 changed files with 530 additions and 3 deletions
+4
View File
@@ -72,6 +72,10 @@ CORE_PYTEST_TARGETS = [
"tests/test_session_management_entrypoints.py",
# Pure source/SQL regex for the birth-time journey; no runtime services.
"tests/test_birth_time_journey_contract.py",
# Freeze scripts/jyotish_api_server.py growth; new features must be modules.
"tests/test_api_server_growth_contract.py",
# Fail-fast heavy-compute concurrency gate (429 + Retry-After, health ungated).
"tests/test_api_heavy_compute_gate.py",
]
RUNTIME_TRUTH_PYTEST_TARGETS = [