Skip to content

Fix Ruby 3 kwargs error in CI instrumentation

Matthias Käppler requested to merge 385698-fix-kwargs-error into master

What does this MR do and why?

Fix Ruby 3 kwargs error in CI instrumentation. We need to forward not just args but also kwargs. We can use the ... wildcard for this.

This would result in errors such as:

     ArgumentError:
       wrong number of arguments (given 3, expected 2; required keyword: ...)

There was a test for this but it was not using kwargs so we did not catch this in the test suite (which already runs on Ruby 3).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #385698 (closed)

Edited by Peter Leitzen

Merge request reports