Eric Engestrom activity https://gitlab.com/1ace 2026-03-04T17:11:37Z tag:gitlab.com,2026-03-04:5167373512 Eric Engestrom commented on merge request !225752 at GitLab.org / GitLab 2026-03-04T17:11:37Z 1ace Eric Engestrom

The .generated files are generated by the tests that make sure the corresponding non-.generated file is up-to-date (see lib/tasks/gitlab/openapi/v2.rake for this one). I don't see how it could've been intended that this one be committed :)

The link you posted (https://gitlab.com/gitlab-org/gitlab/-/commits/master/doc/api/openapi/openapi_v2.yaml.generated) is interesting though; I did a spot-check of a dozen commits that precede 43dfda64 (including the one just before that in that list) and none of them modify/add/remove that file, so I think you found a gitlab bug 😅

tag:gitlab.com,2026-03-03:5163094339 Eric Engestrom opened merge request !225752: Remove accidentally-committed generated file at GitLab.org / GitLab 2026-03-03T18:12:06Z 1ace Eric Engestrom

What does this MR do and why?

Remove accidentally-committed generated file

Committed by accident in 43dfda64 (/cc @skundapur), and then "updated" by a bunch of commits since.

Adding a .gitignore to prevent that mistake from happening again :)

References

N/A

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

tag:gitlab.com,2026-03-03:5163083089 Eric Engestrom commented on merge request !225668 at GitLab.org / GitLab 2026-03-03T18:08:46Z 1ace Eric Engestrom

Thanks @pedropombeiro! Before I go write these tests, could you confirm that this is something reasonable to be doing?

tag:gitlab.com,2026-03-03:5163072163 Eric Engestrom pushed to project branch drop-accidental-commit-of-generated-file at Eric Engestrom / GitLab 2026-03-03T18:06:18Z 1ace Eric Engestrom

Eric Engestrom (52cdfea6) at 03 Mar 18:06

Remove accidentally-committed generated file

... and 2 more commits

tag:gitlab.com,2026-03-03:5163063899 Eric Engestrom pushed new project branch drop-accidental-commit-of-generated-file at Eric Engestrom / GitLab 2026-03-03T18:03:59Z 1ace Eric Engestrom

Eric Engestrom (c631564e) at 03 Mar 18:03

Remove accidentally-committed generated file

... and 129472 more commits

tag:gitlab.com,2026-03-03:5161865264 Eric Engestrom commented on merge request !225668 at GitLab.org / GitLab 2026-03-03T13:30:05Z 1ace Eric Engestrom

I had a look to see where the existing tests are so that I can add mine next to them, but I didn't manage to find them; could you point me to the right file?

tag:gitlab.com,2026-03-03:5161796301 Eric Engestrom pushed to project branch runner-details-own-token at Eric Engestrom / GitLab 2026-03-03T13:14:23Z 1ace Eric Engestrom

Eric Engestrom (d1614a02) at 03 Mar 13:14

Add support for a runner to query its own details

tag:gitlab.com,2026-03-03:5161083904 Eric Engestrom opened merge request !225668: Add support for a runner to query its own details at GitLab.org / GitLab 2026-03-03T10:23:41Z 1ace Eric Engestrom

What does this MR do and why?

Add support for a runner to query its own details

This allows tooling that manages runners to trivially check if a runner has been modified externally and needs to be updated/re-created.

Security-wise this should not be opening any new doors: this is the information that was provided at creation so anyone who has the runner token has that information, modulo any external updates.

References

https://docs.gitlab.com/api/runners/#retrieve-runners-details

Screenshots or screen recordings

N/A

How to set up and validate locally

Calling the new GET /runners/self API with the PRIVATE-TOKEN header set to the runner's own token returns the same information as calling the existing GET /runners/:id with a PAT that has the appropriate permissions.

