Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

fix: apply rustfmt to resolve CI lint failures - #129

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

Adam Poulemanos (bashandbone) merged 2 commits into
mainfrom
copilot/investigate-ci-failures

Conversation

Copilot AI commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

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

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

Copy link
Copy Markdown

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
@bashandbone
Adam Poulemanos (bashandbone) marked this pull request as ready for review March 24, 2026 22:15

Copilot AI 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.

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
Adam Poulemanos (bashandbone) merged commit b977dc2 into main Mar 27, 2026
41 of 43 checks passed
@bashandbone
Adam Poulemanos (bashandbone) deleted the copilot/investigate-ci-failures branch March 27, 2026 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants