Require the real lifecycle gate and fault rollback #495

Merged
weichen merged 5 commits from feature/svc-d3-lifecycle-gate into main 2026-10-13 01:29:06 +00:00
Owner

Summary

  • Live deploy journal now honors test-only fault injection, and health-check failure rolls back to the previous release.
  • make test-lifecycle runs the real combination suite when PostgreSQL, RDM source, and both binaries are present, and fails closed when any of them is missing.
  • Login stays NOT_RUN because the RDM binary has no account CLI. Full-track deploy stays on the svc-realcombo job.

Test plan

  • SELF: python3 -m unittest tests.test_svc_u2.U2ReleaseTests -q (35 ok, 1 skipped)
  • GATE: current HEAD CI jobs test, test-pg (make test-lifecycle), and svc-realcombo
## Summary - Live deploy journal now honors test-only fault injection, and health-check failure rolls back to the previous release. - `make test-lifecycle` runs the real combination suite when PostgreSQL, RDM source, and both binaries are present, and fails closed when any of them is missing. - Login stays NOT_RUN because the RDM binary has no account CLI. Full-track deploy stays on the svc-realcombo job. ## Test plan - [x] SELF: `python3 -m unittest tests.test_svc_u2.U2ReleaseTests -q` (35 ok, 1 skipped) - [ ] GATE: current HEAD CI jobs test, test-pg (`make test-lifecycle`), and svc-realcombo
weichen added 2 commits 2026-10-13 01:14:39 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-svc-d3-lifecycle-gate.md; R0=5212fef01e59b7f9e12fa7fc42cd987c6792a786.

Impact: task metadata only; the feature workspace starts at 5212fef01e.

Refs: .task/feature-svc-d3-lifecycle-gate.md
Require the real lifecycle gate and fault rollback
ci / svc-realcombo (pull_request) Successful in 1m45s
ci / test-pg (pull_request) Successful in 2m53s
ci / test (pull_request) Successful in 4m45s
67d6fd81cd
Why: The live deploy journal never called fault injection, and test-lifecycle failed closed on login so CI could not require the real combination cases.
Evidence: SELF python3 -m unittest tests.test_svc_u2.U2ReleaseTests -q exit 0 (35 ok, 1 skipped) on 3602a87; receipt sha256 9b5785577751e8e9e7947cf9700fb8854b1c80142f34273ae25f3097ee4c9aa8.
Impact: test-pg builds the Dev binary and runs make test-lifecycle. Login and full-track deploy without SVC_RDM_ORIGIN stay NOT_RUN. No live data move and no account CLI.
Refs: recovery plan D2/D3; Dev #485
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-13 01:16:04 +00:00
Record the lifecycle PR and the read-only instance check
ci / svc-realcombo (pull_request) Successful in 1m54s
ci / test-pg (pull_request) Successful in 2m49s
ci / test (pull_request) Successful in 4m44s
a500e86b5d
Why: The task card needs the pull request link and the decision not to move live instance data before review.
Evidence: SELF python3 /tmp/d1d3-ro-instances.py exit 0; receipt sha256 895676aabddf85c5b36966428204fde160846b70ac5a8b5eb90ab8037bb0897a. An earlier evidence attempt failed on a broken checker and is kept.
Impact: No runtime data was moved. Login and authenticated rdm.ping stay NOT_RUN.
Refs: Dev #495
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 2 commits 2026-10-13 01:24:05 +00:00
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=5212fef01e59b7f9e12fa7fc42cd987c6792a786; candidate=a500e86b5d0db5ac03a98e00c815b427f24db619.

Impact: task metadata only.

Refs: .task/feature-svc-d3-lifecycle-gate.md
Record the sync checkpoint evidence and rerun
ci / svc-realcombo (pull_request) Successful in 1m46s
ci / test-pg (pull_request) Successful in 2m40s
ci / test (pull_request) Successful in 4m36s
c197b7565b
Why: The release tests must be bound to the commit that contains the lifecycle changes, and the pre-merge sync has to be on the card.
Evidence: SELF make task-sync exit 0, receipt sha256 ef762f87ad785ef9a1759e2686a992353161e35c7a80b726e01133f1779329af. SELF python3 -m unittest tests.test_svc_u2.U2ReleaseTests -q exit 0 on 0dce930 (35 ok, 1 skipped), receipt sha256 cfe7aea9e6bb09f7a169a4caab3c1c89b4b3138c4e08fa11f53bf12d13caa46a.
Impact: Task metadata only. origin/main 5212fef was already contained.
Refs: Dev #495
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 6ecf903757 into main 2026-10-13 01:29:06 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#495