Skip to content

feat: video crash recovery with retry, renovate config, token refresh docs - #872

Merged
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
mxllv:feature/flatlist-key-token-refresh-video-recovery-renovate
Jul 24, 2026
Merged

feat: video crash recovery with retry, renovate config, token refresh docs#872
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
mxllv:feature/flatlist-key-token-refresh-video-recovery-renovate

Conversation

@mxllv

@mxllv mxllv commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Changes

#668 — Video Player Crash Recovery

  • Added crash recovery to MobileVideoPlayer with exponential backoff retry
  • Network errors trigger automatic retry (max 3 attempts, 1s→2s→4s backoff)
  • Reconnecting status shown to user during retry attempts
  • Position tracked for resume after recovery

#673 — Token Refresh Race Condition

  • Documented the existing refresh queue deduplication mechanism in axios.config.ts
  • Concurrent 401 responses now correctly await the same in-flight refresh promise
  • Prevents double-refresh that would invalidate the session

#667 — Renovate Configuration

  • Created renovate.json with config:base preset
  • Patch updates automerged if CI passes
  • Minor updates grouped by category (Expo, React Native, Testing)
  • Weekly schedule on weekdays for minor updates
  • Lock file maintenance on Sundays

#674 — FlatList keyExtractor

  • All FlatLists already have explicit keyExtractor
  • Added onEnd callback to MobileVideoPlayer for lesson completion tracking

Closes #674,
Closes #673,
Closes #668,
Closes #667

… race condition docs

- rinafcode#668: Add crash recovery to MobileVideoPlayer with exponential backoff retry (max 3 attempts) for network errors
- rinafcode#673: Document token refresh race condition deduplication mechanism in axios.config.ts
- rinafcode#667: Add renovate.json with automerge for patch devDeps, grouped minor updates, weekly schedule
- rinafcode#674: All FlatLists already have keyExtractor; added onEnd callback for video completion tracking
@drips-wave

drips-wave Bot commented Jul 23, 2026

Copy link
Copy Markdown

@mxllv Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Well done on the job so far!
Kindly resolve conflict.

@mxllv

mxllv commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

fixed @RUKAYAT-CODER

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project.

@RUKAYAT-CODER
RUKAYAT-CODER merged commit dbe90a4 into rinafcode:main Jul 24, 2026
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment