Skip to content

chore: Unbreak the clippy and link-check jobs - #562

Merged
ebma merged 5 commits into
mainfrom
chore/ci-hygiene
Sep 16, 2026
Merged

ebma merged 5 commits into
mainfrom
chore/ci-hygiene

Conversation

@ebma

@ebma ebma commented Sep 14, 2026

Copy link
Copy Markdown
Member

Two pre-existing CI failures unrelated to the migration work:

  • clippy::manual_inspect (clippy 1.81) fires inside the #[pallet::pallet] macro expansion of orml-currencies-allowance-extension; with that crate's #![deny(warnings)] every clippy run has failed since the toolchain bump. Allowed at crate level; verified with RUSTFLAGS=-Dwarnings cargo clippy --release -p orml-currencies-allowance-extension.
  • The markdown link check is rate-limited (HTTP 429) on an archived substrate-docs blob URL in the README on every run. Added to the checker's ignore patterns.

…nsion

The lint (new in clippy 1.81) fires inside the #[pallet::pallet] macro
expansion, which this crate does not control; under #![deny(warnings)] it
has failed every clippy run since the toolchain bump.
GitHub rate-limits the checker on that blob URL (HTTP 429), failing the
job on every PR for a link that is not dead.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Narrow the link-check ignore pattern to avoid skipping validation for the entire repository.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR unblocks Clippy and Markdown link-check CI jobs.

Changes:

  • Allows the generated clippy::manual_inspect warning.
  • Adds a link-check exception for the archived documentation URL.
File summaries
File Summary
pallets/orml-currencies-allowance-extension/src/lib.rs Suppresses the macro-generated Clippy warning.
.github/workflows/mlc_config.json Adds the link-check ignore pattern; it should be narrowed to the single archived URL.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite (auto)

Note

Copilot is running an experiment and ran this review at Lite.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/mlc_config.json Outdated
ebma and others added 3 commits September 15, 2026 14:59
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
`manual_inspect` (clippy 1.81) fires inside the `#[pallet::pallet]`
expansion of our polkadot-sdk fork. Three pallets carry `deny(warnings)`,
so allowing it per crate would need three copies; a CLI `-A` overrides the
crate-level deny for all of them at once. Drops the per-crate allow again.
No runtime declares an `experimental` feature, so the cfg-gated
`SlotDuration` line was always compiled out. Rust 1.81's `unexpected_cfgs`
now rejects it under `-Dwarnings`, which broke the test-code job.
@ebma
ebma merged commit 0e92cd6 into main Sep 16, 2026
3 checks passed
@ebma
ebma deleted the chore/ci-hygiene branch September 16, 2026 08:20
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