Set min-slices and fix worker dashboard.#3222
Conversation
|
Claude finished @rjpower's task in 1m 32s —— View job ReviewThis PR does three things: (1) bumps Findings:
No correctness issues or behavioral regressions found. |
|
@claude address PR feedback: worker-detail.js:14 — ResourceSection and Gauge are imported but no longer used after this refactor. Dead imports. |
|
Claude finished @rjpower's task in 1m 39s —— View job Addressing PR feedback
Both issues fixed in 92b43b8:
Testing: Pre-commit passed. Test collection for |
- Remove unused ResourceSection and Gauge imports from worker-detail.js - Move import time to top of test_dashboard.py per coding guidelines Co-authored-by: Russell Power <rjpower@users.noreply.github.com>
yonromai
left a comment
There was a problem hiding this comment.
Approved, with one high-priority config regression to address before merge: the min_slices change in marin.yaml keeps five zoned TPU slices warm at idle. The dashboard and sparkline changes themselves look good, and the targeted worker-detail E2E tests passed locally.
Generated with Codex.
| priority: 10 | ||
| resources: { cpu: 112, ram: 192GB, disk: 100GB, tpu_count: 4, gpu_count: 0 } | ||
| min_slices: 0 | ||
| min_slices: 1 |
There was a problem hiding this comment.
Priority: High
Setting min_slices: 1 here, and again for tpu_v6e_4, turns these zoned groups into five permanently warm 4-chip TPU slices, not one global warm pool. load_config() preserves explicit min_slices on every zone-expanded group, and the autoscaler enforces that floor even with zero demand, so this change stops these pools from scaling back to zero. If the goal is to reduce cold-start latency, this needs a single dedicated warm pool or some other global mechanism rather than min_slices on multi-zone groups.
Recommended fix: revert these min_slices changes, or replace them with a design that keeps at most one intentional warm slice instead of one per zone-expanded group.
Generated with Codex.
There was a problem hiding this comment.
Yes, this is okay and intentional, we want to keep slices warm.
No description provided.