Skip to content

Fix collection error and timeout assertion in Snowpark container tests - #72709

Merged
potiuk merged 1 commit into
apache:mainfrom
henry3260:fix-missing-itertools-import-snowflake-test
Sep 8, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
henry3260:fix-missing-itertools-import-snowflake-test

Conversation

@henry3260

@henry3260 henry3260 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

main is currently broken by this: the module fails to collect, so the ruff and
mypy jobs go red on every open PR, not only ones touching Snowflake. Example
run: https://github.com/apache/airflow/actions/runs/34225812873/job/102064432010

Fixing the import surfaces a second problem from the same change, so both are
here together. Fixing only the import would turn the collection error into two
test failures.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

The deferrable-mode change reached for itertools.count without importing
itertools, so the whole test module fails to collect and every check that
scans all files goes red. Its timeout test also advanced the clock past the
deadline before the first poll, so the operator logged no status at all and
the assertion on the last observed status could never hold.
@henry3260
henry3260 requested a review from potiuk as a code owner September 8, 2026 13:05
@boring-cyborg boring-cyborg Bot added area:providers provider:snowflake Issues related to Snowflake provider labels Sep 8, 2026
@potiuk
potiuk merged commit 4277ca8 into apache:main Sep 8, 2026
37 checks passed
@potiuk

potiuk commented Sep 8, 2026

Copy link
Copy Markdown
Member

Thanks @henry3260 !

@henry3260
henry3260 deleted the fix-missing-itertools-import-snowflake-test branch September 8, 2026 13:17
imrichardwu pushed a commit to imrichardwu/airflow that referenced this pull request Sep 11, 2026
apache#72709)

The deferrable-mode change reached for itertools.count without importing
itertools, so the whole test module fails to collect and every check that
scans all files goes red. Its timeout test also advanced the clock past the
deadline before the first poll, so the operator logged no status at all and
the assertion on the last observed status could never hold.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:snowflake Issues related to Snowflake provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants