Skip to content

feat: optimize dashboard bootstrap rendering - #388

Merged
k002bill2 merged 2 commits into
mainfrom
feat/ssr-bootstrap-performance
Sep 3, 2026
Merged

feat: optimize dashboard bootstrap rendering#388
k002bill2 merged 2 commits into
mainfrom
feat/ssr-bootstrap-performance

Conversation

@k002bill2

Copy link
Copy Markdown
Owner

Summary

  • Add authenticated GET /api/bootstrap aggregation for user, project, model, and menu data.
  • Hydrate existing Zustand stores from the bootstrap response to reduce initial request waterfall and duplicate requests.
  • Split public authentication route loading and harden stale-session, menu fallback, and filesystem ACL behavior.
  • Add backend and frontend regression coverage plus the implementation plan.

Validation

  • cd src/dashboard && npm run type-check
  • cd src/dashboard && npm run lint
  • cd src/dashboard && npm run test:run
  • cd src/dashboard && npm run build
  • cd src/backend && uv run pytest ../../tests/backend -q --tb=short — 1,980 passed, 32 skipped
  • staged diff check and literal-secret scan
  • commit hooks: Ruff, TypeScript, ESLint

Security note

  • Local security-hardening tests pass.
  • The final independent Orca Security review could not return a structured verdict because its terminal ended with host_status_unavailable; this is recorded as unknown rather than treated as a pass.

Merge scope

This PR contains the reviewed changes from commit 1e29337dfa479b7e872690a97c0a6fcef10e6ffb.

Add an authenticated bootstrap aggregation endpoint, hydrate client stores from one request, split public auth routes, and harden stale-session and authorization fallbacks.
@k002bill2
k002bill2 merged commit b8d1d22 into main Sep 3, 2026
9 checks passed
@k002bill2
k002bill2 deleted the feat/ssr-bootstrap-performance branch September 3, 2026 00:29
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