docs(release): record v0.1.9 automation retrospective
This commit is contained in:
@@ -234,6 +234,36 @@ def test_runtime_image_release_scripts_keep_builds_off_production():
|
||||
assert "docker compose --env-file \"$ENV_FILE\" build --pull=false worker" not in deploy_script
|
||||
|
||||
|
||||
def test_production_release_checklist_matches_automatic_release_contract():
|
||||
checklist = Path("docs/PRODUCTION-RELEASE-CHECKLIST.md").read_text(encoding="utf-8")
|
||||
|
||||
assert "runtime-builder" in checklist
|
||||
assert "release-<tag>.tar.gz" in checklist
|
||||
assert "apps/web/dist/index.html" in checklist
|
||||
assert "HOST_PREFIX=" in checklist
|
||||
assert "curl -fsS http://127.0.0.1:8001/health" in checklist
|
||||
assert "xiaoxia-postgres-production" in checklist
|
||||
assert "v0.1.6" in checklist
|
||||
assert "v0.1.9" in checklist
|
||||
assert "生产机补 build" in checklist
|
||||
|
||||
|
||||
def test_release_automation_retrospective_records_failed_probe_tags():
|
||||
retrospective = Path("docs/RELEASE-AUTOMATION-RETROSPECTIVE-2026-06-22.md").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
|
||||
assert "v0.1.9" in retrospective
|
||||
assert "first verified end-to-end automatic production release" in retrospective
|
||||
assert "v0.1.6" in retrospective
|
||||
assert "v0.1.7" in retrospective
|
||||
assert "v0.1.8" in retrospective
|
||||
assert "Do not use `v0.1.6`, `v0.1.7`, or `v0.1.8` as rollback targets" in retrospective
|
||||
assert "HOST_PREFIX=" in retrospective
|
||||
assert "--exclude=./dist" in retrospective
|
||||
assert "public_upload_flow=ok" in retrospective
|
||||
|
||||
|
||||
def test_backup_postgres_writes_manifest_and_version():
|
||||
script = Path("scripts/backup_postgres.sh").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user