Skip to content

docs(adr): propose 0056, an operator sets warm targets at runtime (#1137) - #1139

Draft
leonardoxr wants to merge 7 commits into
callstackincubator:mainfrom
leonardoxr:feature/1137-adr
Draft

leonardoxr wants to merge 7 commits into
callstackincubator:mainfrom
leonardoxr:feature/1137-adr

Conversation

@leonardoxr

Copy link
Copy Markdown
Contributor

ADR 0056 for #1137, at Proposed. An operator sets warm-pool targets at runtime, with no restart. The rows live in the warm pool's own tables in state.db. A runtime row replaces the configured target with the same written key. Its count may be 0, which keeps none, learned or not. learn may be set at runtime too. A change that keeps fewer devices shuts them down at once. Two admin operations, warm.list and warm.set, and one event, warm-pool.targets-changed, which names the caller's principal. HTTP routes: GET /v1/warm-pool, PUT /v1/warm-pool/targets and DELETE /v1/warm-pool/learned. The CLI gains simlock warm list|set|unset|learn. The console edits the rows, in worker mode only. A gateway refuses all three operations. The protocol rises by one.

It supersedes ADR 0017's deferred runtime-targets alternative. It narrows 0017 §5 step 3 and §8, 0050 (an HTTP route for warm.forget), and 0051 §1 and §3.

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

🤖 Generated with Claude Code

Written by an agent.

leonardoxr and others added 7 commits November 4, 2026 18:13
…ase (callstackincubator#1137)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…unds the lowered set (callstackincubator#1137)

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

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

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.

This branch has not been deployed

No deployments
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.

1 participant