Repository navigation
feat: port Jabali modernization to the public NodeGit fork - #1
Conversation
# Conflicts: # README.md
Track pinned Electron 42–44 releases and an advisory Electron 45 preview. Update NAN and the ABI database, tag prebuilds by runtime, and exercise native repository operations in Electron CI. Document the release cadence and current TypeScript declaration gap.
Let the parent test runner own temporary repositories so Windows cleanup runs only after native handles are released by Electron shutdown.
PR Summary by QodoPort Jabali modernization (libgit2 1.9.7, modern Node/Electron) to public fork
AI Description
Diagram
High-Level Assessment
Files changed (57)
|
Code Review by Qodo
1. Future Node 30 builds silently use the wrong C++ standard
|
| node: [24, 26] | ||
| fail-fast: false | ||
| runs-on: ubuntu-22.04 | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
3. Linux prebuilds won't load on older distros 🐞 Bug ☼ Reliability
The Linux jobs that produce prebuild artifacts moved from ubuntu-22.04 to ubuntu-latest, so the binaries require the runner's newer glibc symbols and its system libssl. The Node prebuild is test-loaded at install and falls back to a source build, but nothing checks Electron prebuilds at install, so Studio on an older distro fails when the native module loads.
Agent Prompt
## Issue description
Linux prebuilds published from ubuntu-latest artifacts require a recent glibc/libssl, and the Electron prebuilds are never checked at install time.
## Fix Focus Areas
- .github/workflows/tests.yml[17-17]
- .github/workflows/tests.yml[61-72]
## Recommended Fix
Produce the Linux prebuild artifacts on a pinned older baseline (for example ubuntu-22.04 or a manylinux/older-Debian container), or link OpenSSL statically. Document the minimum glibc in the README.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
Qodo review follow-up for current head
These were valid historical findings; the recommendation is to recognize their fixes at the current public-fork head, rather than apply another fix or label the original observations false positives. No recorded finding status was changed by this comment. Evidence: Testing workflow, release policy, installer, build flags, and installer tests. Linux scope: Studio currently does not ship for Linux. Future Linux support will target modern environments; older-distribution compatibility is not a merge gate for this PR. Linux binary/library requirements should be validated and documented before a Linux Studio release. Build tooling: prebuildify itself invokes standard node-gyp to compile each runtime target. Retaining node-gyp is consistent with prebuildify; the custom installation wrapper can be simplified separately if its explicit-build and checkout-preparation behavior remains covered. Type declarations remain a separate PR. |
I recognize the historical fixes for finding 1 (CI publish/bump loop), finding 2 (force-build bypass), and finding 4 (Windows No additional code change is warranted for these findings. Their catalog entries remain active because this comment did not change recorded finding status; I have not dismissed or otherwise modified them. |
Avoid loading a Node-ABI source build into Electron, which can fail or crash before fallback. Reuse node-gyp-build matching and exercise Electron with a host binary present.
Use the selected binary URL for its checksum sidecar while preserving query parameters and explicit checksum overrides.
Honor explicit runtime targets and identify Electron headers without misclassifying future Node releases.
Transfer ownership of native patches to convenience wrappers and format text when requested. Preserve the UTF-8 string contract and cover formatting after diff collection.
Document OpenSSL build prerequisites, mirror overrides, prebuild selection, and the future Linux release validation requirement.
Ports NodeGit into the public Jabali fork so Studio can update Electron regularly. Publishes under
@jabali-ai/nodegitusing upstream-based0.28.0-jabali.Nrevisions, initially based on0.28.0-alpha.38, and pins Jabali libgit2 1.9.7 atab53b868. Upstream history is preserved; general-purpose users are directed to upstream NodeGit.Latest validation on macOS arm64:
Gates and scope:
@types/nodegit@0.28.9and local augmentation.Electron targets are maintained against the release list, with exact version pins. Weekly preview runs retest the pinned candidate and do not update it automatically. Historical Qodo findings already addressed.