Skip to content

feat(workshopper): resolve generation timeouts and improve timetable#16

Open
yinggez wants to merge 1 commit into
mainfrom
workshopper/LGHapi_performance
Open

feat(workshopper): resolve generation timeouts and improve timetable#16
yinggez wants to merge 1 commit into
mainfrom
workshopper/LGHapi_performance

Conversation

@yinggez

@yinggez yinggez commented Jul 16, 2026

Copy link
Copy Markdown
Contributor
  • Backend Concurrency: Refactored WorkshopService.java to use a dedicated class-level ExecutorService for blocking LLM network calls, preventing ForkJoinPool thread starvation and deadlocks during concurrent session block generation.
  • Draft Persistence: Fixed a race condition in App.tsx where pending LLM block generation promises were not properly resolved when saving a draft, causing the UI to become permanently stuck in a loading state.
  • LGH Integration: Removed the strict ?status=APPROVED filter from the Learning Goal Hub fetch to allow importing all available goals, and added graceful error boundary toasts for when the LGH service is offline.
  • Timetable UI: Enhanced the SortableBlockRow to allow activity text editing even when not in full edit mode. Added a helpful info tooltip to the activity prompt.

…editing

- **Backend Concurrency:** Refactored `WorkshopService.java` to use a dedicated class-level `ExecutorService` for blocking LLM network calls, preventing `ForkJoinPool` thread starvation and deadlocks during concurrent session block generation.
- **Draft Persistence:** Fixed a race condition in `App.tsx` where pending LLM block generation promises were not properly resolved when saving a draft, causing the UI to become permanently stuck in a loading state.
- **LGH Integration:** Removed the strict `?status=APPROVED` filter from the Learning Goal Hub fetch to allow importing all available goals, and added graceful error boundary toasts for when the LGH service is offline.
- **Timetable UI:** Enhanced the `SortableBlockRow` to allow activity text editing even when not in full edit mode. Added a helpful info tooltip to the activity prompt.
@yinggez
yinggez requested review from florivn and zhngharry July 16, 2026 20:41
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