Adapt automated test suite to Cucumber 10+

anonym
2026-03-16T11:48:19Z

Debian hasn't updated Cucumber since 2016 until recently. Attempting to start the automated test suite on e.g. Debian Sid, which has the updates packages, results in major breakage, especially for our monkeypatches.

Ideally we would postpone this migration to whenever all relevant machines can get the new version, i.e. post-Forky. If the changes are big (and they seem to be!), let's not maintain a codebase that supports both versions for 1.5-2 years.

So far us that run Debian Sid can install Cucumber from Trixie with the following pinning:

Package: cucumber ruby-cucumber-core ruby-cucumber-wire ruby-gherkin
Pin: release n=trixie, o=Debian
Pin-Priority: 1000

Next step: give a 2-hours timeboxed try to the migration, in order to inform future work (and consider stopping earlier if you notice that it'll be painful to maintain support for both versions in the same codebase; unless it feels like using the full 2 hours can bring more useful data to inform future work).

WIP branch: wip/21463-recent-cucumber