Skip to content

ops: Resolve most zizmor findings as of zizmor@1.33.1 - #286

Merged
Byron merged 6 commits into
rust-lang:mainfrom
hashcatHitman:zizmor
Dec 5, 2026
Merged

Byron merged 6 commits into
rust-lang:mainfrom
hashcatHitman:zizmor

Conversation

@hashcatHitman

Copy link
Copy Markdown
Member

In pursuit of getting more zizmor lints enforced across rust-lang repos through crabwatch, this PR fixes most zizmor findings as of zizmor@1.33.1, using the auditor persona. The lints that actually fired per-persona level are:

regular persona findings:

pedantic persona findings:

auditor persona findings:

  • Everything from pedantic
  • Fixed in this PR:
    • None
  • Not fixed in this PR:
    • None

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
@hashcatHitman

Copy link
Copy Markdown
Member Author

r? crabwatch

@hashcatHitman

Copy link
Copy Markdown
Member Author

No r?, so I'll flip a coin. Heads=Marco.

@hashcatHitman

Copy link
Copy Markdown
Member Author
$ fend 1d2
  1: 50.00%  ##############################
  2: 50.00%  ##############################

$ fend roll 1d2
2

cc @ubiratansoares

@ubiratansoares ubiratansoares 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.

I've pulled this branch and I confirmed the fixes using zizmor v1.33.1. Approved on behalf of t-infra.

@hashcatHitman
hashcatHitman marked this pull request as ready for review December 5, 2026 08:21
@hashcatHitman hashcatHitman moved this from zizmor PR opened to zizmor PR in review in t-crabwatch policy expansion Dec 5, 2026
@Byron
Byron merged commit d311f8b into rust-lang:main Dec 5, 2026
55 checks passed
@Byron

Byron commented Dec 5, 2026

Copy link
Copy Markdown
Member

Thanks everyone!

@hashcatHitman
hashcatHitman deleted the zizmor branch December 5, 2026 09:26
@hashcatHitman hashcatHitman moved this from zizmor PR in review to Needs Policy Update in t-crabwatch policy expansion Dec 5, 2026
@hashcatHitman hashcatHitman moved this from Needs Policy Update to Policy Adjusted in t-crabwatch policy expansion Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Policy Adjusted

Development

Successfully merging this pull request may close these issues.

3 participants