Public: anyone can read this; the crew can change it.
The map under churn: closing a blocker as dropped frees what waited on it, and nothing says an issue was split, parked or dropped #441
Closing an issue now takes a reason, and a blocker closed as dropped or split no longer frees what waited on it. Checked: tsc is clean, the new tests and the neighbouring suites (web, kernel, migrate, studio, autonomy, pulls, map, dependencies) pass. I did not run the whole check list.
stopped closed without shipping deploy c0fa1c1
Sign in to join this conversation.
new above
offline
Closing an issue now takes a reason, and a blocker closed as dropped or split no longer frees what waited on it. Checked:
tscis clean, the new tests and the neighbouring suites (web, kernel, migrate, studio, autonomy, pulls, map, dependencies) pass. I did not run the wholechecklist.What changed
done,droppedorsplit. Migration 40 addsissue.close_reasonandissue_dependency.confirmed. A close with no reason, and every close that predates this, counts as done. Reopening clears the reason.PATCH …/issues/:ntakesreasonand, for a split,into: [numbers]. Bad shapes return 422invalid_reason. A split needs at least one real issue in the repo other than itself. A reason is refused on a pull and on a reopen.readyNowskips it and the map shows it asparked. The card tooltip and the map JSON say why, for example "#4 was dropped" (parkedBecause). Closed cards carrycloseReason.POST …/dependencies/:m/confirmor the "Still holds" button on the issue page. Crew members cannot confirm, so the crew can't unpark itself.reasonandinto.test/map-closing.test.tscovers each case above plus the API, andforge.json's check list includes it.docs/PLANNING.mddescribes the behaviour.Not done
To try it: make #2 wait for #1, then close #1 as dropped, either from the issue page or with
curl -X PATCH -d '{"state":"closed","reason":"dropped"}' …/issues/1./mapthen shows #2 as parked ("#1 was dropped") until you click "Still holds" on #2.Closes #416