Skip to content

fix: apply rustfmt to resolve CI lint failures#129

Merged
bashandbone merged 2 commits into
mainfrom
copilot/investigate-ci-failures
Mar 27, 2026
Merged

fix: apply rustfmt to resolve CI lint failures#129
bashandbone merged 2 commits into
mainfrom
copilot/investigate-ci-failures

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 24, 2026

CI Lint & Format job was failing on cargo fmt --all -- --check due to lines exceeding rustfmt's width limit in recently added code.

Affected files

  • crates/recoco-core/src/execution/row_indexer.rs — Long counted_fut() and assert!() calls in new tests
  • crates/recoco-core/src/ops/targets/postgres.rs — Long format!() and iterator chain expressions
  • crates/recoco-splitters/benches/splitting.rs — Struct literal and closure in benchmark code

Pure formatting changes (cargo fmt --all), no logic modified.

Original prompt

Please investigate why CI is failing and correct any issues you find.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: bashandbone <89049923+bashandbone@users.noreply.github.com>
Agent-Logs-Url: https://github.com/knitli/recoco/sessions/41dcb415-44ee-4e98-b75d-594cb16e94b5
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 24, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
recoco-docs 3b64eb3 Mar 24 2026, 10:09 PM

Copilot AI changed the title [WIP] Fix CI failures and correct issues fix: apply rustfmt to resolve CI lint failures Mar 24, 2026
Copilot AI requested a review from bashandbone March 24, 2026 22:13
@bashandbone bashandbone marked this pull request as ready for review March 24, 2026 22:15
@bashandbone bashandbone requested review from Copilot and removed request for bashandbone March 24, 2026 22:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Applies cargo fmt --all to resolve CI cargo fmt --all -- --check failures caused by recently introduced lines exceeding rustfmt’s configured width, without changing program logic.

Changes:

  • Reformatted benchmark struct literals and a closure benchmark call to satisfy rustfmt line-wrapping.
  • Reformatted Postgres target SQL construction and iterator chains to match rustfmt output.
  • Reformatted row indexer test helpers/asserts to comply with rustfmt line-length rules.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
crates/recoco-splitters/benches/splitting.rs Rustfmt reflow for struct literal and a bench_with_input call in benchmarks.
crates/recoco-core/src/ops/targets/postgres.rs Rustfmt reflow for identifier quoting/joining and SQL string/iterator-chain formatting.
crates/recoco-core/src/execution/row_indexer.rs Rustfmt reflow for test futures construction and assertions in collect_mutation_results tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bashandbone bashandbone merged commit b977dc2 into main Mar 27, 2026
41 of 43 checks passed
@bashandbone bashandbone deleted the copilot/investigate-ci-failures branch March 27, 2026 00:06
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