queue.add_job() does not send message to SQS
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the reported FastAPI example with sqs-workers 0.5.12, boto3 1.28.49, and the shown queue.add_job call. Trace the queue.add_job entry point and verify that a successful call results in the message appearing in the configured SQS queue.
Written by the indexing model from the issue text.
Description
Hello,
I am using sqs-workers for handling long-term tasks and I faced an issue with sending tasks:
Here is my code snippet:
sqs = SQSEnv(session=boto_client.get_session())
queue = sqs.queue("dev-test-queue")
async generate_task(request: Request):
configuration_data = to_config(request)
message_id = queue.add_job(job_name="exectute_task", config_data=configuration_data)
The point is queue.add_job(_) return message_id but message is not appeared under SQS queue.
Stack:
- fast-api 0.103.1
- boto3 1.28.49
- sqs-workers 0.5.12
- Dominant language
- Python
- Stars
- 37
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Doist/sqs-workers
-
Public API to send ready-made messages in a batch and to flush open batchesPossibly taken @fbidu claimed this 24 days ago. Open
Doist/sqs-workers#165 · 1 assignee ·
-
Support for aioboto3Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Doist/sqs-workers#149 · 1 comment ·
All issues in Doist/sqs-workers
Similar issues
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
country:US rating:6 request-theme type:TV SHOW
Difficulty 1/5 Under an hour Newbie friendliness 65/100
LizardByte/ThemerrDB#10501 · 1 comment ·
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
agentscope-ai/agentscope#4563 ·
Maintainers usually reply within 2 days
-
comp/desktop desktop/chat P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
NousResearch/hermes-agent#164451 ·
Maintainers usually reply within 1 day
-
external integration integration-submission
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
langchain-ai/docs#8426 ·
Maintainers usually reply within 1 day