You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(taskbroker): Dual-write new parameters_bytes (#602)
* feat(taskbroker): Dual-write parameters_bytes (msgpack) alongside parameters (JSON)
Introduces the new parameters_bytes field on TaskActivation so tasks can
carry raw bytes via msgpack, and adds the worker-side reader that prefers
parameters_bytes with a fallback to the legacy JSON parameters field.
The producer dual-writes both fields by default so this rolls out in a
single commit regardless of worker/broker upgrade order. The
TASKBROKER_CLIENT_PARAMETERS_FORMAT env var (both|json|msgpack) narrows
this once everything is on the new reader.
First step toward STREAM-882 (taskbroker passthrough mode for arbitrary
Kafka topics): https://linear.app/getsentry/issue/STREAM-882
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ci: Satisfy clippy, black, and mypy on dual-write branch
- upkeep.rs: move #[allow(deprecated)] from individual rstest-expanded
tests (where it gets swallowed by the macro expansion) to the test
module as a whole.
- task.py: black formatting.
- pyproject.toml: tell mypy to ignore missing msgpack stubs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ref(upkeep tests): Scope allow(deprecated) to the specific lines
Replaces the module-wide allow with three narrow block-scoped allows
exactly where the tests touch the legacy parameters field, so we keep
deprecation warnings active for everything else in the test module.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* switch to sum of both
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments