P0: harden full-stack smoke CI against child-process startup death #65
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority:P1
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/quasar#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #63
Problem
The observed failure pattern is especially bad because Vite successfully reports itself ready while the Common Lisp control plane crashes immediately afterward. A smoke test that only sees the frontend listener or waits a fixed delay can falsely imply the development stack is healthy.
Quasar needs explicit supervisor-level CI coverage for the combined startup contract.
Required work
Harden the real
npm run dev/ combined-stack smoke path and its CI test so readiness means all required child services are alive and usable.Cover at minimum:
Failure injection tests
Add deterministic test seams/fixtures rather than relying on flaky timing. CI should prove at least:
1immediately while Vite remains healthy -> smoke fails;The exact mechanism may use injected commands/ports/environment variables, but do not duplicate the production supervisor in a test-only implementation.
Diagnostics
On failure, surface a compact summary identifying which child failed and preserve both service logs as CI artifacts or inline grouped logs. The SQLite/CFFI crash from #64 should therefore present as a control-plane startup failure, not as a generic timeout.
Acceptance
Non-goal
Do not solve this with a longer
sleep. Readiness and liveness must be observed explicitly.