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

in case of ff-merges, the incarnation status might return the result of a wrong pipeline #119

Open
defreng opened this issue Sep 15, 2022 · 0 comments
Labels
bug Something isn't working foxops

Comments

@defreng
Copy link
Contributor

defreng commented Sep 15, 2022

if an update to an incarnation is merged with fast-forward merges, the gitlab commit status API might return the status of the pipeline that was running as part of the merge-request, instead of the one running on the main branch.

See the following example commit API response:

{
  "id": "b29e2d1763d03119f6c3c6514355b2c9c822fa3c",
  "short_id": "b29e2d17",
  "status": "success",
  "last_pipeline": {
    "iid": 1,
    "sha": "b29e2d1763d03119f6c3c6514355b2c9c822fa3c",
    "ref": "foxops/initialize-to-3a52ce7-v7.55.0",
  }
  [...]
}

See the ref in last_pipeline (although this commit was already merged to main branch)

@defreng defreng added bug Something isn't working foxops labels Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working foxops
Projects
None yet
Development

No branches or pull requests

1 participant