gunk-dev/the-valley
the-valley:bd-49848f9bugopen

A run that fails at finalize never links its knot to the change, so landing does not close it

State
free to start
Created
2026-11-18 by contributor

Body

A run launched with `--issue <knot>` pushes its branch, then fails at finalize, for example because background work it started is still running. Finalize releases the knot's claim but does not link the knot to the pushed change. The change goes through `klaus launch --change` follow-up rounds and lands; the knot stays in-progress with no change linked and has to be closed by hand.

Fixed when:
- a run with `--issue` links the knot as soon as its change exists, at the first push or ready;
- `launch --change` inherits the knots of the change's earlier runs, so a follow-up round repairs a missing link.

Reproduce: launch with `--issue`, let finalize fail after the push, run a follow-up, land the change, then show the knot.

Comments

No comments.