Skip to content

Conversation

@plyr4
Copy link
Contributor

@plyr4 plyr4 commented Jun 8, 2023

fixes a double-increment bug. scheduled builds get assigned counter+2

if it helps, here's the webhook builds code https://github.com/go-vela/server/blob/main/api/webhook/post.go#L472-L484

@plyr4 plyr4 requested a review from a team as a code owner June 8, 2023 19:30
@plyr4 plyr4 added the bug Indicates a bug label Jun 8, 2023
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #877 (81b93d6) into main (470791d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #877   +/-   ##
=======================================
  Coverage   71.82%   71.82%           
=======================================
  Files         311      311           
  Lines       13024    13024           
=======================================
  Hits         9354     9354           
  Misses       3209     3209           
  Partials      461      461           

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

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

lgtm

@plyr4 plyr4 merged commit 3e88795 into main Jun 9, 2023
@plyr4 plyr4 deleted the fix/schedules-counter branch June 9, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Indicates a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants