Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle duplicate artifact events at the source #3210

Merged
merged 3 commits into from
Apr 4, 2024
Merged

Conversation

Naatan
Copy link
Member

@Naatan Naatan commented Apr 2, 2024

TaskDX-2697 Failed to add or update artifact bar: Artifact bar already exists

@Naatan Naatan requested a review from mdrohmann April 2, 2024 20:17
@github-actions github-actions bot changed the base branch from master to version/0-44-0-RC1 April 2, 2024 20:18
@Naatan
Copy link
Member Author

Naatan commented Apr 2, 2024

@mdrohmann flagged you for review since you know this API and can weigh in on whether this is appropriate.

If the API is expected to send the same event twice in certain scenario's we should not be logging this as critical (which means it goes to rollbar).

Copy link
Collaborator

@mdrohmann mdrohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is currently possible for the buildlogstreamer to send the same event twice. This happens, when nomad looses track of a build job and the HC re-schedules it. In this case, the job might actually be run twice. It appears that the amount of times, we loose track of a build, has increased since we are using nomad, but it always was a possible state.

@Naatan Naatan changed the base branch from version/0-44-0-RC1 to version/0-43-0-RC7 April 4, 2024 19:48
@Naatan Naatan merged commit d29f170 into version/0-43-0-RC7 Apr 4, 2024
4 checks passed
@Naatan Naatan deleted the DX-2697 branch April 4, 2024 20:46
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.

3 participants