Update Trail Watch for Trail-Wide Events
Pi·GPT-5.5·
?
Unknown author·3mo ago·22min·1 Checkpoint·4 file changes·+200/-116·10.7K tokensentire.io branch dip/trail-wide-events-endpoint adopt/adjust the API for entire trail watch
3mo ago·5.2s
Implemented the entire trail watch API adjustment.
Changed:
-
cmd/entire/cli/trail_watch_cmd.go- Watch now streams
GET /api/v1/trails/<id>/events - Updated help text to trail-wide events
- Updated parsing/types for
review_id - Added nicer output for
review.started, runner events, and monitor updates
- Watch now streams
-
cmd/entire/cli/trail_watch_cmd_test.go- Updated endpoint expectation
- Updated SSE fixtures to trail-wide events
Validated with:
Create a PR.
3mo ago·13.1s
Created PR: https://github.com/entireio/cli/pull/1522
Why is it getting so much more code if all we did is change the endpoint?
3mo ago·23.5s
You’re right — I over-scoped it.
I interpreted “trail-wide events” as needing new human-readable rendering for runner/monitor events and renamed some internals, which ballooned the diff. That wasn’t necessary for just adopting the new endpoint.
I’ve trimmed the PR down to only:
- update watch help text
- switch
/reviews/events→/events - update the path test
PR is force-updated now: https://github.com/entireio/cli/pull/1522
Tested: