Skip to content

Remove README CI badge - #17495

Merged
weihanglo merged 1 commit into
rust-lang:masterfrom
ranger-ross:readme-badg
Sep 21, 2026
Merged

weihanglo merged 1 commit into
rust-lang:masterfrom
ranger-ross:readme-badg

Conversation

@ranger-ross

Copy link
Copy Markdown
Member

What does this PR try to resolve?

I noticed the CI badge in the README no longer works. Seems we don't have an auto-cargo branch (anymore?)
I tried swapping to master but that didn't work since we don't technically run CI on master.

Doing some googling, I discovered that https://github.com/badges/shields can handle this for us.
I think the shields project is fairly well known and safe, but if their are concerns linking to an external domain, we can always just remove the badge.

How to test and review this PR?

See the rendered version

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 21, 2026
@rustbot

rustbot commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

r? @weihanglo

rustbot has assigned @weihanglo.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @Muscraft, @epage, @weihanglo
  • @Muscraft, @epage, @weihanglo expanded to Muscraft, epage, weihanglo
  • Random selection from Muscraft, epage, weihanglo

Comment thread README.md Outdated
## Code Status

[![CI](https://github.com/rust-lang/cargo/actions/workflows/main.yml/badge.svg?branch=auto-cargo)](https://github.com/rust-lang/cargo/actions/workflows/main.yml)
[![CI](https://img.shields.io/github/check-runs/rust-lang/cargo/master?label=CI)](https://github.com/rust-lang/cargo/actions/workflows/main.yml)

@weihanglo weihanglo Sep 21, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Alternatively we delete this and the entire Code status section. IHMO the badge doesn't have practical usefulness but eye-pleasing.

View changes since the review

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The link below it to the nightly docs has value to me as the stable docs are missing parts of the documentation. the fingerprint module comes to mind.

But yeah, I don't see why this link is in the "Code Status" section

@ranger-ross ranger-ross Sep 21, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Maybe we move that to the Contributing section below, then delete the badge and the Code Status section completely

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, we can move it elsewhere.

@epage

epage commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

we don't technically run CI on master.

... I had not realized that. Should we?

@ranger-ross

Copy link
Copy Markdown
Member Author

... I had not realized that. Should we?

Not sure how much we spend on CI (I'd imagine its probably tiny compared to rl/r) but I think that just running in the merge queue has been good enough until now. So personally, I don't see a lot of extra benefit from running it again on master and it just doubles the number of CI runs per PR.

@weihanglo

Copy link
Copy Markdown
Member

we don't technically run CI on master.

... I had not realized that. Should we?

Isn't merge queue basically CI on a merged ref? I guess unless we need some post merge CI jobs, we don't need CI on master.

@weihanglo weihanglo changed the title Updated README CI badge Remove README CI badge Sep 21, 2026
@weihanglo
weihanglo added this pull request to the merge queue Sep 21, 2026
Merged via the queue into rust-lang:master with commit 1adb631 Sep 21, 2026
56 of 57 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 21, 2026
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Sep 22, 2026
Update cargo submodule

10 commits in 495c385d0875c4ba51eb72ea0448a2d4c018b8d4..98a09e7e7d62850f14e5b6132101fc1edd19a16f
2026-09-16 12:48:58 +0000 to 2026-09-21 19:03:16 +0000
- feat(build-rs): trim-paths inputs  (rust-lang/cargo#17491)
- Remove README CI badge (rust-lang/cargo#17495)
- feat(builtin-deps): Add unstable `builtin-dependencies` feature (rust-lang/cargo#17497)
- test(prerelease): concurrent downloads snapshots be unordered (rust-lang/cargo#17492)
- Account for (uplift) hardlinks when calculating clean file size (rust-lang/cargo#17485)
- feat(hints): extract mostly-unused diagnostics  (rust-lang/cargo#17457)
- fix(build-rs): make `unstable` compile  (rust-lang/cargo#17489)
- refactor(context): Split config keys in code, not at runtime (rust-lang/cargo#17490)
- fix(prerelease): preserve locked prerelease deps (rust-lang/cargo#17464)
- Remove -Zasymmetric-token / cargo:paseto (rust-lang/cargo#17486)

r? ghost
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Sep 23, 2026
Update cargo submodule

10 commits in 495c385d0875c4ba51eb72ea0448a2d4c018b8d4..98a09e7e7d62850f14e5b6132101fc1edd19a16f
2026-09-16 12:48:58 +0000 to 2026-09-21 19:03:16 +0000
- feat(build-rs): trim-paths inputs  (rust-lang/cargo#17491)
- Remove README CI badge (rust-lang/cargo#17495)
- feat(builtin-deps): Add unstable `builtin-dependencies` feature (rust-lang/cargo#17497)
- test(prerelease): concurrent downloads snapshots be unordered (rust-lang/cargo#17492)
- Account for (uplift) hardlinks when calculating clean file size (rust-lang/cargo#17485)
- feat(hints): extract mostly-unused diagnostics  (rust-lang/cargo#17457)
- fix(build-rs): make `unstable` compile  (rust-lang/cargo#17489)
- refactor(context): Split config keys in code, not at runtime (rust-lang/cargo#17490)
- fix(prerelease): preserve locked prerelease deps (rust-lang/cargo#17464)
- Remove -Zasymmetric-token / cargo:paseto (rust-lang/cargo#17486)

r? ghost
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Sep 23, 2026
Update cargo submodule

10 commits in 495c385d0875c4ba51eb72ea0448a2d4c018b8d4..98a09e7e7d62850f14e5b6132101fc1edd19a16f
2026-09-16 12:48:58 +0000 to 2026-09-21 19:03:16 +0000
- feat(build-rs): trim-paths inputs  (rust-lang/cargo#17491)
- Remove README CI badge (rust-lang/cargo#17495)
- feat(builtin-deps): Add unstable `builtin-dependencies` feature (rust-lang/cargo#17497)
- test(prerelease): concurrent downloads snapshots be unordered (rust-lang/cargo#17492)
- Account for (uplift) hardlinks when calculating clean file size (rust-lang/cargo#17485)
- feat(hints): extract mostly-unused diagnostics  (rust-lang/cargo#17457)
- fix(build-rs): make `unstable` compile  (rust-lang/cargo#17489)
- refactor(context): Split config keys in code, not at runtime (rust-lang/cargo#17490)
- fix(prerelease): preserve locked prerelease deps (rust-lang/cargo#17464)
- Remove -Zasymmetric-token / cargo:paseto (rust-lang/cargo#17486)

r? ghost
@rustbot rustbot added this to the 1.100.0 milestone Sep 23, 2026
pull Bot pushed a commit to xtqqczze/rust-lang-miri that referenced this pull request Sep 24, 2026
Update cargo submodule

10 commits in 495c385d0875c4ba51eb72ea0448a2d4c018b8d4..98a09e7e7d62850f14e5b6132101fc1edd19a16f
2026-09-16 12:48:58 +0000 to 2026-09-21 19:03:16 +0000
- feat(build-rs): trim-paths inputs  (rust-lang/cargo#17491)
- Remove README CI badge (rust-lang/cargo#17495)
- feat(builtin-deps): Add unstable `builtin-dependencies` feature (rust-lang/cargo#17497)
- test(prerelease): concurrent downloads snapshots be unordered (rust-lang/cargo#17492)
- Account for (uplift) hardlinks when calculating clean file size (rust-lang/cargo#17485)
- feat(hints): extract mostly-unused diagnostics  (rust-lang/cargo#17457)
- fix(build-rs): make `unstable` compile  (rust-lang/cargo#17489)
- refactor(context): Split config keys in code, not at runtime (rust-lang/cargo#17490)
- fix(prerelease): preserve locked prerelease deps (rust-lang/cargo#17464)
- Remove -Zasymmetric-token / cargo:paseto (rust-lang/cargo#17486)

r? ghost
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.

4 participants