Skip to content

feat(rsdoctor-analysis): select compiler before analysis - #124

Draft
yifancong wants to merge 1 commit into
mainfrom
feat-rsdoctor-compiler-selection
Draft

yifancong wants to merge 1 commit into
mainfrom
feat-rsdoctor-compiler-selection

Conversation

@yifancong

Copy link
Copy Markdown
Contributor

Summary

Update the Rsdoctor analysis workflow to discover compilers before fetching evidence and keep one selected compiler across the full analysis. Multi-compiler reports now follow the user's requested target, ambiguous targets require a choice, legacy reports omit --compiler, and unavailable compiler data stops analysis before partial results are produced.

Document compilers list, compilers_list, --compiler, and recovery for compiler selection errors in the command reference.

Related: web-infra-dev/rsdoctor#1885, web-infra-dev/rsdoctor#2003

Validation

  • pnpm run check
  • quick_validate.py skills/rsdoctor-analysis

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 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-15T09:19:48.793905Z 363a286 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: 363a286efc

ℹ️ 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".

- If the report has one named compiler, use its exact `name` for the entire analysis.
- If the report has multiple compilers, use the compiler explicitly named by the user. When the request identifies a target such as client, server, or worker but does not match an exact compiler name, map it only when the discovery result makes the match unambiguous; otherwise ask the user to choose from the returned names.
- If a legacy report returns one compiler with `name: null`, omit `--compiler`.
- Never combine or compare compiler results unless the user explicitly requests cross-compiler analysis. Keep the same selected compiler across the Default Evidence Set and all follow-up queries.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Define per-compiler passes for explicit comparisons

When the user explicitly requests a cross-compiler comparison, the first sentence permits combining results, but the next sentence requires keeping one selected compiler across every evidence and follow-up query. Following that instruction means the agent never fetches evidence for the second compiler and cannot perform the requested comparison. Specify that comparison requests run separate, consistent evidence passes for each selected compiler before comparing the results.

Useful? React with 👍 / 👎.

@yifancong
yifancong marked this pull request as draft September 15, 2026 09:42
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