Skip to content

rust: sync the bundled C sources with src/ (odbc_delegate.c); CI checks the copy - #78

Merged
singhpratech merged 1 commit into
mainfrom
fix/sync-csrc
Sep 5, 2026
Merged

rust: sync the bundled C sources with src/ (odbc_delegate.c); CI checks the copy#78
singhpratech merged 1 commit into
mainfrom
fix/sync-csrc

Conversation

@singhpratech

Copy link
Copy Markdown
Owner

The v0.1.1 Release run failed in the crate job: rust/csrc/src/odbc_delegate.c is out of date. #74 changed src/odbc_delegate.c without running rust/sync-csrc.sh, and CI does not run the crate's csrc_in_sync test, so it surfaced only after the tag.

  • rust/sync-csrc.sh run; diff -rq src rust/csrc/src is clean.
  • CI's version job now also runs that diff, so a future mismatch fails on the PR.

Release consequence: the v0.1.1 tag points at a commit whose crate would ship the old delegation code. After this merges the plan is to delete the draft release and the v0.1.1 tag (nothing has been published from either; go/v0.1.1 is unaffected and stays), re-tag v0.1.1 on the merge commit, and let the Release workflow run again.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YG6wFApZpg2xe61EmKhaSZ

…ks the copy

The delegation probe (#74) changed src/odbc_delegate.c without running
rust/sync-csrc.sh, so the crate's bundled copy under rust/csrc still had the
0.1.0 delegation code.  The Release workflow's crate job caught it
(csrc_in_sync) and the v0.1.1 draft release has no crate.  This copies the
file over and adds a diff of src/ against rust/csrc/src to CI's version job, so
the mismatch fails on the pull request instead of on the tag.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YG6wFApZpg2xe61EmKhaSZ
@singhpratech
singhpratech merged commit dcdc4e4 into main Sep 5, 2026
5 checks passed
@singhpratech
singhpratech deleted the fix/sync-csrc branch September 5, 2026 19:52
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