-
Notifications
You must be signed in to change notification settings - Fork 0
Homebrew 7 Fix #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebrew 7 Fix #26
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,9 @@ jobs: | |
| test: | ||
| name: Test (${{ matrix.os }}) | ||
| runs-on: ${{ matrix.os }} | ||
| # The beta leg is an early-warning canary for upcoming compiler and lint | ||
| # changes, not a gate. Beta clippy churn must not turn CI red. | ||
| continue-on-error: ${{ matrix.rust == 'beta' }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: The job-level Prompt for AI agents |
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
|
|
@@ -204,7 +207,7 @@ jobs: | |
|
|
||
| # Exactly 1 default [[bin]] in Cargo.toml. [[bin]] entries gated by | ||
| # `required-features` (e.g. release-tools helpers gen-completions and | ||
| # gen-manpage) are excluded — they don't ship in normal builds. | ||
| # gen-manpage) are excluded: they don't ship in normal builds. | ||
| read DEFAULT_COUNT CARGO_BIN <<<"$(awk ' | ||
| function flush() { | ||
| if (in_bin && !has_req) { | ||
|
|
@@ -309,6 +312,15 @@ jobs: | |
| - uses: actions/checkout@v7 | ||
| with: | ||
| persist-credentials: false | ||
| # audit-check's findOrInstall() falls back to `cargo install cargo-audit` | ||
| # without --locked, which resolves dependencies that outrun the toolchain | ||
| # pinned in rust-toolchain.toml. Dropping a prebuilt binary into | ||
| # $CARGO_HOME/bin first makes that fallback a no-op. | ||
| - name: Install cargo-audit | ||
| uses: taiki-e/install-action@v2 | ||
| with: | ||
| tool: cargo-audit | ||
|
|
||
| - uses: rustsec/audit-check@v2 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -175,6 +175,15 @@ jobs: | |
| - uses: actions/checkout@v7 | ||
| with: | ||
| persist-credentials: false | ||
| # audit-check's findOrInstall() falls back to `cargo install cargo-audit` | ||
| # without --locked, which resolves dependencies that outrun the toolchain | ||
| # pinned in rust-toolchain.toml. Dropping a prebuilt binary into | ||
| # $CARGO_HOME/bin first makes that fallback a no-op. | ||
| - name: Install cargo-audit | ||
| uses: taiki-e/install-action@v2 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P3: The audit tool version is left floating: Prompt for AI agents |
||
| with: | ||
| tool: cargo-audit | ||
|
|
||
| - uses: rustsec/audit-check@v2 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -172,6 +172,10 @@ impl DiscoveryProgress for NoProgress { | |
| /// | ||
| /// This trait defines the interface for interacting with Git hosting providers | ||
| /// like GitHub, GitLab, and Bitbucket. | ||
| // `async_trait` rewrites each `async fn` into a `#[must_use]` boxed future, | ||
| // which beta clippy's `double_must_use` then flags as redundant. The attribute | ||
| // is generated by the macro, not written here, so there is nothing to remove. | ||
| #[allow(clippy::double_must_use)] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P3: The Prompt for AI agents |
||
| #[async_trait] | ||
| pub trait Provider: Send + Sync { | ||
| /// Returns the provider kind (GitHub, GitLab, etc.). | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (broader_impact): The beta
testjob is allowed to succeed when any step fails, including formatting, compilation, or runtime tests; those failures are indistinguishable from tolerated beta Clippy lint churn and therefore do not block downstream CI.Triggers: When the beta compiler exposes a real regression unrelated to upstream lint changes.
Suggested fix: Allow only the beta Clippy step to fail, or split beta Clippy into a separate continue-on-error job while keeping beta formatting, compilation, and tests as required checks.