ref(taskworker): Mark raw-mode namespaces explicitly - #121297
Merged
Merged
Conversation
Set is_raw_mode on the namespaces backing topics that taskbroker consumes in raw mode, and drop the task options that taskbroker ignores for them. Raw-mode activations are built by taskbroker from the topic's `raw:` block in its own config, not by a producer, so processing_deadline_duration and compression_type on the decorator never reach the broker. They already disagree with what is deployed: process_profile_from_kafka_raw declares 80s while every region runs the topic at 60s, and 60 is what applies. Removing them is a no-op at runtime and makes the deployed config the only place the values live. taskbroker-client now rejects them at import for raw namespaces, so they cannot drift back in. ingest.profiling.passthrough is left alone; infra has already migrated off it and STREAM-1191 removes it. Blocked on a taskbroker-client release containing is_raw_mode. ref STREAM-1044 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
untitaker
force-pushed
the
markusunterwaditzer/stream-1044-raw-mode-flag
branch
from
August 6, 2026 15:19
243ffb7 to
c160b82
Compare
untitaker
marked this pull request as ready for review
August 6, 2026 15:19
Contributor
Sentry Snapshot Testing
|
markstory
approved these changes
Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
blocked on a
taskbroker-clientrelease containingis_raw_mode(getsentry/taskbroker#777).Sets
is_raw_mode=Trueon the namespaces backing topics that taskbroker consumes in raw mode, and drops the task options taskbroker ignores for them.ref STREAM-1044
🤖 Generated with Claude Code