Skip to content

Enhance processing service templates to consume from pipeline queues#1011

Open
vanessavmac wants to merge 2 commits into515-new-async-distributed-ml-backendfrom
515-external-consumer-template
Open

Enhance processing service templates to consume from pipeline queues#1011
vanessavmac wants to merge 2 commits into515-new-async-distributed-ml-backendfrom
515-external-consumer-template

Conversation

@vanessavmac
Copy link
Copy Markdown
Collaborator

@vanessavmac vanessavmac commented Oct 18, 2025

Summary

Follow up to #910 which implemented the controller logic for managing batch image processing tasks for ML Jobs.

This PR focuses on the "consumer" side of the batch image processing system by demonstrating how a celery worker can be added to a processing service.

List of Changes

  • Adds a celery worker to each template processing service to demonstrate how the async distributed ML backend can be utilized by external celery workers.

Related Issues

Addresses in part #515

How to Test the Changes

Apply the same testing as #910. Inside of flower, you can see that process_pipeline_request tasks are picked up by both the antenna and the ML backend celery worker.

Checklist

  • I have tested these changes appropriately.
  • I have added and/or modified relevant tests.
  • I updated relevant documentation or comments.
  • I have verified that this PR follows the project's coding standards.
  • Any dependent changes have already been merged to main.

@vanessavmac vanessavmac requested a review from mihow October 18, 2025 06:15
@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 18, 2025

Deploy Preview for antenna-preview ready!

Name Link
🔨 Latest commit 649a628
🔍 Latest deploy log https://app.netlify.com/projects/antenna-preview/deploys/68f3307dbcdafc00088c625c
😎 Deploy Preview https://deploy-preview-1011--antenna-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 31 (🔴 down 34 from production)
Accessibility: 80 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@vanessavmac vanessavmac changed the title feat: add external celery workers to the processing services Enhance processing service templates to consume from pipeline queues Oct 18, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for antenna-preview ready!

Name Link
🔨 Latest commit 1e69ef9
🔍 Latest deploy log https://app.netlify.com/projects/antenna-preview/deploys/69e2be964602da0008a4ec16
😎 Deploy Preview https://deploy-preview-1011--antenna-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 36 (🔴 down 46 from production)
Accessibility: 89 (🔴 down 8 from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 17, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5d4fbc86-814f-4b66-bcfd-3f5602567041

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 515-external-consumer-template

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

mihow added a commit that referenced this pull request Apr 17, 2026
- Add "Comparison with prior/external implementations" section covering
  what the stub mirrors vs. diverges from the ADC worker, and why the
  NATS/API path was picked over the Celery-direct path in PR #1011.
- Update the env-var table to reflect the `.env.dev` file as the single
  source of defaults (no code fallbacks).
- Update directory layout and poll-loop pseudocode to match the current
  per-slug iteration (no job→slug reverse-lookup).

Co-Authored-By: Claude <noreply@anthropic.com>
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