Skip to content

fix(tutor): propagate request cancellation - #182

Merged
ttbombadil merged 5 commits into
mainfrom
fix/tutor-request-cancellation
Oct 4, 2026
Merged

ttbombadil merged 5 commits into
mainfrom
fix/tutor-request-cancellation

Conversation

@ttbombadil

Copy link
Copy Markdown
Collaborator

Summary

  • Propagate browser and HTTP disconnect cancellation through tutor routes, course resolution, TutorService, provider model-list/completion requests, and content fetches.
  • Avoid session progression commits after an aborted request.
  • Keep coalesced Course Content loads alive for remaining waiters, return promptly to canceled waiters, and stop the shared load when its final waiter leaves.
  • Preserve successful Tutor behavior and use only fake providers in tests.

Verification

  • Full unit suite: 2,760 passed, 1 skipped.
  • Tutor/Course Content quality suite: 416 passed.
  • npm run check and relevant ESLint passed.
  • Pre-push full unit, coverage validation, and Sonar quality gate passed.
  • No live provider calls were made.

@ttbombadil
ttbombadil merged commit 2b9facf into main Oct 4, 2026
5 checks passed
@ttbombadil
ttbombadil deleted the fix/tutor-request-cancellation branch October 4, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant