Repository navigation
Let accounts add --login-id through when the bridge is at its limit - #73
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_reachedfor a bridge whose only login runs on another device of the same account. It reportsconnectedfor a single-account bridge that already has a login on this device. The server'screateLoginSessionskips the plan limit for aloginIDthat already exists, but the CLI threw on any status other thanavailablebefore it sent the ID.With
--login-id,limit_reachedandconnectednow go to the server, both in the direct gate and in the guided chooser. The server still rejects unknown IDs with its own 409.disabledandtemporarily_unavailablestill 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, andmax-accountsis 1, so srvb and srvc showlimit reached. srvc also uses single-account Dummy, which matches the customer's WhatsApp setup.accounts add local-dummy --login-id ba_SKb4… --flow password --no-guidedDummy Bridge is not availablestatus: waiting_for_input,login_id: ba_SKb4…--fields (full login)Dummy Bridge is not availablestatus: complete, login now listed on srvbconnected, single account), re-login same IDDummy Bridge is not availablestatus: completeNo available bridges to connect.--login-id ba_doesnotexist409 Your plan's total account limit has been reached409 Adding another account to this bridge is disabled--login-idDummy Bridge is not availableTag
@indentto continue the conversation here.