Coordinate one Scheduled Reopen
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- networking
Research direction
Read parent issue #412 and blocker #413 first to understand the recovery lifecycle and existing scheduling behavior. Then identify the Transport loss and Connection attempt entry points and add deterministic timing tests for scheduling, repeated requests, failure, success, and stale callbacks. Done means all listed acceptance criteria hold without duplicate schedules or lifecycle events.
Written by the indexing model from the issue text.
Description
Parent
#412
What to build
Give unexpected Transport loss one coordinated delayed Reopen. Recovery requests share the existing schedule without postponing it, and each recovery attempt has a clear success or failure outcome.
Acceptance criteria
- Unexpected loss of the currently owned Transport schedules exactly one delayed Reopen.
- Repeated delayed-recovery requests share the existing schedule and do not reset its deadline.
- A scheduled Reopen is consumed before its Connection attempt begins; Scheduled Reopen and active attempt never coexist.
- A failed recovery attempt creates exactly one fresh Scheduled Reopen at the configured fixed delay.
- Successful recovery leaves no pending schedule and retains the established Transport.
- Stale or duplicate Transport callbacks cannot create recovery intent or duplicate timers.
- Recovery lifecycle events occur once per authoritative attempt and joined recovery requests do not multiply them.
- Deterministic timing tests cover scheduling, repeated requests, failure, success, and stale callbacks.
Blocked by
- #413
- Dominant language
- TypeScript
- Stars
- 146
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 RocketChat/Rocket.Chat.js.SDK
-
refactor: delete the unused replaceLog and silence exports from lib/log.tsPossibly taken @ayushi-wq claimed this 81 days ago. Openbug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
RocketChat/Rocket.Chat.js.SDK#380 · 1 comment ·
-
refactor: delete the unassigned messages and joinedIds fields on DriverPossibly taken @arbazkhan971 claimed this 68 days ago. Openbug ready-for-agent
Difficulty 1/5 Under an hour Newbie friendliness 90/100
RocketChat/Rocket.Chat.js.SDK#379 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
RocketChat/Rocket.Chat.js.SDK#308 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RocketChat/Rocket.Chat.js.SDK#306 ·
-
bug
Difficulty 2/5 Half a day Newbie friendliness 78/100
RocketChat/Rocket.Chat.js.SDK#254 ·
All issues in RocketChat/Rocket.Chat.js.SDK
Similar issues
-
Out of order / duplicate key error shows the key bytes as decimal or UTF-8, not hexPossibly taken @bardrop claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
`/leaderboard`, the page and the share image say "be the first" for a program that hasn't startedOpenbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
codercops/discord-bot#152 ·
Maintainers usually reply within 1 day
-
bug i18n
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
endora-commerce/endora-commerce#1315 ·
Maintainers usually reply within 1 day
-
area:data-quality importer size:S
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
enorm-labs/event-junkie#5136 ·
Maintainers usually reply within 1 day
-
fix(scripts): set-device-owner.ps1 fails to parse on Windows PowerShell 5.1 (UTF-8 without BOM)Open
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day