Repository navigation
feat(lastcode): add durable remote update drain state - #60
Conversation
commented
Aug 22, 2026
|
@codex review |
left a comment
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d598066e9d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
commented
Aug 22, 2026
|
@codex review |
left a comment
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8b097275f7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
commented
Aug 22, 2026
|
@codex review |
commented
Aug 22, 2026
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
5d5757d to
adcf395
Compare
commented
Aug 22, 2026
|
@codex review |
commented
Aug 22, 2026
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
87ce8eb to
3b35a43
Compare
adcf395 to
54f14e5
Compare
commented
Aug 22, 2026
|
@codex review |
commented
Aug 22, 2026
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Part of #38.
Remote Intel updates need one durable, inspectable drain intent before later work can close admission and wait for active clients. Without that state boundary, retries or a server restart could lose which update request is active.
This adds typed start, status, and cancel RPCs backed by an event-and-receipt repository and SQLite migration. Commands are serialized, idempotent by command ID, reject conflicting or stale requests, survive restart, and expose cancelled terminal state without treating a different cancelled request as active. The RPCs require the existing update-administration authorization scope.
This PR records and reports drain intent only. It does not close admission, disconnect clients, install or activate an update, schedule work, stop or restart LastCode, or change remote exposure.
Focused validation passed 139 tests across contracts, migration, authorization, drain state, repository orchestration, and server routing. Contracts and server typechecks, targeted lint/format checks, exact patch-identity verification after rebase, and the normal four-stage LastCode quick-CI push guard also passed.
Built with GPT-5.6 in the Codex harness.