Skip to content

feat(taskworker): Update Taskbroker / Taskworker Client to Support Push Mode#112629

Merged
george-sentry merged 4 commits intomasterfrom
george/feat/update-taskworker-to-push-mode
Apr 10, 2026
Merged

feat(taskworker): Update Taskbroker / Taskworker Client to Support Push Mode#112629
george-sentry merged 4 commits intomasterfrom
george/feat/update-taskworker-to-push-mode

Conversation

@george-sentry
Copy link
Copy Markdown
Member

Linear

Completes STREAM-866

Description

Currently, taskworkers pull tasks from taskbrokers via RPC. This approach works, but has some drawbacks. Therefore, we want taskbrokers to push tasks to taskworkers instead. Read this page on Notion for more information.

This PR updates taskbroker-client package to version 0.1.8, which adds the ability to select between "pull" and "push" delivery modes. It also updates the run_taskworker command to accept extra arguments for configuring the taskworker in push mode...

  • --push-mode is a boolean that turns push mode on or off (default off)
  • --taskworker-rpc-port specifies the port the taskworker gRPC server should listen on (default is 50052 since the taskbroker runs on 50051, and in self or local hosted environments, brokers and workers may run on the same machine)

@george-sentry george-sentry requested review from a team as code owners April 9, 2026 21:50
@linear-code
Copy link
Copy Markdown

linear-code bot commented Apr 9, 2026

@george-sentry george-sentry changed the title Update Taskbroker / Taskworker Client to Support Push Mode feat(taskworker): Update Taskbroker / Taskworker Client to Support Push Mode Apr 9, 2026
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 9, 2026
@gricha
Copy link
Copy Markdown
Member

gricha commented Apr 10, 2026

closed #112639 in lieu of this

@george-sentry george-sentry merged commit fba43eb into master Apr 10, 2026
81 checks passed
@george-sentry george-sentry deleted the george/feat/update-taskworker-to-push-mode branch April 10, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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