Skip to content

Fix exp 231 x86_64 CI: export resqlite_test_i64_to_str#248

Merged
danReynolds merged 1 commit into
mainfrom
exp-231-fix-test-export
Jul 15, 2026
Merged

Fix exp 231 x86_64 CI: export resqlite_test_i64_to_str#248
danReynolds merged 1 commit into
mainfrom
exp-231-fix-test-export

Conversation

@danReynolds

Copy link
Copy Markdown
Owner

Follow-up to #247. The x86_64 Encoder differential CI job went red on main after #247 merged (auto-merge landed before that job finished).

Cause: the i64 differential test's native symbol resqlite_test_i64_to_str was only declared in test/, but the FFI export scanner in hook/build.dart scans lib/ only — test-only symbols must be listed in the hand-maintained _exportedSymbols set, exactly like resqlite_test_base64_encode. macOS exports all symbols by default (so the test passed locally on arm64), but the Linux version script restricts exports, so the symbol was undefined and the test threw Failed to lookup symbol.

Fix: add resqlite_test_i64_to_str to _exportedSymbols next to the base64 test symbol.

Test plan

  • dart test test/native_encoder_diff_test.dart passes on arm64 (unchanged)
  • x86_64 Encoder differential CI job on this PR is the real gate for the Linux export path

🤖 Generated with Claude Code

The i64 differential test symbol added in exp 231 (#247) was only declared
in test/, but the FFI export scanner only scans lib/ — test-only symbols
must be added to the hand-maintained _exportedSymbols list (like
resqlite_test_base64_encode). macOS exports all symbols by default so the
test passed locally, but the Linux version script restricts exports, so the
x86_64 encoder-differential job failed with "undefined symbol". Add the
symbol to the export list next to the base64 test symbol.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@danReynolds danReynolds added the type: correctness Correctness guard / public-API audit; no performance claim label Jul 15, 2026
@danReynolds
danReynolds merged commit 0ae826f into main Jul 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: correctness Correctness guard / public-API audit; no performance claim

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant