go-tuf
go-tuf copied to clipboard
CI runs on simulated merge commit, but leaves comments on unmerged code
CI appears to run on a simulated merge commit, such as this one for this PR. This is useful, since it verifies that the build will remain green upon merge, but it results in confusing test output and PR comments from GitHub actions, such as the following. These errors do not correspond with the code around the comments on the PR, but rather the code in the simulated merge commit.
Yeah, I was confused, too. How do we fix this?
One way would be to run tests on the branch itself (not a merge commit) but set up a merge queue to re-run CI on the simulated merge commit before the merge completes.
@rdimitrov do you think you could take a look at this?
@ethan-lowman-dd can you help us reproduce the results in your screenshot? The PR and merge commit you linked to don't show any Check failures here as we haven't merged the CI changes yet.
Here is the CI run that failed: https://github.com/theupdateframework/go-tuf/actions/runs/2046098449
Closing since the code base changed and so it is no longer relevant
Thanks for raising this 👍