aa: make lint cover all workspace packages under attestation-agent - #1652
aa: make lint cover all workspace packages under attestation-agent#1652Xynnn007 wants to merge 1 commit into
Conversation
Previously make lint only clippy'd the attestation-agent crate, so sibling crates (notably attester's evidence_getter via bin) were never linted. Clippy each package with -D warnings, and use --all-targets plus bin where binaries exist. Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com> Co-authored-by: Cursor <cursoragent@cursor.com>
fitzthum
left a comment
There was a problem hiding this comment.
Is there a good way to just check all the packages? Maybe cargo clippy --all? This seems a little fragile as-is.
I wonder if |
|
The There are two ways to fix original issue
I prefer 1, to resolve things asap and let's do "make it better" work then. |
|
my 2 cents is that the coverage gap is not critical enough that it cannot wait proper refactoring. |
fitzthum
left a comment
There was a problem hiding this comment.
I guess I am fine with this in the short term. From the CI perspective, we don't really need to lint the components individually. It shouldn't take too much of a refactor to just lint the entire workspace instead. I guess we might want to keep this Make target around tho.
Previously make lint only clippy'd the attestation-agent crate, so sibling crates (notably attester's evidence_getter via bin) were never linted. Clippy each package with -D warnings, and use --all-targets plus bin where binaries exist.
Note that sev parts are also included as they are in tree. I will make a separate PR to get rid of them altogether.