Skip to content

test(website): the slack website image keeps opentelemetry-api below 1.46, which fastapi 0.165.1 can't call - #1005

Open
earakely-scale wants to merge 1 commit into
mainfrom
edgararakelyan/website-image-otel-cap
Open

earakely-scale wants to merge 1 commit into
mainfrom
edgararakelyan/website-image-otel-cap

Conversation

@earakely-scale

@earakely-scale earakely-scale commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Main has been red since opentelemetry-api 1.46.0 was published (2026-12-04 17:20 UTC). The gateway shards and slow shard 10 fail at deploy: the slack website backend never gets healthy, so v0.9.1678 and v0.9.1679 didn't reach PyPI (their publish-pypi main-ci job failed).

The backend's traceback:

File ".../fastapi/telemetry/_asgi.py", line 332, in __call__
    logger=_logs.get_logger(
TypeError: get_logger() takes 1 positional argument but 3 positional arguments (and 1 keyword-only argument) were given
  • opentelemetry-api 1.46.0 makes get_logger's version, schema_url and logger_provider keyword-only.
  • fastapi 0.165.1 (2026-12-03) passes them by position.
  • With both installed, any FastAPI app fails every request, including a bare FastAPI() with one route.
  • tst/data/slack_website/backend/requirements.txt installs fastapi unpinned, so a fresh image build gets both.

What

The image's requirements cap opentelemetry-api<1.46. Nothing else in the repo's images installs fastapi.

Checked

  • Repro: in a fresh venv, fastapi 0.165.1 with opentelemetry-api 1.46.0 returns a TypeError for every request through TestClient. With 1.45.3 the same app returns 200.
  • Main: main's last green run (ca6ad5dcb, 17:15 UTC) started before the release. Every run after it fails on this.
  • CI: this PR's gateway shards and slow shard 10 deploy the image.

Not in this PR

agent-env's own explorer (agent-env up) depends on fastapi>=0.110, so a fresh pip install agentenv-framework today can get the same pair. uv.lock holds fastapi 0.141.1 and opentelemetry-api 1.44.0, so CI and uv sync are unaffected. I left the package's requirements alone, expecting a fastapi or opentelemetry patch release.

🤖 Generated with Claude Code

Confidence Score: 5/5RetriggerView in Greptile

This focused dependency cap appears safe to merge.

Summary

Caps opentelemetry-api below 1.46 in the Slack website backend image.

  • The Slack website backend keeps OpenTelemetry below version 1.46.

Reviews (3) · Last reviewed commit: "test(website): the slack website image k..." · Reviewed by Greptile

…1.46, which fastapi 0.165.1 can't call

opentelemetry-api 1.46.0 (2026-12-04 17:20 UTC) takes get_logger's version
and schema_url by keyword only; fastapi 0.165.1's telemetry middleware passes
them by position, so every request to a fastapi app with both installed fails
with a TypeError. The slack website backend installs fastapi unpinned, so its
server never got healthy and every test that deploys it failed on main from
that release on, keeping v0.9.1678 and v0.9.1679 off PyPI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@earakely-scale
earakely-scale requested a review from a team as a code owner December 4, 2026 18:10
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​opentelemetry-api@​1.45.398100100100100

View full report

@earakely-scale

Copy link
Copy Markdown
Collaborator Author

@greptileai review

@earakely-scale

Copy link
Copy Markdown
Collaborator Author

@greptileai review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant