Skip to content

Harden CI workflow detection and error redaction#982

Draft
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/codebase-architecture-elegance-0bf3
Draft

Harden CI workflow detection and error redaction#982
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/codebase-architecture-elegance-0bf3

Conversation

@cursor

@cursor cursor Bot commented Jun 28, 2026

Copy link
Copy Markdown

Summary

  • Require GitHub CI management to find an actual React Doctor action step before treating a workflow as configured.
  • Return a failing exit code when ci install cannot write the canonical workflow path.
  • Centralize sensitive path + secret anonymization in core and apply it to CLI issue URLs, JSON error reports, Sentry frame fields, and oxlint parser previews/related labels.
  • Add targeted regression coverage for stale workflow detection and redacted error surfaces.

Verification

  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm run build
  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm exec vp test run packages/react-doctor/tests/ci-providers.test.ts packages/react-doctor/tests/manage-ci.test.ts packages/react-doctor/tests/handle-error.test.ts packages/react-doctor/tests/build-json-report.test.ts packages/core/tests/parse-oxlint-output-redaction.test.ts
  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm run typecheck
  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm run lint
  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm run test
  • PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH" pnpm run smoke:json-report
Open in Web View Automation 

cursoragent and others added 2 commits June 28, 2026 16:50
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

/rde parity

View PR

Open in Web View Automation 

Sent by Cursor Automation: React Doctor Cleanup

@pkg-pr-new

pkg-pr-new Bot commented Jun 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/eslint-plugin-react-doctor@982
npm i https://pkg.pr.new/oxlint-plugin-react-doctor@982
npm i https://pkg.pr.new/react-doctor@982

commit: 3e47811

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