Clean frontend app entrypoint
This commit is contained in:
@@ -1,3 +1,32 @@
|
||||
## Sprint 42 App entrypoint cleanup (2026-06-17)
|
||||
|
||||
Changed:
|
||||
- Removed the stale `FormEvent`/`useState` React imports from `frontend/src/App.tsx`.
|
||||
- Removed the UTF-8 BOM from `App.tsx` so patches and static checks use normal UTF-8 text.
|
||||
- Added a regression test that verifies the clean entrypoint encoding and React import set.
|
||||
- Recorded the current `App.tsx` size audit: 622 lines after the orchestration hook decomposition passes.
|
||||
|
||||
Validation:
|
||||
- `cd backend && python -m pytest tests/test_sprint39_frontend_orchestration_hooks.py -q` passed: 8 tests.
|
||||
- `python -m compileall backend/app` passed.
|
||||
- `cd backend && python -m pytest -W error::DeprecationWarning` passed: 192 tests.
|
||||
- `bash scripts/run_readiness_check.sh` passed.
|
||||
- `cd frontend && npm run typecheck` passed.
|
||||
- `cd frontend && npm run build` passed.
|
||||
- `cd backend && python -m alembic heads` passed: `202606120900 (head)`.
|
||||
- `cd backend && python -m alembic upgrade head --sql` passed.
|
||||
- `bash -n scripts/live_migration_smoke.sh` passed.
|
||||
|
||||
Open:
|
||||
- Tower deployment and runtime smoke should run before considering this pass deployed.
|
||||
|
||||
Limitations:
|
||||
- No UX behavior, API contracts, migrations, provider fetching or AI behavior changed.
|
||||
- `App.tsx` remains a large composition root; the remaining size is primarily panel wiring and hook outputs.
|
||||
|
||||
Next recommended pass:
|
||||
- Optional bootstrap-effect extraction if another no-behavior size reduction is useful.
|
||||
|
||||
## Sprint 41 Demo workflow hook decomposition (2026-06-17)
|
||||
|
||||
Changed:
|
||||
|
||||
Reference in New Issue
Block a user