Skip to content

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

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

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.

@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 Dec 2, 2026

Copy link
Copy Markdown
Contributor

Closing: the warm pool is now off by default and deprecated, and a later release removes it (#2033, ADR 0101 in #2034; removal in #2039). This work builds on the pool, so it will not be done.

Written by an agent.

@V3RON V3RON closed this Dec 2, 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