Skip to content

ci: add fast targeted Rust Clippy preflight - #814

Merged
GraciousGazelles merged 4 commits into
mainfrom
repair/w13762-fast-preflight-20260907
Sep 7, 2026
Merged

GraciousGazelles merged 4 commits into
mainfrom
repair/w13762-fast-preflight-20260907

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • keep the existing pinned nightly formatter first in the fast Rust job
  • select changed Rust workspace packages and run a package-scoped Clippy preflight with the pinned 1.96 toolchain
  • retain the existing required workspace Clippy gate and result fan-in unchanged

Validation

  • Added focused selector tests and workflow-planner assertions.
  • Hosted CI is the acceptance surface for the workflow and Rust checks.

@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-07T11:27:25.972469Z 7c7a5cc 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 Python script (targeted_clippy_packages.py) and associated unit tests to identify specific Rust workspace packages affected by a diff, enabling targeted Clippy runs in CI. It also adds integration tests to verify the workflow execution order. The review feedback suggests two key improvements: optimizing performance by resolving the repository root path outside of the package loop, and enhancing correctness and efficiency by utilizing a dictionary lookup to handle nested packages correctly and reduce lookup complexity.

GraciousGazelles and others added 3 commits September 7, 2026 21:24
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…ed in path expression'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@GraciousGazelles

Copy link
Copy Markdown
Collaborator Author

I have accepted the reviewer auto-suggestions on this PR. Please let me know if you think any of those suggestions should be revisited or reverted before landing.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 186e29d Sep 7, 2026
75 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/w13762-fast-preflight-20260907 branch September 7, 2026 11:58
sedna-release-publisher Bot pushed a commit that referenced this pull request Sep 15, 2026
* ci: add fast targeted Rust Clippy preflight

* Update .github/scripts/targeted_clippy_packages.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update .github/scripts/targeted_clippy_packages.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'CodeQL / Uncontrolled data used in path expression'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.

2 participants