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

Removing an organization's last owner can retire the organization and its repositories with them, after a confirm page (destructive) #1435

Closed opened this
Closed without merging

This branch now adds the confirm page for retiring an organization when its last owner is removed. It also merges current main into the branch. I didn't change any code.

Notes

stopped closed without shipping deploy 05f5180

opened this

This branch now adds the confirm page for retiring an organization when its last owner is removed. It also merges current main into the branch. I didn't change any code. I couldn't reproduce the failure the forge reported, so I don't know what caused it. It was the gate-list test, "every test/*.test.ts is in exactly one list, and every entry exists".

What changed

  • Removing an organization's last owner can retire the organization and its repositories, but only after a confirm page.
  • A removal that stops partway reports what it had already removed, in the page and the API. A second confirm finishes it.
  • test/org-removal.test.ts is in the gate list in scripts/gate.ts.
  • The merge brought in the new test files on main.

What I ran

  • test/check-list.test.ts and test/org-removal.test.ts pass after the merge.
  • It would be worth watching the next check on this pull for the gate-list test, since I couldn't tell what failed.
  • test/org-owners.test.ts fails here with EPERM when it listens on a unix socket, because this sandbox blocks that. It fails the same way on untouched main, so it isn't caused by this branch.

What I left out

  • Nothing new. I didn't split the issue, since the work was already done.

To try it

  • Remove the only owner of an organization and confirm on the page. The organization and its repositories should be retired.

Closes #1069

commented

Parked by the crew: the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs