Skip to content

feat: add React diagnosis plugin - #30

Merged
GRAMMAC1 merged 1 commit into
masterfrom
codex-add-react-plugin
Jul 7, 2026
Merged

feat: add React diagnosis plugin#30
GRAMMAC1 merged 1 commit into
masterfrom
codex-add-react-plugin

Conversation

@GRAMMAC1

@GRAMMAC1 GRAMMAC1 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a built-in React diagnosis plugin for common React and Next.js frontend failures.
  • Detect and classify hook-rule errors, hydration mismatches, server/client component boundary issues, invalid component rendering, JSX runtime issues, and Next-specific runtime/build signals.
  • Register the React plugin between TypeScript and generic fallback analysis.
  • Tighten TypeScript plugin detection so React runtime failures with .tsx stack frames are not incorrectly claimed as TypeScript diagnostics.
  • Extract shared text helpers used by React and TypeScript plugins.
  • Add React plugin tests for invalid hook calls, Next hydration mismatch, and server/client boundary failures.
  • Update the benchmark report after diagnosis output changes.

Validation

  • pnpm verify
  • pre-commit Biome check during commit

Note: sandboxed pnpm verify passed check/lint/typecheck/tests but failed at the harness step because tsx could not create its IPC pipe under the sandbox. The non-sandbox rerun passed.

@GRAMMAC1
GRAMMAC1 merged commit 2ef1744 into master Jul 7, 2026
1 check passed
@GRAMMAC1
GRAMMAC1 deleted the codex-add-react-plugin branch July 7, 2026 04:45
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