buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

“buildkite:git:commit” metadata not reflected on existing jobs #513

Open ticky opened 4 years ago

ticky commented 4 years ago

When uploading buildkite:git:commit metadata, subsequently created jobs within that build will reflect that commit, however, previously-uploaded (but still targeting “HEAD”) jobs will not. This can cause race conditions where different steps are pointed at different commits.

It seems as though any subsequently started jobs should use the backfilled meta-data, rather than only those created after the meta-data is set.

ticky commented 4 years ago

The case in question is a pipeline authored using the YAML pipeline editor beta, so there is no pipeline upload in between the pipeline starting and jobs existing!