Skip to content

ref: bump sentry-arroyo to 2.38.5#111789

Merged
bmckerry merged 2 commits intomasterfrom
bot/bump-version/sentry-arroyo/2.38.5
Mar 31, 2026
Merged

ref: bump sentry-arroyo to 2.38.5#111789
bmckerry merged 2 commits intomasterfrom
bot/bump-version/sentry-arroyo/2.38.5

Conversation

@getsentry-bot
Copy link
Copy Markdown
Contributor

Co-Authored-By: bmckerry <110857332+bmckerry@users.noreply.github.com>
@getsentry-bot getsentry-bot requested a review from a team as a code owner March 30, 2026 15:24
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 30, 2026
from confluent_kafka.admin import AdminClient, PartitionMetadata
from confluent_kafka.admin import (
AdminClient,
PartitionMetadata, # type: ignore[attr-defined]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confluent_kafka doesn't explicitly export PartitionMetadata for some reason

self.callback, committable=message.committable, timestamp=message.timestamp
),
headers=message.payload.headers,
headers=message.payload.headers, # type: ignore[arg-type]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

message.payload.headers is Arroyo's Headers type, while the arg expects confluent_kafka's HeadersType

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think we should fix this later? It feels kinda sketchy. In theory, passing a MutableSequence[Tuple[str, bytes]] where a List[Tuple[str, Union[str, bytes, None]]] is expected should be okay at runtime, but not in all cases.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to unify on just using the confluent HeadersType in the future

Comment on lines -76 to +77
all_consumers: MutableMapping[str, Consumer | None] = {
all_consumers: MutableMapping[str, StreamProcessor | None] = {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typing here was always wrong, all_consumers values are StreamProcessors not Consumers

Copy link
Copy Markdown
Member

@george-sentry george-sentry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to address some of these weird typing workarounds in the future, but nothing obviously wrong stands out to me.

@bmckerry bmckerry merged commit 181221d into master Mar 31, 2026
109 checks passed
@bmckerry bmckerry deleted the bot/bump-version/sentry-arroyo/2.38.5 branch March 31, 2026 19:01
dashed pushed a commit that referenced this pull request Apr 1, 2026
Co-Authored-By: bmckerry <110857332+bmckerry@users.noreply.github.com>

---------

Co-authored-by: getsentry-bot <10587625+getsentry-bot@users.noreply.github.com>
Co-authored-by: bmckerry <110857332+bmckerry@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants