Acceptance smoke cold-start handling
python manage.py run_sandbox_regression --suite=read-only-smoke remains a
GET-only reachability check, separate from signing/donation recovery, Salesforce
checks and the legacy scheduler. Do not invoke the mutable suite for validation.
Policy
- Keep the six validated manifest targets and the existing per-request timeout setting (1..30 seconds). Backend timeout gets one retry after one second.
- HTTP errors, DNS/TLS errors and other targets never retry. Only 2xx passes,
with one explicit exception: FRAPI root 404 means reachability only when both
requested and final response URLs use the configured FRAPI HTTPS origin,
root path (empty or
/), and no query or fragment. Another acceptance host, a redirected non-root/query URL, or missing/invalid final URL must fail. The same rule covers returned responses and raised HTTP errors; explicit HTTPS port 443 is equivalent to the default port. No response body is needed. Surrounding whitespace in the configured base is stripped consistently with the target manifest; requested and final response evidence stays unchanged. - A 210-second POSIX wall timer covers DNS, redirects, requests and delay. Exhaustion returns failed checks, not a green partial result. Non-main-thread execution or an already-active timer fails closed before requests.
- Redirect hosts must remain acceptance-allowlisted. Responses are closed and bodies are not retained. Evidence includes attempts, elapsed seconds and whether success required a timeout retry, without URLs or raw errors.
- The configured backend root can redirect to a login page. There is no dedicated public health endpoint in the reviewed backend contract; a 200 is not proof of database readiness or functional API behavior. Do not replace it with an invented route or add billable minimum instances.
Rollout and verification
- Obtain Adam's independent final-head review and passing CI. Coordinate any merge separately: main CI can deploy production. This corrective task does not authorize merge, production deployment or scheduler changes.
- Promote the approved image through the existing acceptance deployment path;
do not reset Job bindings or replace its smoke command with
runcrons. - Verify
lti-dev-cron: one task, parallelism one, 240-second timeout and zero task retries; preservelti-dev-cron-triggerand production settings. - Capture a manual read-only smoke report, image digest, execution name, terminal status and sanitized per-check retry evidence.
- Separately capture the next 08:00 America/Belize Scheduler invocation and its matching terminal execution. A manual run is not clock-triggered proof.
- If errors persist, retain the failed report and investigate the affected service. Do not extend timeouts/retries or replay queues to make it green.
Record the pre-deployment image/config for rollback. A rollback changes only the approved acceptance image through the existing deployment process; no data rollback is needed because the smoke does not mutate application data.
The final-URL correction is tracked by Asana task 1219917464062987. Completing its implementation handoff does not prove rollout: verify the deployed service and Job image/digest, command and limits, then retain manual and clock-triggered reports separately in the owned rollout follow-up. A scheduler dispatch HTTP 200 or an older-image successful execution is not proof of this correction.