prql icon indicating copy to clipboard operation
prql copied to clipboard

ci-fix: transient raku compiler crash in MegaLinter on run 35455180275

Open prql-bot opened this issue 2 months ago • 1 comments

tests run 35455180275 went red on lint-megalinter, which took check-ok-to-merge down with it. The cause was a crash inside the Rakudo compiler, not anything in this repo — rerunning the failed jobs on the identical commit turned the run green, and it now concludes success.

What failed

MegaLinter's RAKU_RAKU linter runs raku -c (compile-check only) over the 12 files in grammars/raku/. One of the twelve aborted:

[raku] grammars/raku/t/arithmetics.rakutest - ERROR - 1 error(s) and 0 warning(s)
===SORRY!=== Error while compiling /github/workspace/grammars/raku/t/arithmetics.rakutest
push_o requires a concrete object (got a ThreadPoolScheduler::Queue type object instead)
at /github/workspace/grammars/raku/t/arithmetics.rakutest:3

RAKU_RAKU is one of the few linters in .mega-linter.yaml that still blocks — everything else that reported problems in this run (csharpier, roslynator, checkstyle, markdownlint, jscpd, …) is listed under DISABLE_ERRORS_LINTERS and only warns.

Why it isn't the repo's code

The message is a Rakudo internal failure — its scheduler's queue was a type object where the runtime required a concrete one — rather than a diagnostic about the grammar source. Four independent lines of evidence put it outside PRQL:

  • The triggering commit (433682f, #6344) touched only prqlc/bindings/dotnet/ and CHANGELOG.md. Nothing under grammars/raku/ has changed since #6288 on 2026-09-07.
  • The test-grammars job in this same run, on this same commit ran prove6 --lib t/, which compiles and executes arithmetics.rakutest, and passed. The file is valid and its use prql dependency loads.
  • Every tests run since the MegaLinter 10.0.0 → 10.1.0 bump (#6299, 2026-09-16) — roughly fourteen of them — passed this linter.
  • Rerunning the failed jobs with no changes produced success for both lint-megalinter and check-ok-to-merge.

arithmetics.rakutest is the first of the eleven test files the linter checks, immediately after prql.rakumod, which is consistent with a precompilation race between concurrent raku -c invocations — but that mechanism is inferred from the ordering, not established.

If this recurs

Treat a second occurrence as durable rather than reclassifying it transient. The smallest mitigation that holds is adding RAKU_RAKU to DISABLE_ERRORS_LINTERS in .mega-linter.yaml, which is the pattern this repo already uses for linters that block unrelated PRs on failures outside our control (ACTION_ZIZMOR, REPOSITORY_OSV_SCANNER, REPOSITORY_GRYPE). Little is lost by it: raku -c only syntax-checks files that the required test-grammars job already runs in full.

Search keywords for matching a future occurrence: push_o requires a concrete object, ThreadPoolScheduler::Queue, RAKU_RAKU.

prql-bot avatar Sep 19 '26 16:09 prql-bot

Transient — closing as diagnosed. The rerun on the same commit went green and run 35455180275 now concludes success, so main is no longer red.

prql-bot avatar Sep 19 '26 16:09 prql-bot