Skip to content

perf: reduce dev route compile overhead - #74

Merged
hacksynth merged 1 commit into
mainfrom
codex/perf-route-compile-overhead
May 2, 2026
Merged

hacksynth merged 1 commit into
mainfrom
codex/perf-route-compile-overhead

Conversation

@hacksynth

Copy link
Copy Markdown
Owner

Summary

  • lazy-load the global AI assistant and defer chat session loading until it is opened
  • split lightweight AI config/status and image URL helpers away from provider-heavy generation code
  • add database indexes for task queue, wrong-note, explanation, and study-plan list queries
  • protect /tasks in middleware to avoid unnecessary page compilation for unauthenticated requests

Validation

  • npm run typecheck
  • npm test
  • npm run build

@hacksynth
hacksynth merged commit 99e67cd into main May 2, 2026
11 of 12 checks passed
@hacksynth
hacksynth deleted the codex/perf-route-compile-overhead branch May 3, 2026 01:12
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