(not tested yet as I haven't set up a local gitlab instance; if documentation for doing this has been written since last time I looked for it, please mention it in a comment so that I can set it up 🙏)

MR acceptance checklist

  • Tests needed (waiting for the idea to be approved before spending time writing them)
tag:gitlab.com,2026-02-27:5151790418 Eric Engestrom pushed new project branch runner-details-own-token at Eric Engestrom / GitLab 2026-02-27T18:37:30Z 1ace Eric Engestrom

Eric Engestrom (4f42ee99) at 27 Feb 18:37

Add support for a runner to query its own details

... and 129473 more commits

tag:gitlab.com,2026-02-17:5112415391 Eric Engestrom commented on issue #482639 at GitLab.org / GitLab 2026-02-17T13:26:15Z 1ace Eric Engestrom

I just retried and confirmed that this is still current as of GitLab 18.8.4

But also, to whoever is responsible for that stale bot: your behaviour is pretty offensive and I hope you will look up and read any of the numerous article & blog posts about your behaviour and how it's received by everyone else, and I hope you realise that literally "doing nothing" is better for everyone (yes, including GitLab) than what you're doing.

tag:gitlab.com,2025-09-04:4588648052 Eric Engestrom commented on merge request !445 at marge-org / marge-bot 2025-09-04T17:30:18Z 1ace Eric Engestrom

This MR was mentioned on IRC again, and I just wanted to write down here the issue I see: a common case is for Marge to time out on a merge pipeline, and when a human looks at it, there's actually just a minute left of some job that was picked up late (typically because a user was running a bunch of long jobs that tied the runners for too long). The human will then re-assign the MR to Marge, and if needed unassign/reassign any other MRs in the queue so that they get moved back behind this MR.

This MR will kill that use-case, so it would be good to detect it. The first fix that comes to mind is to check if the current pipeline for the MR is already created by Marge, and only do this if that's not the case. This will fix the problem for Mesa CI (on freedesktop.org) as well as all the CIs that copied from it, but there might be use-cases that are not covered by that. Maybe this solution is good enough though, it's probably worth implementing here (and rebasing 😅) to see how it would look, and if there are no other objections (once the ones above are addressed) this can probably be merged :)

tag:gitlab.com,2025-06-20:4365936264 Eric Engestrom commented on merge request !561 at marge-org / marge-bot 2025-06-20T11:01:17Z 1ace Eric Engestrom

The code is sound, but I'm guessing maybe CI_OPEN_MERGE_REQUESTS only gets populated if the MR pipeline would be created in the target namespace, which IIRC is what happens when you're a Developer or above on the target project.

@benjamb Would you mind testing this?

  1. create a test branch
  2. cherry-pick the first commit git fetch https://gitlab.com/marge-org/marge-bot b2955f321c626b021ab8182baff13677a1316bc9 && git cherry-pick FETCH_HEAD
  3. push that first commit to your fork
  4. create a dummy merge request on this repo with only that first commit
  5. (wait long enough that the MR is fully initialised; a minute should be more than enough)
  6. cherry-pick the second commit git fetch https://gitlab.com/marge-org/marge-bot 9b7f333d0a0ef82c7bb60ed0124984e9e9631253 && git cherry-pick FETCH_HEAD
  7. push that second commit
  8. look at the pipeline tab to see if we see: a fork pipeline with the first commit, then a MR pipeline with the first commit, and then only a MR pipeline with the second commit.

If we also see a fork pipeline with the second commit, then my guess is wrong and I need to investigate more, but if what I describe in 5 is what we see, then this MR is good to go 🤞

tag:gitlab.com,2025-06-20:4365763072 Eric Engestrom pushed to project branch ci-mr-dedup at Eric Engestrom / marge-bot 2025-06-20T10:03:41Z 1ace Eric Engestrom

Eric Engestrom (9b7f333d) at 20 Jun 10:03

ci: remove duplicate fork pipeline in merge requests

tag:gitlab.com,2025-06-20:4365693820 Eric Engestrom commented on merge request !561 at marge-org / marge-bot 2025-06-20T09:41:43Z 1ace Eric Engestrom

Draft because this is not working for some reason 🤔

tag:gitlab.com,2025-06-19:4363193771 Eric Engestrom pushed to project branch ci-mr-dedup at Eric Engestrom / marge-bot 2025-06-19T12:11:44Z 1ace Eric Engestrom

Eric Engestrom (6e11df98) at 19 Jun 12:11

tag:gitlab.com,2025-06-19:4363191632 Eric Engestrom pushed to project branch ci-mr-dedup at Eric Engestrom / marge-bot 2025-06-19T12:11:09Z 1ace Eric Engestrom

Eric Engestrom (86951bf9) at 19 Jun 12:11

dummy commit to test the new rule; will be removed again before thi...

tag:gitlab.com,2025-06-19:4363186757 Eric Engestrom opened merge request !561: Draft: ci: remove duplicate fork pipeline in merge requests at marge-org / marge-bot 2025-06-19T12:09:47Z 1ace Eric Engestrom

(The new condition is copied from what we do in Mesa CI)

tag:gitlab.com,2025-06-19:4363185448 Eric Engestrom pushed to project branch ci-mr-dedup at Eric Engestrom / marge-bot 2025-06-19T12:09:25Z 1ace Eric Engestrom

Eric Engestrom (6e11df98) at 19 Jun 12:09

ci: remove duplicate fork pipeline in merge requests

tag:gitlab.com,2025-06-19:4363171205 Eric Engestrom commented on merge request !411 at marge-org / marge-bot 2025-06-19T12:05:09Z 1ace Eric Engestrom

I've also split the last commit into two, so that the (new) last commit can be a template for other MRs wanting to add another timeout action.