Skip to content

fix(slm): a monitoring Redeploy runs on the node chosen (#20484) - #20537

Closed
mrveiss wants to merge 5 commits into
mainfrom
issue-20484-monitoring-redeploy
Closed

mrveiss wants to merge 5 commits into
mainfrom
issue-20484-monitoring-redeploy

Conversation

@mrveiss

@mrveiss mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Thinking Path

The Roles page's Redeploy for slm-monitoring runs deploy-monitoring.yml, whose play targets target_host | default('localhost'), with the run limited to the chosen node. Nothing set target_host, so by reading the code the play targets localhost, the limit names a node, and the play matches nothing. It is the only registry playbook with a localhost default.

What Changed

  • role_procedure_extra_vars takes the node and sets target_host, for every registry-path run. Playbooks that default to all are narrowed by the limit anyway, so they run on the same node. Playbooks on a named group do not read the variable.
  • api/roles.py passes target_node_id, with no added lines in that frozen file.

Verification

api/role_procedure_vars_20484_test.py passes locally: the variable reaches the extra vars, the call site passes the node, and the play reads that variable.

Not done: a Redeploy on a real host, so what the button now shows is not observed. The host AC stays open and needs the builtin update first. The GRAFANA_ROLE_CONSISTENCY.md AC waits for #20251, which holds that file.

Refs #20484

Model Used

Claude Opus 5.5

@mrveiss mrveiss added the phase:M1.4 Wizard and SLM: choose a mode, apply it, default models work label Nov 1, 2026
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 87eae8a and 889c1ac.

Files selected for processing: 3
  • autobot-slm-backend/api/_role_procedure_vars.py
  • autobot-slm-backend/api/role_procedure_vars_20484_test.py
  • autobot-slm-backend/api/roles.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Notice: 29 open PRs — past the runaway threshold (25)

This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.

This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.

Currently open:

If the queue is draining normally, ignore this. Otherwise:

  1. Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
  2. Approved PRs land through the merge train the coordinator sequences (merge commits, never squash) -- check the open chore(merge-train) PR is moving, not each PR on its own
  3. Look for a loop opening near-identical PRs

Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.

@mrveiss

mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

Code review on PR #20537 (head c28fafe): approve.

Read only. target_host now names the chosen node, and registry playbooks using other groups ignore it. Refs is right, with host and doc criteria open. The roles.py call-site test is a string check.

This was referenced Nov 2, 2026
@mrveiss

mrveiss commented Nov 2, 2026

Copy link
Copy Markdown
Owner Author

Landed through the merge train (PR #20594), merge 655489c, with the content check clean. Proof: git rev-list --no-merges --count origin/main..head = 0; the head moved only by syncing main after the train froze it. Closing and deleting the branch.

@mrveiss mrveiss closed this Nov 2, 2026
@mrveiss
mrveiss deleted the issue-20484-monitoring-redeploy branch November 2, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

phase:M1.4 Wizard and SLM: choose a mode, apply it, default models work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant