Commit Graph
5 Commits
Author SHA1 Message Date
agent-exec-transport ed4ca46585 agent-exec transport 66144e4dc1b682e328502a65bb37b911/11b7729d1914
ci / svc-realcombo (pull_request) Successful in 2m11s
ci / test (pull_request) Successful in 7m30s
ci / test-pg (pull_request) Successful in 10m9s
2026-10-22 00:43:17 +00:00
agent-exec-transport 301c37cb3f agent-exec transport 0795c3cbd28b688d3c32abcb7f85d3de/57311a8d7d0a
ci / test-pg (pull_request) Failing after 3m27s
ci / svc-realcombo (pull_request) Successful in 3m37s
ci / test (pull_request) Successful in 8m39s
2026-10-21 14:46:08 +00:00
agent-exec-transport b5a0abf010 agent-exec transport 846510452e89b7a0fce822868c3093f0/ca0cf803ecd7 2026-10-21 13:31:14 +00:00
weichenandCursor bf347c1dbc Add real pin tests for refuse and version switch
Why: The lifecycle gate only ran four realcombo cases. A legacy candidate and a missing or mismatched identity row must be refused before the old process stops, and the prev/sha pins must switch without changing the identity row.
Evidence: SELF unittest of the four LifecycleRealTests methods exited 0 against a private RDM clone. The pin moved to the identity merge and a later commit on the same backend pin, because the previous card-close SHAs build a binary with no ensure/verify.
Impact: make test still skips this class unless SVC_TEST_REAL, SVC_RDM_SRC_DIR and SVC_REAL_RDM_BIN are set. make test-lifecycle now runs the module. Login and rdm.ping stay NOT_RUN.
Refs: tests/integration/lifecycle/rdm.pin
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 02:05:05 +00:00
weichenandCursor e8f84b8cf1 Add a reversible release switch and a lifecycle pin
Why: an update that stops the old process and overwrites the binary cannot
get the previous version back, and a migration the old binary cannot read
must be refused before that stop. CI also had no fixed RDM SHA to build from.
Evidence: python3 -m unittest tests.test_svc_identity tests.test_svc_recover tests.test_svc_deploy_txn tests.test_lifecycle_pin passed. make test-lifecycle exits 2 when AGENT_PG_TEST_DSN is unset.
Impact: installs land in releases/<rid> and current switches with mv -T.
Deploy keeps the desired state and rolls back a non-terminal journal.
Schema compatFloor above the installed target is refused unless
--migrate-schema --confirm is paired with a backup. test-lifecycle fails
closed without PostgreSQL and an RDM checkout. Login stays NOT_RUN.
Refs: recovery plan r3.1 D2 and D3; Backend feature/d1-identity-open

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 14:43:27 +00:00