feat(ide): package the VS Code extension as a VSIX
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 8s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 6s
VoidBuildSystem CI / fuzz-clang (push) Failing after 6s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 11s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 48s

This commit is contained in:
faumaray committed 2026-12-05 13:39:57 +03:00
1 parent 3f5b21a570
commit f032c9f7fe
10 files changed
+269 -74

No files matched your search

+12
View File
@@ -1813,6 +1813,18 @@ VOID_INCLUDE_DIR=/tmp/opencode/vl-pin/include dev cpp -c bash fuzz/run.sh 30
(plus per-target and per-directory files), each parsed back and asserted in
`ide_integration_compdb_build_cpp_and_editor_configs_end_to_end` (**passed**, 3.12 s).
## VSIX Packaging (GCC 16.2, pin `0002e74`)
- `vbs ide plugin --editor vscode --output DIR --vsix dist/vbs-tools.vsix` writes the extension
sources plus a ZIP containing `extension.vsixmanifest`, `[Content_Types].xml` and
`extension/{package.json,extension.js,README.md,test/extension.test.js}`.
- Python `zipfile` reads it back: 6 entries, `testzip()` reports no CRC errors, the manifest has
`Id="vbs-tools"` and `Path="extension/package.json"`, and the packaged
`node test/extension.test.js` prints `extension tests passed: 6 commands`.
- `FullV1Tests.ide_plugin_assets_export_vscode_extension` parses the central directory itself,
recomputes each entry's CRC-32 and asserts the layout (**passed**, 34 ms).
- Full CTest: **8 / 8 passed** in 305.48 s.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).