Skip to content

call shatter-job-rows tasks with has_documents = True for email templates that have a file "attached" to them#4795

Open
rparke wants to merge 1 commit intomainfrom
rp-add-queue-for-sendfiles-by-email-process-job-row-post-worker-rollout
Open

call shatter-job-rows tasks with has_documents = True for email templates that have a file "attached" to them#4795
rparke wants to merge 1 commit intomainfrom
rp-add-queue-for-sendfiles-by-email-process-job-row-post-worker-rollout

Conversation

@rparke
Copy link
Copy Markdown
Contributor

@rparke rparke commented Mar 27, 2026

calling shatter-job-rows like this will cause those save_email tasks to be put on the new database-tasks-documents queue and be picked up by a new dedicated worker, api-worker-jobs-save-documents

TODO:

@rparke rparke force-pushed the rp-add-queue-for-sendfiles-by-email-process-job-row-post-worker-rollout branch 2 times, most recently from bf3fed7 to 0f1a63b Compare April 1, 2026 15:14
rparke added a commit that referenced this pull request Apr 1, 2026
adds branching logic to put `save-email` tasks  with `has_documents` true onto the dedicated queue for emails with files, `database-tasks-documents`

This needs deploying to all workers before #4795 can be deployed, otherwise workers will get called with an argument that they can't handle.
@rparke rparke force-pushed the rp-add-queue-for-sendfiles-by-email-process-job-row-post-worker-rollout branch from 0f1a63b to a46a4b1 Compare April 1, 2026 16:47
@rparke rparke changed the title Rp add queue for sendfiles by email process job row post worker rollout call shatter-job-rows tasks with has_documents = True for email templates that have a file "attached" to them Apr 1, 2026
rparke added a commit that referenced this pull request Apr 2, 2026
adds branching logic to put `save-email` tasks  with `has_documents` true onto the dedicated queue for emails with files, `database-tasks-documents`

This needs deploying to all workers before #4795 can be deployed, otherwise workers will get called with an argument that they can't handle.
Copy link
Copy Markdown
Contributor

@CrystalPea CrystalPea left a comment

Choose a reason for hiding this comment

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

Nice one, a couple comments:

…emplates that have a file "attached" to them

calling `shatter-job-rows` like this will cause those `save_email` tasks to be put on the new `database-tasks-documents` queue and be picked up by a new dedicated worker, `api-worker-jobs-save-documents`
@rparke rparke force-pushed the rp-add-queue-for-sendfiles-by-email-process-job-row-post-worker-rollout branch from 76d44c3 to 0d792c3 Compare April 2, 2026 14:21
rparke added a commit that referenced this pull request Apr 2, 2026
adds branching logic to put `save-email` tasks  with `has_documents` true onto the dedicated queue for emails with files, `database-tasks-documents`

This needs deploying to all workers before #4795 can be deployed, otherwise workers will get called with an argument that they can't handle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants