Skip to content

docs(adr): propose 0055, device remove deletes an idle simulator or emulator (#1131) - #1132

Closed
leonardoxr wants to merge 4 commits into
callstackincubator:mainfrom
leonardoxr:feature/1131-adr
Closed

leonardoxr wants to merge 4 commits into
callstackincubator:mainfrom
leonardoxr:feature/1131-adr

Conversation

@leonardoxr

Copy link
Copy Markdown
Contributor

ADR 0055 for #1131, at Proposed. device remove (DELETE /v1/devices/{id}) also deletes an idle simulator or emulator by its dev_… id, through the lifecycle's existing dispose under a new removal claim: shut down when ready, then deleted, with device.shutdown and device.deleted at initiator operator. A leased or busy device gets DEVICE_BUSY. Nothing changes shape, so the protocol does not move. A gateway still refuses it. The console gains a device action list (Remove phone, Delete device) and an Enrol phone… form, offered in worker mode only.

It narrows ADR 0050's rejected "virtual-device delete on device remove", and extends ADR 0022 §2 and ADR 0037 §3.

This PR is the bottom of #1131's stack and merges with the feature's last task.

🤖 Generated with Claude Code

Written by an agent.

leonardoxr and others added 4 commits November 4, 2026 18:13
…mulator (callstackincubator#1131)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…one (callstackincubator#1131)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he enrol form's check (callstackincubator#1131)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r#1131)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

@V3RON

V3RON commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Replaced by ADR 0095 (#1903). After an interview, #1131 covers phones only: device remove stays phones-only, and a worker lists the phones it could enrol. Thank you for the first draft.

Written by an agent.

@V3RON V3RON closed this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants