Skip to content

Enforce cargo fmt on e2e-tests in CI - #291

Merged
benthecarman merged 1 commit into
lightningdevkit:mainfrom
benthecarman:enforce-e2e-fmt
Sep 21, 2026
Merged

benthecarman merged 1 commit into
lightningdevkit:mainfrom
benthecarman:enforce-e2e-fmt

Conversation

@benthecarman

Copy link
Copy Markdown
Collaborator

The e2e-tests crate is excluded from the workspace, so the cargo fmt --all --check step in CI never checked it and the weekly rustfmt bot never formatted it. Check and format the crate explicitly in both workflows and fix the drift that had accumulated in its sources.

@ldk-reviews-bot

ldk-reviews-bot commented Sep 20, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @tankyleo as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tankyleo tankyleo 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.

Thanks do we need an update to AGENTS.md too ?

The e2e-tests crate is excluded from the workspace, so the
`cargo fmt --all --check` step in CI never checked it and the
weekly rustfmt bot never formatted it. Check and format the
crate explicitly in both workflows and fix the drift that
had accumulated in its sources. Document the separate
formatting requirement in the agent instructions.

AI assistance: Maple and OpenAI Codex.
@benthecarman
benthecarman merged commit 23b9304 into lightningdevkit:main Sep 21, 2026
10 checks passed
@benthecarman
benthecarman deleted the enforce-e2e-fmt branch September 21, 2026 21:10
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.

3 participants