Skip to content

studio-app: admin machine start rules panel - #313

Merged
apedintensor merged 1 commit into
mainfrom
claude/start-rules-1028
Oct 27, 2026
Merged

apedintensor merged 1 commit into
mainfrom
claude/start-rules-1028

Conversation

@apedintensor

@apedintensor apedintensor commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Adds the admin Machine start rules panel to Admin → Limits, on top of the merged #695 routes (/v1/operator/dstack/admin/start-rules).

  • One rule set per exact pool/configuration/mode, de-duplicated from the catalog profiles. Option names show only the parts that differ (e.g. the pool); the shared model · mode · GPU is on the help line.
  • Edit → Review change (POST /preview) → before/after list plus a required audit reason → Save rules (PUT with confirmation_digest and one Idempotency-Key per reviewed change, so a retry replays).
  • start_rules_conflict / start_rules_confirmation_changed reload the latest values and say so. Whole-number range checks match the server bounds (1–86400 s, 1–10000 jobs).
  • While execution_connected is false, the panel carries a "Prepared" badge and says the planner is not switched on, as the #695 doc requires.
  • Change history (GET /history) loads when opened.

Verified on a local build proxied to staging as qa-admin: read, preview, save 20→21 with reason, history entry shown, then saved back 21→20. Tests (4 new), lint ratchet (81/49 unchanged), UI/token checks and the build all pass.

Refs inkseq/h3-studio#695, inkseq/h3-studio#688.

Admins can read, preview and save the prepared start rules per exact
pool/configuration/mode, with the audit reason, Idempotency-Key replay,
confirmation digest and change history from the #695 routes. Until the
planner is switched on the panel says these are prepared settings only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apedintensor
apedintensor merged commit fb8b119 into main Oct 27, 2026
2 checks passed
apedintensor added a commit to inkseq/h3-studio that referenced this pull request Oct 27, 2026
Syncs inkseq/inkseq-design#313.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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