Skip to content

계승: v 1.6.0 (#130)#131

Merged
GulSauce merged 1 commit intodevelopfrom
main
Feb 1, 2026
Merged

계승: v 1.6.0 (#130)#131
GulSauce merged 1 commit intodevelopfrom
main

Conversation

@GulSauce
Copy link
Member

@GulSauce GulSauce commented Feb 1, 2026

📢 설명

해당 Pull Request에 대해 간략하게 설명해주세요!

✅ 체크 리스트

  • 리뷰어가 체크할 내용을 작성해주세요!

Summary by CodeRabbit

  • Bug Fixes

    • Enhanced quiz generation streaming functionality with improved event handling and connection lifecycle management, providing a more stable and responsive experience when creating quizzes.
  • Chores

    • Updated dependencies and build configuration to strengthen streaming infrastructure and improve overall application reliability.

✏️ Tip: You can customize this high-level summary in your review settings.

@GulSauce GulSauce merged commit ccf60b9 into develop Feb 1, 2026
1 of 2 checks passed
@coderabbitai
Copy link

coderabbitai bot commented Feb 1, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Package dependencies updated with @microsoft/fetch-event-source. Server-Sent Events handling in the quiz generation store refactored to use the fetchEventSource library instead of manual stream reading. Vite configuration extended with static directory path resolution for prerender builds.

Changes

Cohort / File(s) Summary
Package Dependencies
package.json
Added @microsoft/fetch-event-source v2.0.1 to manage Server-Sent Events streaming.
SSE Stream Handling
src/features/quiz-generation/model/useQuizGenerationStore.js
Replaced manual stream reader with fetchEventSource-based approach using onopen, onmessage, onclose, and onerror callbacks. Introduced firstChunkHandled state tracking; refactored data accumulation for problemSetId, totalCount, and quizzes within the message handler; reworked error handling and completion logic.
Build Configuration
vite.config.js
Added path module import and staticDir resolution for prerender plugin in build configuration.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Poem

🐰 A fetch-event dance so fine,
Streams now flow through callbacks divine,
No more readers wrestling with the flow,
Just handlers graceful, stealing the show!
SSE dreams made simple and bright. ✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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