persisted managed-instance registry + probe-on-recovery (#376) #391
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#391
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#388 (spec), #376. Spec AD-5.
What to build
Persist each managed project instance so it survives an ocman restart, but never trust a persisted row without re-verifying health.
state.dbmigration: amanaged_opencodetable keyed by canonical repo root, storing endpoint/port, pid, kind, runtime id, launched_at.local.Host(matches the existing dep-injection pattern).EnsureProjectOpencodereads the persisted row and always re-probes (Runtime.Probe) before trusting it. Healthy → reuse (no launch). Dead → discard the row + relaunch. On launch, persist/update the row.Acceptance criteria
state.dband is idempotent on an existing one.Blocked by