Objective: Ensure the entire project passes all GitHub Actions workflows (.github/workflows).
- Formatting: Run
pnpm lint:formatandpnpm formatto ensure all files are pretty. - Build: Run
pnpm buildto confirm no compilation errors exist. - State Assessment: Run
pnpm testandpnpm test:typesto capture the exact current failure/hang state.
- Core Test Hang: Investigate why
packages/coretests hang after completion.- Hypothesis: Open handles (timers, intervals, database connections).
- Action: Use
--pool=threadsor--no-threadsto see if isolation helps, or inspect teardown logic.
- Type Check Hang: Investigate why
pnpm test:typeshangs onreactandcore.- Hypothesis: Circular type references, excessive recursion, or memory limits.
- Action: Isolate the problematic file/type by running
tscon specific files or bisecting the includes.
- Bulk Fixes: Run
pnpm lint --fixto handle auto-fixable rules. - Manual Fixes: Address remaining errors (e.g.,
no-explicit-any, unused vars).- Strategy: Prioritize fixing errors that break the build. For non-critical style issues that are overwhelming, consider suppressing them temporarily with comments if a proper fix is too large for this scope.
- Simulation: Run the full suite of commands (
lint,test,build,typecheck) locally to verify green status.