Skip to content

fix: Preinstall DuckDB delta extension for tests - #6744

Open
larrysingleton007 wants to merge 1 commit into
feast-dev:masterfrom
larrysingleton007:fix/issue-6743-duckdb-delta-extension-race
Open

fix: Preinstall DuckDB delta extension for tests#6744
larrysingleton007 wants to merge 1 commit into
feast-dev:masterfrom
larrysingleton007:fix/issue-6743-duckdb-delta-extension-race

Conversation

@larrysingleton007

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

The DuckDB offline suite starts 8 pytest workers against a shared extension cache. On a fresh Linux runner, multiple workers can decide the delta extension is missing and race to install it. This has failed 3 unrelated CI runs with a DuckDB extension-file lock conflict.

This adds a serial Pixi task that installs delta before pytest starts. The existing test task depends on it, so workers only need to load the installed extension.

Which issue(s) this PR fixes:

Fixes #6743

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Unit tests
  • Integration tests
  • Manual tests
  • Testing is not required for this change

Ran the task from an empty DuckDB cache and confirmed Pixi completed install-delta-extension before starting pytest. A fresh connection reported delta as installed and not loaded. The complete 8-worker suite passed with 84 tests passed and 5 skipped.

Self-review

No issues found in the one-file task configuration change.

Misc

Please add kind/bug and ok-to-test.

Fixes feast-dev#6743

Signed-off-by: Larry Singleton <166439969+larrysingleton007@users.noreply.github.com>
@codecov-commenter

codecov-commenter commented Aug 16, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.80%. Comparing base (f771ea4) to head (91d7e74).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6744      +/-   ##
==========================================
- Coverage   46.82%   46.80%   -0.02%     
==========================================
  Files         415      415              
  Lines       50406    50406              
  Branches     7215     7215              
==========================================
- Hits        23601    23594       -7     
- Misses      25155    25161       +6     
- Partials     1650     1651       +1     
Flag Coverage Δ
go-feature-server 30.40% <ø> (-0.19%) ⬇️
python-unit 48.14% <ø> (ø)
see 1 file with indirect coverage changes

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f771ea4...91d7e74. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

DuckDB delta extension install races across parallel tests

2 participants