Skip to content

feat: show full alias groups in cluster status output - #8

Merged
sg-shag merged 1 commit into
mainfrom
feat/status-alias-groups
Oct 20, 2026
Merged

sg-shag merged 1 commit into
mainfrom
feat/status-alias-groups

Conversation

@sg-shag

@sg-shag sg-shag commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Summary

With the unified node layout several public aliases (agent, coder, memory) share one runtime_model_id. Status output collapsed each runtime model to its first alias, which is misleading:

  • the Models table showed only agent while coder/memory requests were being served by the same loaded model;
  • tf_user attribution matched only the first alias, so an active coder request showed tf_user=-;
  • disk totals counted the shared runtime model once per alias (hot_loaded_models (318.9G) for one 106.3 GB model).

Changes

  • normalize_model_statuses now emits aliases: [...] for every runtime model (contract addition, backward compatible).
  • Plain and rich CLI status render agent,coder,memory (Qwen3.8-Flash-Next-oQ4e-mtp) when an alias group shares a runtime model, attribute active edge requests across the whole group, and dedupe disk sums by runtime_model_id.
  • Payloads from older edge services without aliases fall back to the previous single-alias shape, so CLI and edge can be upgraded in any order.
  • Decoupled test_cluster_status_reports_inference_health from repo tfconfig.yaml disk sizes (it silently broke whenever the registry changed).

Evidence

TDD: four RED→GREEN cycles (alias group in normalize, plain display + group-wide attribution, disk dedupe, rich table). Full suite: 403 passed (3 new tests, 1 updated), ruff check clean. Live check of the disk dedupe against the real cluster: served_models (109.5G) / hot_loaded_models (106.3G) instead of 318.9G. Alias-group display goes live on nodes after the edge service redeploys this code.

Aliases sharing one runtime model (unified layout) collapsed to the first
alias in status display: model lists, tf_user attribution, and disk totals
were misleading. normalize_model_statuses now exposes the alias group;
plain and rich status show 'agent,coder,memory (runtime-id)', attribute
active edge requests across the whole group, and count shared runtime
models once in disk sums. Decouple inference-health test from repo tfconfig
disk sizes.
@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 28869694-8188-4f00-b723-aba8c031d149
  • 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

Comment @coderabbitai help to get the list of available commands.

@sg-shag
sg-shag merged commit 1ed48f2 into main Oct 20, 2026
1 of 3 checks passed
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