gunk-dev/the-valley
the-valley:bd-86d2092bugclosed

klaus loses a valley change its run pushed under a different change ID, and can't track one

State
done
Created
2026-10-22 by contributor
Lands in
an unpublished project
Changes
  • https://github.com/patflynn/klaus/pull/340

Body

2026-10-22: run 20261022-1036-d8deeb25 was launched with --resume-from on qvzz's run, so klaus recorded qvzz's change ID and branch for it. The agent correctly made a new change instead (vpkz, its own branch and Change-Id) and readied it. klaus never learned of vpkz: the run's record still names qvzz (withdrawn), so the dashboard shows no row for vpkz although the valley lists it as ready. The operator noticed it in `valley pending` but not on the dashboard.

Two gaps:
1. finalize trusts the change ID chosen at launch. It should record the change(s) the run actually pushed, read from the pushed heads' Change-Id trailers, and group the run under each.
2. `klaus track` accepts only GitHub PRs. For symmetry it should accept a valley change (handle, change ID, or <project>:<handle>) and show it like a tracked PR.

Fixed when a run that pushes a new Change-Id shows under that change on the dashboard, and `klaus track --repo the-valley vpkz` adds an existing valley change.

Comments

No comments.