Skip to content

v0.6.2-beta: Frontend Auth Render Hotfix - #43

Merged
DeepZone merged 1 commit into
mainfrom
codex/create-v0.6.2-beta-frontend-auth-hotfix
May 20, 2026
Merged

v0.6.2-beta: Frontend Auth Render Hotfix#43
DeepZone merged 1 commit into
mainfrom
codex/create-v0.6.2-beta-frontend-auth-hotfix

Conversation

@DeepZone

Copy link
Copy Markdown
Owner

Motivation

  • Fix a white-screen crash caused by violating React Hook Rules in frontend/src/App.tsx where a hook (useMemo) ran after conditional early returns.
  • Provide a safe hotfix that ensures the auth bootstrap flow reliably renders setup/login/app states without React hook-order errors.
  • Bump user-facing and runtime/package versions to v0.6.2-beta / 0.6.2 so UI and tests are consistent.

Description

  • Removed useMemo from frontend/src/App.tsx and compute systemLine as a plain const before any early returns so no hooks are executed after conditional returns.
  • Updated related UI/version strings in frontend/src/components/Layout.tsx and frontend/src/App.tsx to v0.6.2-beta.
  • Bumped frontend package metadata in frontend/package.json and frontend/package-lock.json, and bumped backend/runtime version metadata in backend/app/main.py and backend/pyproject.toml.
  • Synchronized backend API version strings and health/system status builders and test assertion with v0.6.2-beta in backend/app/api/routes_system.py, backend/app/api/routes_health.py, backend/app/core/system_status.py, and backend/tests/test_api_smoke.py, and added release notes in RELEASE_NOTES.md and README update.

Testing

  • Ran cd frontend && npm run build and the frontend built successfully (Vite production build completed).
  • Ran cd backend && pytest -q and backend tests passed (all tests passed in this run).
  • Attempted docker compose checks but Docker is not available in this environment (docker: command not found).

Codex Task

@DeepZone
DeepZone merged commit 5438f05 into main May 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant