In the disconnect test on slop-cannon (request 5cd2c2), the audit log recorded "cancelled: the requester disconnected" while the activation finished successfully on the box, so neither approvers nor the log could tell whether the deploy took effect.
Deploys outlive their requester (ops::outlives_requester). deploy::execute ignores the requester's cancel token. If the requester leaves, server::see_through logs a new detached event and keeps waiting, then logs finished or failed as usual. Other operations still stop when their requester leaves.
Activation units are named after the request ID (slop-deploy-<id>-<profile>, previously a random run ID), so if the broker itself goes away mid-deploy, the audit record leads to the units' journals on each node.
The web history shows detached in the timeline and keeps the outcome as running until the deploy finishes.
docs/design.md and docs/architecture.md describe both.
Tested: cargo clippy --all-targets, nix build (new tests for see_through and the history outcome) and the VM test. No test runs a real deploy here; I can repeat the disconnect test on slop-cannon once palace runs this.
In the disconnect test on `slop-cannon` (request `5cd2c2`), the audit log recorded "cancelled: the requester disconnected" while the activation finished successfully on the box, so neither approvers nor the log could tell whether the deploy took effect.
- **Deploys outlive their requester** (`ops::outlives_requester`). `deploy::execute` ignores the requester's cancel token. If the requester leaves, `server::see_through` logs a new `detached` event and keeps waiting, then logs `finished` or `failed` as usual. Other operations still stop when their requester leaves.
- **Activation units are named after the request ID** (`slop-deploy-<id>-<profile>`, previously a random run ID), so if the broker itself goes away mid-deploy, the audit record leads to the units' journals on each node.
- The web history shows `detached` in the timeline and keeps the outcome as running until the deploy finishes.
- `docs/design.md` and `docs/architecture.md` describe both.
Tested: `cargo clippy --all-targets`, `nix build` (new tests for `see_through` and the history outcome) and the VM test. No test runs a real deploy here; I can repeat the disconnect test on `slop-cannon` once `palace` runs this.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A requester leaving cancelled the request, so the audit log said
"cancelled" while the activation it had started finished on the box.
Deploys now outlive their requester: the broker logs `detached`,
keeps waiting for the activations, and logs how they finished.
If the broker itself goes away, the activations still finish, and
their units are now named after the request ID
(`slop-deploy-<id>-<profile>`), so the audit record leads to their
journals.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev
merged commit 7c577051ba into main2026-11-26 21:44:44 +00:00
dev
deleted branch deploy-outlive-requester2026-11-26 21:44:44 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In the disconnect test on
slop-cannon(request5cd2c2), the audit log recorded "cancelled: the requester disconnected" while the activation finished successfully on the box, so neither approvers nor the log could tell whether the deploy took effect.ops::outlives_requester).deploy::executeignores the requester's cancel token. If the requester leaves,server::see_throughlogs a newdetachedevent and keeps waiting, then logsfinishedorfailedas usual. Other operations still stop when their requester leaves.slop-deploy-<id>-<profile>, previously a random run ID), so if the broker itself goes away mid-deploy, the audit record leads to the units' journals on each node.detachedin the timeline and keeps the outcome as running until the deploy finishes.docs/design.mdanddocs/architecture.mddescribe both.Tested:
cargo clippy --all-targets,nix build(new tests forsee_throughand the history outcome) and the VM test. No test runs a real deploy here; I can repeat the disconnect test onslop-cannononcepalaceruns this.🤖 Generated with Claude Code