Skip to content

Revert "Explicitly initialize Task SDK Stats in API server lifespan (hardening)#68481

Merged
kaxil merged 1 commit into
mainfrom
revert-68078-fix/api-server-init-task-sdk-stats
Jun 12, 2026
Merged

Revert "Explicitly initialize Task SDK Stats in API server lifespan (hardening)#68481
kaxil merged 1 commit into
mainfrom
revert-68078-fix/api-server-init-task-sdk-stats

Conversation

@ashb

@ashb ashb commented Jun 12, 2026

Copy link
Copy Markdown
Member

This reverts commit 38c50f5.

It initializes something about Task SDK so that metrics emitted via airflow.sdk path in the API server are emitted correctly.

But nothing in the API server context should be using that -- this is allowing both a bug and an architectural violation.

@ashb

ashb commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

The underlying change might be okay, but

  • the commit message and PR desc are misleading
  • The newsfragment is pure noise that is 1000% irellevant to users.
  • The function name is wrong (it talks about task sdk, but doesn't do anything with it.)

@kaxil
kaxil merged commit f0684b0 into main Jun 12, 2026
77 checks passed
@kaxil
kaxil deleted the revert-68078-fix/api-server-init-task-sdk-stats branch June 12, 2026 23:34
@jscheffl

Copy link
Copy Markdown
Contributor

@ash I can acknowledge a bad PR but here you also make a bad PR yourself. There was no newsfragment, that was earlier in the original PR and was removed on request.

imrichardwu pushed a commit to imrichardwu/airflow that referenced this pull request Jun 16, 2026
dingo4dev pushed a commit to dingo4dev/airflow that referenced this pull request Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants