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

A test pins unlinking a parent-forge sign-in: refused when it is the account's last way in #7130

shipped production is serving it opened this has it
opened this

unlinkParent in src/core/federation.ts refuses last_way_in when the account has no other way to sign in. No test names it.

Done:

  • [ ] A new test: an account signed up through its parent forge, with no password or passkey, tries to unlink and gets last_way_in. The link stays.
  • [ ] After adding a passkey or password, the unlink succeeds.
  • [ ] Unlinking through Settings shows the refusal in words.

Files: test/federation-last-way-in.test.ts

If the test finds the behaviour wrong, fix the module it names in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.

Before pushing: bun x tsc --noEmit and the new test.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs