feat: increasing e2e tests with bullmq coverage#997
Conversation
…ion options and usage documentation
…refactor event adapter to use new connection, queue, and worker managers
…g steps for BullMQ event adapter in workflows
…ies and versions for BullMQ and ioredis
… jobs and add DLQ configuration options
… 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
…improved isolation
… >=0.8.0 across multiple adapters
… streams for better performance and event handling
…Jobs hook with dedicated mutations and queries for improved performance and clarity
…d update RedisMemoryManager error handling
…amItem with useStreamGroup for improved performance
…state from localStorage
…lobal setup to include new dependencies
… install command for specific project
…herit from parent process
…and enhance logging
… readiness before proceeding
…low for improved testing environment
…ith multiple queue configurations and retry mechanisms
…amItem with useStreamGroup for improved performance
…state from localStorage
…lobal setup to include new dependencies
… install command for specific project
…herit from parent process
…and enhance logging
… readiness before proceeding
…low for improved testing environment
|
📦 This PR is large (>500 lines). Please ensure it has been properly tested. |
e22eb79 to
33a9212
Compare
| 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
Show autofix suggestion
Hide autofix suggestion
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.
| @@ -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 |
E2E Test Results ✅All tests have completed. Tests passed. Matrix: 2 OS (Ubuntu, macOS) × 2 Templates (TypeScript, Python) = 4 jobs This comment is automatically posted by the PR E2E Results workflow. |
|
This pull request has been automatically marked as stale because it has not had recent activity. |
Summary
Related Issues
Type of Change
Checklist
Screenshots (if applicable)
Additional Context