Skip to content

Appease lints in remaining crates#284

Merged
maxlambrecht merged 6 commits intomaxlambrecht:mainfrom
tamird:lints
Feb 8, 2026
Merged

Appease lints in remaining crates#284
maxlambrecht merged 6 commits intomaxlambrecht:mainfrom
tamird:lints

Conversation

@tamird
Copy link
Copy Markdown
Contributor

@tamird tamird commented Jan 31, 2026

  • chore(xtask): appease lints
  • chore(spiffe): replace tokio_stream with futures
  • chore(spiffe-rustls): appease lints
  • chore(spiffe-rustls-tokio): appease lints
  • chore(spiffe-rustls-grpc-examples): appease lints
  • chore(spiffe-fuzz): appease lints

Please see (and keep) individual commits.


This change is Reviewable

@tamird
Copy link
Copy Markdown
Contributor Author

tamird commented Feb 1, 2026

FYI so long as there are no conflicts there's no reason to merge main into this branch. Now if you merge without squashing, those empty merge commits will be in the history. :(

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
This was missed in a37021a.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Oddly, this removes the dep on spiffe-rustls, which was unused.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Exclude spiffe-fuzz from dependency policy.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
@maxlambrecht
Copy link
Copy Markdown
Owner

FYI so long as there are no conflicts there's no reason to merge main into this branch. Now if you merge without squashing, those empty merge commits will be in the history. :(

@tamird Thanks for the clarification, makes sense. I’ll use Rebase and merge so the commits are replayed on top of main and land as a linear history, without merge commits.

@tamird
Copy link
Copy Markdown
Contributor Author

tamird commented Feb 2, 2026

Anything else you'd like to see here?

@maxlambrecht
Copy link
Copy Markdown
Owner

Anything else you'd like to see here?

I haven't had the chance to do a full review yet. Maintaining this repo is best-effort alongside my day job and other commitments, so reviews sometimes take a bit of time.

I'll do a thorough pass when I can grab a proper block of time and leave consolidated feedback.

Appreciate your patience.

@maxlambrecht
Copy link
Copy Markdown
Owner

@tamird , sorry for the delayed review, and thanks for the cleanup here, this is overall solid. I appreciate the attention to linting and consistency across the workspace.

One change I’d like before merging:

  • spiffe-rustls: please re-export AuthorizerConfigError (e.g., pub use error::AuthorizerConfigError;) and drop the #[expect(unnameable_types)]. Since this error is exposed via Error::source(), downstream users should be able to name and match it.

A couple of small clarifications would also help future maintainability:

  • spiffe: the tokio-stream to futures switch changes the public impl Stream trait path. Could you add a short rationale in the PR description explaining the motivation?
  • Makefile: for cargo deny --exclude spiffe-fuzz, could you add a brief comment explaining why this exclusion is needed (e.g., fuzzing dependencies have different license/advisory requirements)?

For future PRs, it would help reviewability to keep changes more scoped where possible (for example: lint-only, dependency changes, or behavior/API changes in separate PRs). It makes it easier to reason about impact and speeds up reviews.

Happy to re-review once these are addressed.

@tamird
Copy link
Copy Markdown
Contributor Author

tamird commented Feb 8, 2026

@tamird , sorry for the delayed review, and thanks for the cleanup here, this is overall solid. I appreciate the attention to linting and consistency across the workspace.

One change I’d like before merging:

  • spiffe-rustls: please re-export AuthorizerConfigError (e.g., pub use error::AuthorizerConfigError;) and drop the #[expect(unnameable_types)]. Since this error is exposed via Error::source(), downstream users should be able to name and match it.

This seems like it could be done in another PR, right? Since this one doesn't change the visibility.

A couple of small clarifications would also help future maintainability:

  • spiffe: the tokio-stream to futures switch changes the public impl Stream trait path. Could you add a short rationale in the PR description explaining the motivation?

My rationale is that futures is a lot more likely to be in folks' workspaces already, and that the contract for spiffe (as opposed to e.g. spiffe-rustls-tokio) was that it was not dependent on the tokio ecosystem. Now in practice that remains untrue; tokio is deeply ingrained in spiffe, but it's a step in that direction.

  • Makefile: for cargo deny --exclude spiffe-fuzz, could you add a brief comment explaining why this exclusion is needed (e.g., fuzzing dependencies have different license/advisory requirements)?

I don't recall, it's been too long. That said, cargo deny did not run on that crate before this change, so this is just preserving existing behavior and adding coverage for spiffe-fuzz can easily be attempted in another PR.

For future PRs, it would help reviewability to keep changes more scoped where possible (for example: lint-only, dependency changes, or behavior/API changes in separate PRs). It makes it easier to reason about impact and speeds up reviews.

Ack. Because stacking PRs in Github isn't really a thing I tend to prefer to write a single PR with many commits. Github is not very good at reviewing these, but reviewable.io is. I've been using it for over a decade -- it's worth a look if you haven't tried it.

Happy to re-review once these are addressed.

I think there aren't any code changes required? I can edit the PR description with what I wrote above (or you can) but jI want to gently remind you to please not squash this on merge.

@maxlambrecht maxlambrecht merged commit d172952 into maxlambrecht:main Feb 8, 2026
8 of 9 checks passed
@tamird tamird deleted the lints branch February 12, 2026 00:14
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