Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Let accounts add --login-id through when the bridge is at its limit - #73

Merged
iFixRobots merged 1 commit into
mainfrom
iFixRobots/labs-136-login-id-limit
Nov 30, 2026
Merged

iFixRobots merged 1 commit into
mainfrom
iFixRobots/labs-136-login-id-limit

Conversation

@iFixRobots

Copy link
Copy Markdown
Contributor

Customer outcome: A Free user whose Beeper Server lost its device can reconnect the On-Device login their other devices still run, with beeper accounts add <bridge> --login-id <id>, instead of getting "WhatsApp is not available".

Beeper Server reports limit_reached for a bridge whose only login runs on another device of the same account. It reports connected for a single-account bridge that already has a login on this device. The server's createLoginSession skips the plan limit for a loginID that already exists, but the CLI threw on any status other than available before it sent the ID.

With --login-id, limit_reached and connected now go to the server, both in the direct gate and in the guided chooser. The server still rejects unknown IDs with its own 409. disabled and temporarily_unavailable still block, and nothing changes without --login-id. The gate and the flag both came from 27ce522.

Linear: https://linear.app/beeper/issue/LABS-136

Before / after

Beeper Server 4.3.366 on staging. A Free throwaway runs three verified Server devices. The on-device Dummy login ba_SKb4… was created on srva, and max-accounts is 1, so srvb and srvc show limit reached. srvc also uses single-account Dummy, which matches the customer's WhatsApp setup.

Case main (14eca6d) branch
srvc, accounts add local-dummy --login-id ba_SKb4… --flow password --no-guided Dummy Bridge is not available status: waiting_for_input, login_id: ba_SKb4…
srvb, same with --fields (full login) Dummy Bridge is not available status: complete, login now listed on srvb
srva (connected, single account), re-login same ID Dummy Bridge is not available status: complete
Guided chooser (TTY), no bridge argument No available bridges to connect. Dummy listed, login completes
srvb, unknown --login-id ba_doesnotexist n/a 409 Your plan's total account limit has been reached
srva, other ID on a single-account bridge n/a 409 Adding another account to this bridge is disabled
srvb, no --login-id Dummy Bridge is not available unchanged
$ beeper accounts add local-dummy --login-id ba_SKb4… --flow password --non-interactive --no-guided --target srvc
[main]   Dummy Bridge is not available
[branch] status: waiting_for_input
         login_id: ba_SKb4…
         step_id: com.beeper.dummy.password

View in Indent
Tag @indent to continue the conversation here.

@indent indent Bot added the tested label Nov 30, 2026
@iFixRobots iFixRobots changed the title LABS-136: Let accounts add --login-id through when the bridge is at its limit Let accounts add --login-id through when the bridge is at its limit Nov 30, 2026
@iFixRobots
iFixRobots merged commit 3c57485 into main Nov 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant