Skip to content

Commit 9441498

Browse files
agnersclaude
andcommitted
Fix misleading comments about count-based progress
Update comments to accurately describe the progress tracking: - Test uses size-weighted progress, not count-based - Without manifest, layer-reported sizes are used (not count-based) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent e11a62e commit 9441498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/api/test_supervisor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ async def test_api_progress_updates_supervisor_update(
359359
and evt.args[0]["data"]["event"] == WSEvent.JOB
360360
and evt.args[0]["data"]["data"]["name"] == "supervisor_update"
361361
]
362-
# Count-based progress: 2 layers need pulling (each worth 50%)
362+
# Size-weighted progress: 2 layers need pulling
363363
# Layers that already exist are excluded from progress calculation
364364
assert events[:4] == [
365365
{

0 commit comments

Comments
 (0)