Skip to content

ci: apply rustfmt in the daily format cron - #494

Merged
tinder-maxwellelliott merged 1 commit into
masterfrom
ci/format-rustfmt-cron
Sep 11, 2026
Merged

ci: apply rustfmt in the daily format cron#494
tinder-maxwellelliott merged 1 commit into
masterfrom
ci/format-rustfmt-cron

Conversation

@tinder-maxwellelliott

Copy link
Copy Markdown
Collaborator

Summary

  • Run bazel run //cli/format:rustfmt in the daily format cron after ktfmt, using the same pinned toolchain as //:rust_format_check.
  • Open a single formatting PR on ci/format when either formatter rewrites files.
  • Clarify that //cli/format:rustfmt stays a separate Bazel target so one language can still be run alone; buildifier remains on its own cron.

Test plan

  • Confirm the Format workflow YAML still runs ktfmt, then rustfmt, with --lockfile_mode=off.
  • Optionally dispatch the Format workflow and verify it either no-ops or opens a formatting-only PR on ci/format.
  • Close any leftover ci/ktfmt-format PR after the new branch is in use.

Keep Rust sources aligned with the pinned rustfmt CI already gates on, instead of only rewriting Kotlin.

Co-authored-by: Cursor <cursoragent@cursor.com>
@tinder-maxwellelliott
tinder-maxwellelliott merged commit 73ea85f into master Sep 11, 2026
22 of 24 checks passed
@tinder-maxwellelliott
tinder-maxwellelliott deleted the ci/format-rustfmt-cron branch September 11, 2026 15:11
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