Repository navigation
Commit a59d227
committed
openviking: fix CI - cap rustc parallelism, relax 0.4.21's tree-sitter pin
CARGO_PROFILE_RELEASE_LTO=thin (added for 0.4.17.1's rustc heap
corruption) mitigates but does not eliminate the crash: 0.4.17.1 SIGABRT'd
again with the same "malloc(): unsorted double linked list corrupted", and
0.4.19 hung silently after its ov CLI build until the 360-minute job
timeout cancelled it. Both match gotcha 228 (rustc OOM/heap-corruption
under concurrent codegen on the 4-core riscv64 runners); add
CARGO_BUILD_JOBS=2 to cap concurrent rustc processes, the fix gotcha 228
and several other Rust ports in this repo already use.
Separately, 0.4.21's test install failed outright:
"Could not find a version that satisfies the requirement
tree-sitter==0.25.2 (from openviking)". tree-sitter never published a
riscv64 wheel for 0.25.2 -- riscv64 wheels only start at 0.26.0 -- so
PIP_ONLY_BINARY=:all: in the test environment has nothing to install.
0.4.20 pins tree-sitter loosely (>=0.23.0); 0.4.21 tightened it to an
exact pin. Patch pyproject.toml to relax it back to a lower bound so the
resolver can pick 0.26.0; this port's smoke test and pytest selection
never touch tree-sitter's Python API directly.1 parent 7c78c42 commit a59d227
2 files changed
Lines changed: 43 additions & 1 deletion
File tree
- .github/workflows
- patches/openviking/0.4.21
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| 210 | + | |
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments