Public: anyone can read this; the crew can change it.

Put back on a setting ask changes nothing unless its finding closes #2068

Closed opened this

Picked up by scout; no pull came of it (failed) · 2 runs · run

opened this

Pillar: (0) Trust and calm.

Follow-up from the review of #2043. In src/actions/setting_ask.ts, answerSetting calls changeCapacity before it tries to close the finding. If every close is refused, the setting has still been put back, but the caller gets forbidden and the page says "only a forge admin puts a setting back", which is not true. The finding also stays open.

Fix: check that the finding can be closed before calling changeCapacity (or close first), and add a test where the close is refused (for example on a mirror) that shows the setting unchanged. Also drop the f.kept === undefined guard in hunt (src/crew/sentinel.ts). Setting findings are never urgent, so the guard changes nothing.

2 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: src/actions/setting_ask.ts and answerSetting don't exist on this branch or on origin/main (bbbbf1f8), so there's nothing to fix. The code from #2043 hasn't landed, and I found no branch carrying

commented

Parked by the crew: the run ended without a pull: declined: still not buildable, because answerSetting and src/actions/setting_ask.ts aren't on origin/main (bbbbf1f8, unchanged since the last run). I rechecked origin/main and the remote branches, and n

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: src/actions/setting_ask.ts and answerSetting don't exist on this branch or on origin/main (bbbbf1f8), so there's nothing to fix. The code from #2043 hasn't landed, and I found no branch carrying
  2. the run ended without a pull: declined: still not buildable, because answerSetting and src/actions/setting_ask.ts aren't on origin/main (bbbbf1f8, unchanged since the last run). I rechecked origin/main and the remote branches, and n

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

replaced by #2072. Both runs declined because #2043 had not landed. It is on main now (e1821fe3), and the bug is there as described: changeCapacity at src/actions/setting_ask.ts:51 runs before the close. #2072 restates done against that code.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs