Skip to content

feat: increasing e2e tests with bullmq coverage#997

Open
ytallo wants to merge 62 commits intomainfrom
feature/bullmq-e2e-tests
Open

feat: increasing e2e tests with bullmq coverage#997
ytallo wants to merge 62 commits intomainfrom
feature/bullmq-e2e-tests

Conversation

@ytallo
Copy link
Contributor

@ytallo ytallo commented Dec 2, 2025

Summary

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor
  • Other (please describe):

Checklist

  • I have read the CONTRIBUTING.md
  • My code follows the code style of this project
  • I have added tests where applicable
  • I have tested my changes locally
  • I have linked relevant issues
  • I have added screenshots for UI changes (if applicable)

Screenshots (if applicable)

Additional Context

ytallo added 30 commits December 1, 2025 14:21
…refactor event adapter to use new connection, queue, and worker managers
…g steps for BullMQ event adapter in workflows
… queue and job management features, including DLQ support and API endpoints
… configuration handling, enhance queue and worker management, and streamline error handling in job processing
…UUID for improved uniqueness and remove unused method
…nd configuration, adding publish, unpublish, and tagging steps
… streams for better performance and event handling
…Jobs hook with dedicated mutations and queries for improved performance and clarity
…amItem with useStreamGroup for improved performance
…ith multiple queue configurations and retry mechanisms
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

📦 This PR is large (>500 lines). Please ensure it has been properly tested.

import type { ApiHelpers } from '@/src/page-objects/ApiHelpers'

const RETRY_QUEUE = 'bullmq.tests.retry.BullMQRetryConsumer'
const DLQ_QUEUE = `${RETRY_QUEUE}.dlq`

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note test

Unused variable DLQ_QUEUE.

Copilot Autofix

AI 2 months ago

To fix the problem, we should remove the declaration of the unused variable DLQ_QUEUE from the file packages/e2e/tests/bullmq/adapter/retry-and-dlq.spec.ts. Only the line(s) that declare DLQ_QUEUE should be removed. This edit is limited to the definition itself (line 11), and no further edits are needed since the variable is not referenced anywhere in the provided code.


Suggested changeset 1
packages/e2e/tests/bullmq/adapter/retry-and-dlq.spec.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/packages/e2e/tests/bullmq/adapter/retry-and-dlq.spec.ts b/packages/e2e/tests/bullmq/adapter/retry-and-dlq.spec.ts
--- a/packages/e2e/tests/bullmq/adapter/retry-and-dlq.spec.ts
+++ b/packages/e2e/tests/bullmq/adapter/retry-and-dlq.spec.ts
@@ -8,7 +8,6 @@
 import type { ApiHelpers } from '@/src/page-objects/ApiHelpers'
 
 const RETRY_QUEUE = 'bullmq.tests.retry.BullMQRetryConsumer'
-const DLQ_QUEUE = `${RETRY_QUEUE}.dlq`
 
 const waitForDlqJob = async (api: ApiHelpers, testCaseId: string) => {
   const timeoutMs = 20000
EOF
@@ -8,7 +8,6 @@
import type { ApiHelpers } from '@/src/page-objects/ApiHelpers'

const RETRY_QUEUE = 'bullmq.tests.retry.BullMQRetryConsumer'
const DLQ_QUEUE = `${RETRY_QUEUE}.dlq`

const waitForDlqJob = async (api: ApiHelpers, testCaseId: string) => {
const timeoutMs = 20000
Copilot is powered by AI and may make mistakes. Always verify output.
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

E2E Test Results ✅

All tests have completed. Tests passed.

Matrix: 2 OS (Ubuntu, macOS) × 2 Templates (TypeScript, Python) = 4 jobs

View detailed test results


This comment is automatically posted by the PR E2E Results workflow.

@ytallo ytallo changed the title Feature/bullmq e2e tests feat: increasing e2e tests with bullmq coverage Dec 2, 2025
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs within 14 days.
If you're still working on this, please leave a comment or push new commits.
Thank you for your contributions to Motia! 🚀

@github-actions github-actions bot added the stale label Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant