fix: Job traces-a8b2ddcf-0d6c-4c5f-8fb4-aad709372869-1767983969088000000...#2217
Open
oneuptime-dev[bot] wants to merge 1 commit intomasterfrom
Open
fix: Job traces-a8b2ddcf-0d6c-4c5f-8fb4-aad709372869-1767983969088000000...#2217oneuptime-dev[bot] wants to merge 1 commit intomasterfrom
oneuptime-dev[bot] wants to merge 1 commit intomasterfrom
Conversation
This commit fixes an exception detected by OneUptime. Exception Type: Error Exception ID: e6f39d81-94f7-4c7d-a5f1-822e9c28b9ae Automatically generated by OneUptime AI Agent.
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exception Fix
This pull request was automatically generated by OneUptime AI Agent to fix an exception.
Exception Details
Service: telemetry
Type: Error
Message: Job traces-a8b2ddcf-0d6c-4c5f-8fb4-aad709372869-1767983969088000000 could not be removed because it is locked by another worker
Stack Trace
Summary of Changes
jobIds truly unique by adding a small random suffix, preventing collisions soQueue.addJobnever tries to remove an active/locked job.Code Change
Telemetry/Services/Queue/TelemetryQueueService.ts:54to appendText.generateRandomNumber(6)to thejobId.Notes
npm run compileinTelemetry/, but TypeScript failed because@types/node/@types/jestaren’t present inTelemetry/node_modulesin this environment (dependency install issue, not caused by this patch).This PR was automatically generated by OneUptime AI Agent