v0.9.1-rc: Release Candidate Validation & Deployment QA - #56
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
backend/scripts/check_deployment_health.pythat validates backend/health,/api/system/statusfields (version,read_only, database payload and migration status), frontend build artifacts (frontend/dist/index.html) and optionally/api/setup/requiredvia--check-setup, and fails non-zero on issues.docs/operations/release-checklist.md,docs/operations/upgrades.md,docs/operations/database-migrations.mdanddocs/operations/security.mdto cover upgrade QA matrices (fresh/older SQLite flows, safe use ofalembic stamp), Docker QA commands, reverse-proxy and HTTPS cookie guidance, and security/UX checklists.0.9.1/v0.9.1-rcacross backend and frontend artifacts and test expectations (files updated includebackend/pyproject.toml,backend/app/main.py,backend/app/core/system_status.py,backend/app/api/routes_system.py,backend/app/api/routes_health.py,frontend/package.json,frontend/src/App.tsx,README.md,ROADMAP.md,RELEASE_NOTES.md, andbackend/tests/test_api_smoke.py).Testing
cd backend && pytest -q, which completed successfully:102 passed(tests emitted warnings but all passed).cd frontend && npm run build, which produceddist/and completed successfully.python backend/scripts/check_deployment_health.py --base-url http://localhost:8000 --check-setup, which correctly failed with a clean non-zero exit when the backend service was not reachable (Connection refused), demonstrating error handling and expected behavior when services are down.Codex Task