Skip to content

ci: add cargo fmt check and format codebase#137

Merged
zfarrell merged 2 commits into
mainfrom
worktree-recursive-hugging-cherny
Jun 5, 2026
Merged

ci: add cargo fmt check and format codebase#137
zfarrell merged 2 commits into
mainfrom
worktree-recursive-hugging-cherny

Conversation

@zfarrell

@zfarrell zfarrell commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Adds a fmt CI job that runs cargo fmt --check (fails the build on unformatted code), and applies cargo fmt across the codebase to make it pass.

@claude claude Bot 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.

Pure cargo fmt reformatting across the codebase plus a well-formed fmt CI job. Verified the full diff — all changes are formatting-only (wrapping, brace placement, import ordering) with no behavior changes. CI job matches existing job conventions and correctly adds the rustfmt component.

@sentry

sentry Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 36.84211% with 276 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/query.rs 0.00% 102 Missing ⚠️
src/databases.rs 35.61% 47 Missing ⚠️
src/util.rs 0.00% 31 Missing ⚠️
src/auth.rs 46.00% 27 Missing ⚠️
src/config.rs 53.84% 24 Missing ⚠️
src/datasets.rs 0.00% 18 Missing ⚠️
src/update.rs 0.00% 9 Missing ⚠️
src/connections_new.rs 0.00% 5 Missing ⚠️
src/queries.rs 0.00% 5 Missing ⚠️
src/jwt.rs 90.69% 4 Missing ⚠️
... and 3 more

📢 Thoughts on this report? Let us know!

@zfarrell zfarrell merged commit f7e5766 into main Jun 5, 2026
12 checks passed
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.

1 participant