ITADN

[Bug] helix_git: "bump-grammars" script does not seem to run in CI

#1221Openjan-justin 创建于 2025-10-22
bug
J
jan-justincommented
### What happens? As far as I can tell the [`bump-grammars`](https://github.com/chaotic-cx/nyx/blob/21c0237aad5cb38a5dcf18b102c22c6a6a6d40b2/pkgs/helix-git/default.nix#L54-L72) script in the `helix_git` package either does not execute or does not seem to cause changes to be pushed to Git. The reason for my suspicion is that the [`languages.toml`](https://github.com/helix-editor/helix/blob/master/languages.toml), which the patched [`grammars.nix`](https://github.com/chaotic-cx/nyx/blob/main/pkgs/helix-git/grammars.patch) is supposedly tracking has many more changes than what is currently reflected in the [`languages.json`](https://github.com/chaotic-cx/nyx/blob/main/pkgs/helix-git/languages.json). Manually comparing the tracked tree-sitter grammars, one can see this. ### What is expected to happen? I would have expected that one of the various CI jobs would potentially cause an update to the `languages.json`. I believe that was the intention. ### If possible, please attach logs Looking at the CI logs I don't see any obvious errors, but I am also unable to spot confirmation that the `bump-grammars` script actually runs either. To be fair, I have not necessarily been thorough. ### More information Based on the commit history, the only time when the `languages.json` received a bump (apart from the initial creation) was with what seemed to be a manual run when the CI jobs were not working: https://github.com/chaotic-cx/nyx/pull/1113
7 条评论