fix: stabilize auth bootstrap and recovery - #17
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.
Summary
Verification
RUN v4.0.18 /Users/danil/code/tgcli
✓ tests/store-lock.test.js (1 test) 3ms
✓ tests/services.test.js (3 tests) 4ms
✓ tests/telegram-client-auth.test.js (2 tests) 3ms
✓ tests/auth-recovery.test.js (3 tests) 3ms
✓ tests/send-messages.test.js (36 tests) 16ms
✓ tests/folders.test.js (74 tests) 13ms
Test Files 6 passed (6)
Tests 119 passed (119)
Start at 16:27:40
Duration 383ms (transform 325ms, setup 0ms, import 729ms, tests 43ms, environment 0ms)
"authenticated": true,
"configured": true,
"phoneNumber": "+79033891228",
"username": "pismenny",
"ftsEnabled": true,
"archiveReady": true,
"archiveError": null
}
{
"authenticated": true,
"dialogs": null,
"archiveReady": false,
"archiveError": "Skipped dialog bootstrap because auth is running with a wall-clock timeout. Re-run without --timeout to seed dialogs."
}
Rate limited while seeding dialogs. Waiting 13s and retrying once...
{
"authenticated": true,
"dialogs": 2155,
"archiveReady": true,
"archiveError": null
}
Notes