Skip to content

Require React Doctor 100 in local verification - #35

Open
ParthJadhav wants to merge 1 commit into
mainfrom
codex/react-doctor-100
Open

ParthJadhav wants to merge 1 commit into
mainfrom
codex/react-doctor-100

Conversation

@ParthJadhav

Copy link
Copy Markdown
Owner

Require a complete React Doctor score of 100 in bun run check, with a standalone bun run doctor command and a cached JSON report. Missing, partial, or failed scans fail verification.

Initialize the headless React controller through lazy state, use a structured benchmark snapshot clone and a Set for fixture membership checks, and run independent Chrome setup operations together. Keep the browser readiness probe boolean so CDP does not serialize capture pixel buffers.

Validation:

  • bun run check: 413 tests passed; complete React Doctor 100/100; type, lint, coverage, build, and package checks passed.
  • bun run docs:build: passed.
  • Browser runtime suite: all 20 checks passed in Google Chrome.
  • StrictMode regression covers controller identity, rerendering, close/reopen, and unmount disposal.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T21:14:17.581612Z 363b775 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 363b775fa3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/react-doctor.mjs
const root = fileURLToPath(new URL("../", import.meta.url));
const result = spawnSync(
"npx",
["--yes", "react-doctor@latest", ".", "--yes", "--scope", "full", "--json"],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Pin the executable used by the release gate

Pin react-doctor to a reviewed, lockfile-controlled version instead of executing @latest. The publish path runs bun run release, which invokes bun run check and this script from the privileged Changesets step in .github/workflows/release.yml; that step exposes a write-capable GITHUB_TOKEN and has id-token: write. A compromised or newly malicious registry release could therefore execute arbitrary code with release credentials, while even a benign incompatible update can unexpectedly block publishing.

Useful? React with 👍 / 👎.

@ParthJadhav ParthJadhav mentioned this pull request Nov 7, 2026

This branch has not been deployed

No deployments
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