conductor(plan): Mark phase 'Phase 1: Container Environment Preparation' as complete

This commit is contained in:
2026-02-09 05:51:50 -08:00
parent 51b8fce10b
commit 27b10a39b8

View File

@@ -0,0 +1,22 @@
# Plan: Implement TTL Heartbeat Service Registration (`implement_ttl_heartbeat`)
## Phase 1: Container Environment Preparation [x] [checkpoint: 51b8fce]
- [x] Task: Update `Dockerfile` to install `curl` and `jq` (f7fe258)
- [x] Task: Verify `litefs.yml` points to `entrypoint.sh` (should already be correct) (verified)
- [x] Task: Conductor - User Manual Verification 'Phase 1: Container Environment Preparation' (Protocol in workflow.md)
## Phase 2: Script Implementation [ ]
- [ ] Task: Refactor `entrypoint.sh` with the TTL Heartbeat logic
- [ ] Implement `register_service` with TTL check definition
- [ ] Implement `pass_ttl` loop
- [ ] Implement robust `stop_app` and signal trapping
- [ ] Ensure correct Primary/Replica detection logic (LiteFS 0.5: Primary = No `.primary` file)
- [ ] Task: Conductor - User Manual Verification 'Phase 2: Script Implementation' (Protocol in workflow.md)
## Phase 3: Deployment and Verification [ ]
- [ ] Task: Commit changes and push to Gitea to trigger build
- [ ] Task: Monitor Gitea build completion
- [ ] Task: Deploy updated Nomad job (forcing update if necessary)
- [ ] Task: Verify "Clean" state in Consul (only one primary registered)
- [ ] Task: Verify Failover/Stop behavior (immediate deregistration vs TTL expiry)
- [ ] Task: Conductor - User Manual Verification 'Phase 3: Deployment and Verification' (Protocol in workflow.md)