Skip to content

fix: restore public CI and prevent stale async UDF results - #291

Merged
zxqfd555 merged 4 commits into
pathwaycom:mainfrom
zxqfd555:fix/mypy-mongodb-unknown-rank
Dec 1, 2026
Merged

zxqfd555 merged 4 commits into
pathwaycom:mainfrom
zxqfd555:fix/mypy-mongodb-unknown-rank

Conversation

@zxqfd555

@zxqfd555 zxqfd555 commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Public fork PRs have no access to the license secret, so licensed connector examples and Delta Lake tests fail. Reuse the existing requires_license fixture to skip these tests when the key is missing while retaining coverage in licensed CI. The MongoDB test's legacy ndarray[None, ...] shape also needs a targeted mypy suppression for NumPy 1 and 2 stubs.

A fully asynchronous UDF can finish after its input row is deleted or replaced, causing a KeyError or briefly combining a stale result with a new row. Track the active task for each input key and discard superseded results. The existing persistence format remains unchanged.

Validation:

  • 20 consecutive runs of 19 targeted async tests on Ubuntu 24.04 with four engine threads and both runtime-typechecking modes; also ran the same tests with one engine thread and runtime typechecking.
  • Async transformer and fully asynchronous UDF persistence tests; restart from a snapshot produced by the previous version.
  • Affected tests without a license: 24 passed and 72 skipped in each CI mode. Representative examples with a license: 5 passed.
  • cargo fmt, cargo clippy --locked --all-targets -- --deny warnings, black, isort, flake8, and typos.
  • MongoDB test checked with mypy and NumPy 1.26.4 and 2.2.6.

@zxqfd555 zxqfd555 changed the title fix: keep MongoDB unknown-rank test compatible with mypy fix: restore public CI for mypy and unlicensed PRs Nov 30, 2026
@zxqfd555 zxqfd555 changed the title fix: restore public CI for mypy and unlicensed PRs fix: restore public CI and prevent stale async UDF results Nov 30, 2026
@zxqfd555
zxqfd555 merged commit af67370 into pathwaycom:main Dec 1, 2026
16 checks passed
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