Account auto-logout causing streak loss despite daily typing
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- authentication
Research direction
Start by reproducing the logout across days using the reported steps, comparing logged-in and logged-out behavior. Investigate the account session and the point where typing results are associated with the account. Done means sessions do not end unexpectedly, or users are warned before a test and their daily streak is protected.
Written by the indexing model from the issue text.
Description
Did you clear cache before opening an issue?
- I have cleared my cache
Is there an existing issue for this?
- I have searched the existing open and closed issues
Does the issue happen when logged in?
No
Does the issue happen when logged out?
Yes
Does the issue happen in incognito mode when logged in?
No
Does the issue happen in incognito mode when logged out?
No
Account name
DipakDubey
Account config
{"theme":"gruvbox_dark","themeLight":"serika","themeDark":"serika_dark","autoSwitchTheme":false,"customTheme":false,"customThemeColors":["#323437","#e2b714","#e2b714","#646669","#2c2e31","#d1d0c5","#ca4754","#7e2a33","#ca4754","#7e2a33"],"favThemes":[],"showKeyTips":true,"smoothCaret":"medium","codeUnindentOnBackspace":false,"quickRestart":"off","punctuation":false,"numbers":false,"words":50,"time":60,"mode":"words","quoteLength":[1],"language":"english","fontSize":2,"freedomMode":false,"difficulty":"normal","blindMode":false,"quickEnd":false,"caretStyle":"default","paceCaretStyle":"default","flipTestColors":false,"layout":"default","funbox":[],"confidenceMode":"off","indicateTypos":"off","compositionDisplay":"replace","timerStyle":"mini","liveSpeedStyle":"off","liveAccStyle":"off","liveBurstStyle":"off","colorfulMode":false,"randomTheme":"off","timerColor":"main","timerOpacity":"1","stopOnError":"off","showAllLines":false,"keymapMode":"off","keymapStyle":"staggered","keymapLegendStyle":"lowercase","keymapLayout":"overrideSync","keymapKeys":"minimal","keymapSize":1,"fontFamily":"Roboto_Mono","smoothLineScroll":false,"alwaysShowDecimalPlaces":false,"alwaysShowWordsHistory":false,"singleListCommandLine":"on","capsLockWarning":true,"playSoundOnError":"off","playSoundOnClick":"off","soundVolume":0.5,"startGraphsAtZero":true,"showOutOfFocusWarning":true,"paceCaret":"off","paceCaretCustomSpeed":100,"repeatedPace":true,"accountChart":["on","on","off","off"],"minWpm":"off","minWpmCustomSpeed":100,"highlightMode":"letter","typedEffect":"keep","typingSpeedUnit":"wpm","ads":"off","hideExtraLetters":false,"strictSpace":false,"minAcc":"off","minAccCustom":90,"monkey":false,"repeatQuotes":"off","resultSaving":true,"oppositeShiftMode":"off","customBackground":"","customBackgroundSize":"cover","customBackgroundFilter":[0,1,1,1],"customLayoutfluid":["qwerty","dvorak","colemak"],"customPolyglot":["english","spanish","french","german"],"monkeyPowerLevel":"off","minBurst":"off","minBurstCustomSpeed":100,"burstHeatmap":false,"britishEnglish":false,"lazyMode":false,"showAverage":"off","showPb":false,"tapeMode":"off","tapeMargin":50,"maxLineWidth":0,"playTimeWarning":"off"}
Current Behavior
I've maintained a 160-day typing streak, but over the last 3 days Monkeytype has been automatically logging me out without me manually signing out.
Because I'm logged out, my daily typing sessions are not linked to my account, so they don't count toward my streak. As a result, I lost my streak even though I typed every day.
This has happened multiple times in the past, not just recently.
Expected Behavior
My account should remain logged in unless I explicitly sign out.
If my session expires, Monkeytype should clearly notify me before I start a typing test so I can log in again.
At the very least, users shouldn't lose their typing streak because they were silently logged out.
Steps To Reproduce
- Log in to Monkeytype.
- Use the website normally and complete typing tests.
- Return the next day.
- Notice that the account has been automatically logged out.
- Complete a typing test while logged out.
- The typing session is not counted toward the daily streak.
Environment
- OS:
- Browser:
- Browser Version:
Anything else?
- Account: DipakDubey
- I had a 160-day typing streak before this issue occurred.
- This has happened multiple times over the past few months, not just during the last three days.
- I have already cleared my browser cache.
- I searched existing issues before creating this report.
- Losing a long streak because of an unexpected logout is frustrating, especially when I typed every day.
- Dominant language
- TypeScript
- Stars
- 20.8k
- Forks
- 3.4k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from monkeytypegame/monkeytype
-
[Low Priority] Word Filter silently fails when an invalid regex is enteredPossibly taken @MFA-G claimed this 10 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
monkeytypegame/monkeytype#8422 ·
Maintainers usually reply within 1 day
-
Bug: outOfFocusTimeouts array grows unboundedly — cleared timeout ids never removed from arrayPossibly taken @priyanshu1976 claimed this 36 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
monkeytypegame/monkeytype#8366 ·
Maintainers usually reply within 1 day
-
Bug: HTML entity replacements missing semicolons (</>) — sliced entities render as garbage text in typed-word overlayPossibly taken @boergeson claimed this 35 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
monkeytypegame/monkeytype#8365 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug (backend): dead null check in newQuotes.approve() — git === null never true, git init failure crashes with raw TypeErrorPossibly taken @boergeson claimed this 35 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
monkeytypegame/monkeytype#8364 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug (backend): cacheWithTTL marks cache fresh before fetch resolves — failed fetch serves stale data for full TTL, no in-flight dedupPossibly taken @boergeson claimed this 36 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
monkeytypegame/monkeytype#8363 ·
Maintainers usually reply within 1 day
All issues in monkeytypegame/monkeytype
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
LucasSantana-Dev/Lucky#2637 ·
Maintainers usually reply within 1 day
-
Show the error reference on the error pagePossibly taken A pull request linked to this issue is open or already merged. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
tomjn/coilbox-hub#454 ·
Maintainers usually reply within 1 day
-
frontend
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
icssc/peterportal-client#1224 · 1 comment ·
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day