Skip to content

Run OTel integration tests when span-emitting task runner code changes#69250

Merged
jason810496 merged 1 commit into
apache:mainfrom
jason810496:ci/otel-selective-check-files
Jul 3, 2026
Merged

Run OTel integration tests when span-emitting task runner code changes#69250
jason810496 merged 1 commit into
apache:mainfrom
jason810496:ci/otel-selective-check-files

Conversation

@jason810496

Copy link
Copy Markdown
Member

Why

#67877 changed the spans emitted by the task runner and broke the OTel integration test, but its CI never ran that test: neither task_runner.py nor the otel integration tests themselves are in the OTEL_FILES selective-checks group, so testable-core-integrations stayed empty and the failure only surfaced in the canary build (fixed in #69236).

What

  • Add airflow-core/tests/integration/otel/ and task-sdk/.../task_runner.py to OTEL_FILES so touching either triggers the otel core integration.
  • Sync dev/breeze/doc/ci/04_selective_checks.md and test_selective_checks.py accordingly.

Was generative AI tooling used to co-author this PR?

The otel core integration was only triggered by observability sources,
so PRs changing the spans the task runner emits (like apache#67877) or the
otel integration tests themselves passed CI without running the tests
that assert the span hierarchy, and breakage surfaced only in canary
builds.
@potiuk

potiuk commented Jul 2, 2026

Copy link
Copy Markdown
Member

I think it was a temp issue with back-compat - re-running to double check

@jason810496

Copy link
Copy Markdown
Member Author

I think it was a temp issue with back-compat - re-running to double check

Yes, the CI all pass now, thanks.

@jason810496 jason810496 merged commit 5298431 into apache:main Jul 3, 2026
281 of 282 checks passed
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test PR Link

vatsrahul1001 pushed a commit that referenced this pull request Jul 3, 2026
… code changes (#69250)

The otel core integration was only triggered by observability sources,
so PRs changing the spans the task runner emits (like #67877) or the
otel integration tests themselves passed CI without running the tests
that assert the span hierarchy, and breakage surfaced only in canary
builds.
(cherry picked from commit 5298431)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
potiuk added a commit that referenced this pull request Jul 3, 2026
… code changes (#69250) (#69285)

The otel core integration was only triggered by observability sources,
so PRs changing the spans the task runner emits (like #67877) or the
otel integration tests themselves passed CI without running the tests
that assert the span hierarchy, and breakage surfaced only in canary
builds.
(cherry picked from commit 5298431)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk added this to the Airflow 3.3.1 milestone Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants