Skip to content

Pass job IDs from the queue worker - #76

Open
mspandey wants to merge 1 commit into
madhav2348:mainfrom
mspandey:patch-6
Open

Pass job IDs from the queue worker#76
mspandey wants to merge 1 commit into
madhav2348:mainfrom
mspandey:patch-6

Conversation

@mspandey

Copy link
Copy Markdown

Summary

Pass job IDs from the queue worker to the screenshot pipeline to enable stage-level status tracking.

Changes Made

  • Updated createQueueWorker to pass the current job ID when invoking pipeline.process().
  • Enabled pipeline stage updates to be associated with the correct queue job.

Why This Change?

The screenshot pipeline already supports job-aware status updates through the optional jobId parameter. However, the queue worker was invoking the pipeline without providing the job ID, preventing intermediate stages such as OCR, Vision, Source Detection, and Tagging from being reflected in queue status updates.

Passing the job ID allows the pipeline to report accurate progress throughout processing.

Impact

  • Improves visibility into job execution progress.
  • Enables stage-level monitoring and debugging.
  • Makes queue status information more accurate and useful for users and developers.

## Summary

Pass job IDs from the queue worker to the screenshot pipeline to enable stage-level status tracking.

## Changes Made

* Updated `createQueueWorker` to pass the current job ID when invoking `pipeline.process()`.
* Enabled pipeline stage updates to be associated with the correct queue job.

## Why This Change?

The screenshot pipeline already supports job-aware status updates through the optional `jobId` parameter. However, the queue worker was invoking the pipeline without providing the job ID, preventing intermediate stages such as OCR, Vision, Source Detection, and Tagging from being reflected in queue status updates.

Passing the job ID allows the pipeline to report accurate progress throughout processing.

## Impact

* Improves visibility into job execution progress.
* Enables stage-level monitoring and debugging.
* Makes queue status information more accurate and useful for users and developers.
@github-actions

Copy link
Copy Markdown

🎉 Thanks for submitting a PR, @mspandey!

Please confirm the following checklist before review:

  • ⭐ I have starred this repository
  • 🍴 I have forked this repository
  • 📖 I have read the Contributing Guidelines
  • 🔀 My changes are pushed to the develop branch

A maintainer will review your PR shortly. Thank you! 🚀

@madhav2348 madhav2348 added the invalid This doesn't seem right label Jun 19, 2026
@madhav2348

Copy link
Copy Markdown
Owner
  • ESOC or SSOC ? and please read contribution guidlines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants