Skip to content

Add Rust/SQLx examples to connectors sync workflow#774

Merged
praba2210 merged 2 commits intomainfrom
add-rust-sqlx-sync
Apr 20, 2026
Merged

Add Rust/SQLx examples to connectors sync workflow#774
praba2210 merged 2 commits intomainfrom
add-rust-sqlx-sync

Conversation

@praba2210
Copy link
Copy Markdown
Contributor

Added rsync steps for Rust/SQLx connector examples (src/ and tests/) to the sync workflow, excluding README.md from src/ syncs. No import path rewriting needed since Rust uses crate names rather than file paths.

Issue #, if available:
N/A

Description of changes:
Added Rust/SQLx example sync to sync-from-connectors.yml.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sync src/ and tests/ from the rust/sqlx connector examples
into the samples repo, excluding README.md from src/.
@praba2210 praba2210 requested review from amaksimo and Copilot and removed request for Copilot March 27, 2026 00:04
Copilot AI review requested due to automatic review settings April 20, 2026 18:35
Copy link
Copy Markdown

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

Adds Rust/SQLx example synchronization to the existing “sync examples from connectors” GitHub Actions workflow, bringing Rust samples into the same automated update process as the other language examples.

Changes:

  • Add rsync steps to sync Rust/SQLx src/ and tests/ from the connectors mono-repo.
  • Exclude README.md from the Rust src/ sync.

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

run: |
rsync -av --delete --exclude='README.md' /tmp/connectors/rust/sqlx/example/src/ rust/sqlx/src/
rsync -av --delete /tmp/connectors/rust/sqlx/example/tests/ rust/sqlx/tests/

Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

Line contains trailing whitespace after the Rust sync step; please remove it to keep the workflow file clean and avoid whitespace-sensitive linting failures.

Suggested change

Copilot uses AI. Check for mistakes.
@praba2210 praba2210 merged commit 723e31d into main Apr 20, 2026
79 checks passed
@praba2210 praba2210 deleted the add-rust-sqlx-sync branch April 20, 2026 19:02
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