Skip to content

feat: surface live job progress from broker to the runner UI#77

Merged
Daliys merged 3 commits into
developfrom
feat/gate-progress-reporting
Jul 22, 2026
Merged

feat: surface live job progress from broker to the runner UI#77
Daliys merged 3 commits into
developfrom
feat/gate-progress-reporting

Conversation

@Daliys

@Daliys Daliys commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Jobs emit ::ci-scope-progress:: {json} markers into their per-job log file as they run.
  • The broker reads the last marker for each active job on every tick and attaches it (step/current/total/detail) to broker-state.json.
  • The app's runner-work row renders that as a secondary caption line under the job.

Test plan

  • tests/broker/test_broker.py::test_read_last_progress_marker and test_tick_attaches_progress_marker cover marker parsing and the state-rebuild pitfall (progress must be merged back in at the fresh-read rebuild step in tick(), not just the mutated surviving list).
  • CI (python-quality-gate.yml, swift-*-gate.yml) — not run locally, no local pytest available in this environment; will run on push.

🤖 Generated with Claude Code

Daliys and others added 3 commits July 22, 2026 22:57
Jobs write ::ci-scope-progress:: markers to their log files; the broker
reads the last marker per active job on each tick and attaches it to
broker-state.json, and the app renders it under the job row.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Readability Gate flagged it at 51 lines. Inlined the mock write/read-state
closures as calls.append and a lambda instead of nested defs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Daliys
Daliys merged commit 9d4494a into develop Jul 22, 2026
4 checks passed
@Daliys
Daliys deleted the feat/gate-progress-reporting branch July 22, 2026 21:15
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