Skip to content

Conversation

@patchback
Copy link

@patchback patchback bot commented Oct 19, 2025

This is a backport of PR #10918 as merged into main (7e666a9).

SUMMARY

When a new runner is added in check mode, the role used to throw an exception. Fix this by returning a valid runner object instead of a boolean.

Fixes #8854

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

gitlab_runner

ADDITIONAL INFORMATION

For full error description see #8854.

#10918)

* fix(modules/gitlab_runner): Fix exception in check mode on new runners

When a new runner is added in check mode, the role used to throw an
exception. Fix this by returning a valid runner object instead of a
boolean.

Fixes #8854

* docs: Add changelog fragment

(cherry picked from commit 7e666a9)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Oct 19, 2025
@felixfontein felixfontein merged commit e757adb into stable-11 Oct 19, 2025
156 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-11/7e666a9c319f3925dcdaa621c52de1155737e1a1/pr-10918 branch October 19, 2025 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants