Skip to content

Cap protobuf<7 in file_organizer and image_service (supersedes #507, #510)#663

Open
pdettori wants to merge 1 commit into
mainfrom
fix/pin-protobuf-below-7
Open

Cap protobuf<7 in file_organizer and image_service (supersedes #507, #510)#663
pdettori wants to merge 1 commit into
mainfrom
fix/pin-protobuf-below-7

Conversation

@pdettori

@pdettori pdettori commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Supersedes Dependabot #507 (a2a/file_organizer) and #510 (a2a/image_service), which both bump protobuf 6.33.6 → 7.35.0 and fail test-startup.

Root cause

protobuf 7.x is incompatible with every released OpenTelemetry — opentelemetry-proto requires protobuf>=5.0,<7.0. To satisfy protobuf>=7, uv walks the whole OTel stack back to a 2022-era release (opentelemetry-* 1.11.1), which is incompatible with the retained modern opentelemetry-api/sdk + instrumentation and crashes the agent at startup (exit 2, Uvicorn never binds).

There's no security benefit: the existing protobuf>=6.33.5 pin already resolves 6.33.6, which mitigates CVE-2026-0994.

Fix

  • Cap protobuf>=6.33.5,<7 in both services + re-lock.
  • Verified: protobuf stays at 6.33.6 and opentelemetry-proto stays at 1.43.0 (no downgrade).
  • Bonus: the <7 cap prevents Dependabot from recreating the major-bump PRs, since they can no longer satisfy the constraint.

Closes #507. Closes #510.

Assisted-By: Claude Code

protobuf 7.x is incompatible with every released opentelemetry: the
opentelemetry-proto package requires protobuf>=5.0,<7.0. Bumping to
protobuf>=7 (Dependabot #507/#510) forces uv to walk the entire
OpenTelemetry stack back to a 2022-era release (1.11.1), which is
incompatible with the retained modern otel-api/sdk and crashes the
agent at startup (test-startup: exit 2, server never binds).

There is no security benefit: the existing protobuf>=6.33.5 pin already
resolves 6.33.6, which mitigates CVE-2026-0994.

Cap protobuf<7 (still >=6.33.5) in both services and re-lock. This also
prevents Dependabot from recreating the major-bump PRs, since they can
no longer satisfy the constraint. Supersedes #507 and #510.

Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New/ToDo

Development

Successfully merging this pull request may close these issues.

3 participants