Skip to content

ci: fix targeted Clippy package argv bridge - #815

Merged
GraciousGazelles merged 1 commit into
mainfrom
repair/w13762-package-bridge-20260907
Sep 7, 2026
Merged

GraciousGazelles merged 1 commit into
mainfrom
repair/w13762-package-bridge-20260907

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • fix targeted Clippy package JSON-to-argv conversion for multi-package selections
  • preserve the existing targeted command flags and authoritative full Clippy gate
  • exercise the production shell consumer with zero, one, and two packages, invalid JSON, exact Cargo argv, and propagated Cargo failures

Validation

  • hosted Rust CI planner fixtures cover the production bridge
  • local git diff --check passed; no local build, test, or Clippy run was used

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 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
🔒 Security Review ✅ Completed 2026-09-07T13:25:26.772077Z 3269019 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.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces a new helper script run_targeted_clippy.sh to run targeted Clippy checks on specific packages, along with corresponding unit tests in test_run_targeted_clippy.py and updates to test_ci_planners.py. The review feedback recommends three improvements: using os.environ.get with a default value to prevent a KeyError if the environment variable is missing, replacing mapfile with a portable while read loop to ensure compatibility with macOS's default Bash 3.2, and explicitly specifying encoding="utf-8" when reading files in the test planner.

Comment thread .github/scripts/run_targeted_clippy.sh Resolved
Comment thread .github/scripts/run_targeted_clippy.sh Resolved
Comment thread .github/scripts/test_ci_planners.py Resolved
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit b7b1252 Sep 7, 2026
75 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/w13762-package-bridge-20260907 branch September 7, 2026 13:46
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