-
Notifications
You must be signed in to change notification settings - Fork 57
feat(quality): [#2157] require documented Clippy allows #2177
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
Merged
josecelano
merged 44 commits into
torrust:develop
from
josecelano:2157-2003-require-documented-clippy-allows
Sep 14, 2026
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
01b21aa
docs(quality): document Clippy allow rationale workflow
josecelano d534230
feat(quality): require documented Clippy allows
josecelano 66eb585
docs(issues): format 2157 acceptance evidence
josecelano 37e32e6
docs(issues): redefine 2157 Clippy allow policy
josecelano e44ae38
docs(issues): format 2157 replacement plan
josecelano 4aebb83
refactor(quality): remove superseded Bash Clippy guard
josecelano d87a503
feat(quality): add native Clippy allow validator
josecelano be25519
docs(quality): document native Clippy allow validation
josecelano 90113aa
fix(quality): emit structured Clippy validator diagnostics
josecelano 8c4eab5
docs(quality): classify Clippy validator CLI output
josecelano 94f2441
fix(container): include Clippy validator in recipe stage
josecelano 43c9756
docs(issues): record 2157 container CI repair
josecelano 361c183
fix(quality): parse validator arguments before Git access
josecelano 5938a1e
fix(container): exclude Clippy validator from test archives
josecelano 4002c89
docs(quality): record Clippy validator review fixes
josecelano 8b5a994
docs(container): link workspace members to archive policy
josecelano cbbe0bd
docs(review): track PR 2177 remediation
josecelano 9a376e4
docs(review): record PR 2177 Clippy fix progress
josecelano 2e1231e
fix(quality): satisfy Clippy empty assertion lint
josecelano 3754ea8
docs(review): record PR 2177 BB1 resolution
josecelano 024fc78
fix(quality): harden Clippy validator Git diff parsing
josecelano 62cba4f
docs(review): record PR 2177 diff hardening resolution
josecelano 9b85a3e
fix(quality): validate Clippy expect reasons
josecelano 7c8db51
docs(quality): document Clippy expect validation
josecelano d06a679
docs(review): record PR 2177 expect validation resolution
josecelano 3f7636f
fix(quality): normalize temporary Clippy reasons
josecelano 7efada9
docs(quality): clarify temporary Clippy reasons
josecelano f01bc84
docs(review): restore PR 2177 remediation evidence
josecelano 19997ab
test(quality): cover accepted Clippy allow shapes
josecelano 9b22ce3
docs(review): record PR 2177 allow shape coverage
josecelano a62d04a
docs(review): record PR 2177 output fallback progress
josecelano 35b1c44
fix(quality): retain Clippy validator output errors
josecelano 9cb37d5
docs(review): record PR 2177 validator test resolutions
josecelano 2c70671
ci(testing): isolate documented Clippy allow validation
josecelano 67d9801
fix(quality): validate staged Clippy allows
josecelano adf98fb
style(container): align nextest archive exclusions
josecelano faf3f34
docs(issue-2157): clarify review report append order
josecelano 2b99357
docs(review): record PR 2177 maintainer resolutions
josecelano 723b885
docs(review): finalize PR 2177 maintainer audit
josecelano ac19fe0
docs(review): record PR 2177 Copilot resolutions
josecelano 287be93
docs(review): record PR 2177 consolidated replies
josecelano c74d894
style(docs): align PR 2177 review table
josecelano 30b9cf8
fix(ci): repair rebase workflow regressions
josecelano ad5b6be
docs(issue-2157): record CI repair validation
josecelano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
.github/skills/dev/maintenance/add-workspace-member/SKILL.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| --- | ||
| name: add-workspace-member | ||
| description: Add or remove an explicit Cargo workspace member in Torrust Tracker. Use when editing the root workspace members list, adding a developer-tool crate, or registering a new standalone workspace package. | ||
| metadata: | ||
| author: torrust | ||
| version: "1.0" | ||
| semantic-links: | ||
| related-artifacts: | ||
| - Cargo.toml | ||
| - Containerfile | ||
| - .dockerignore | ||
| - .github/skills/dev/maintenance/add-rust-dependency/SKILL.md | ||
| --- | ||
|
|
||
| # Add a Cargo Workspace Member | ||
|
|
||
| Use this workflow when changing the root `Cargo.toml` `[workspace].members` list. It applies to | ||
| explicit members only; path dependencies can be auto-discovered separately by Cargo. | ||
|
|
||
| ## Required Review | ||
|
|
||
| 1. Add or remove the member in root `Cargo.toml`. | ||
| 2. Read the semantic link above that list and review `Containerfile` at the cargo-chef recipe | ||
| stage. Add or remove its manifest copy and all target stubs required by `cargo metadata`. | ||
| 3. Decide whether the member has value in container test archives. | ||
| - Production-relevant members remain included. | ||
| - Developer-only analysis, checks, benchmarks, clients, and host-only E2E tools are normally | ||
| excluded from every `cargo nextest archive` invocation. | ||
| - Keep the explanation and all four archive exclusion lists synchronized. | ||
| 4. Review `.dockerignore`; a manifest copied in the recipe stage must not be excluded from the | ||
| build context. | ||
|
|
||
| ## Verification | ||
|
|
||
| Run the narrow validation appropriate to the change before the normal repository gate: | ||
|
|
||
| ```bash | ||
| docker build --target recipe --file Containerfile . | ||
| ``` | ||
|
|
||
| For a changed archive inclusion/exclusion, also run: | ||
|
|
||
| ```bash | ||
| docker build --target test_debug --file Containerfile . | ||
| ``` | ||
|
|
||
| Then run `linter all`, `cargo test --doc --workspace`, and the mandatory pre-commit workflow. | ||
|
|
||
| ## Related Skills | ||
|
|
||
| - [`add-rust-dependency`](../add-rust-dependency/SKILL.md) — add an external dependency. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.