[CI] Tree-sitter FFI workflow broken on runner: apt packages tree-sitter-python-src / tree-sitter-javascript-src no longer available #340

Open
opened 2026-09-04 14:36:19 +00:00 by nsaspy · 0 comments
Owner

Symptom

The Direct SWI-Prolog Tree-sitter FFI workflow fails at Install SWI-Prolog and Tree-sitter development packages with:

E: Unable to locate package tree-sitter-python-src
E: Unable to locate package tree-sitter-javascript-src
##[error]Process completed with exit code 100.

Example run: https://github.com/lost-rob0t/prolog-rlm/actions/runs/33709803638/job/100506658325 (PR #356, 2026-09-03).

Main's last push run passed (33673357565), so this is runner-image/apt-list drift, not a product regression. It currently fails every open PR's FFI check.

Suggested directions

  • The workflow installs distribution grammar packages by name; those names have disappeared from the runner's apt lists (or the runner image changed).
  • Options: switch to building the fixture grammars from source (the repo already has scripts/build-tree-sitter-test-grammars.sh and the nix environment builds them for make tree-sitter-ffi), pin a runner image, or install grammars via the tree-sitter CLI/npm.
  • The nix lane (nix develop + make tree-sitter-ffi) is unaffected and green in the same PR runs.

Non-goal

Do not remove the FFI gate to get PRs green; fix the installation path.

## Symptom The **Direct SWI-Prolog Tree-sitter FFI** workflow fails at *Install SWI-Prolog and Tree-sitter development packages* with: ``` E: Unable to locate package tree-sitter-python-src E: Unable to locate package tree-sitter-javascript-src ##[error]Process completed with exit code 100. ``` Example run: https://github.com/lost-rob0t/prolog-rlm/actions/runs/33709803638/job/100506658325 (PR #356, 2026-09-03). Main's last push run passed (33673357565), so this is runner-image/apt-list drift, not a product regression. It currently fails every open PR's FFI check. ## Suggested directions - The workflow installs distribution grammar packages by name; those names have disappeared from the runner's apt lists (or the runner image changed). - Options: switch to building the fixture grammars from source (the repo already has `scripts/build-tree-sitter-test-grammars.sh` and the nix environment builds them for `make tree-sitter-ffi`), pin a runner image, or install grammars via the tree-sitter CLI/npm. - The nix lane (`nix develop` + `make tree-sitter-ffi`) is unaffected and green in the same PR runs. ## Non-goal Do not remove the FFI gate to get PRs green; fix the installation path.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/prolog-rlm#340
No description provided.