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
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:
1 parent
3f5b21a570
commit
f032c9f7fe
10 files changed
+269
-74
No files matched your search
@@ -369,6 +369,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
- **Wave 137 (UDIF/DMG-Style Packaging)**: `vbs install --archive FILE --archive-format dmg` writes a UDIF container - the deterministic tar payload followed by a 512-byte `koly` trailer with CRC-32 data/master checksums, segment ID, image variant and sector count. Validated independently: Python's `zlib.crc32` matches the stored checksum and the payload is a valid tar. A mountable macOS image still needs an HFS+/APFS payload writer (macOS-only).
|
||||
- **Wave 138 (Full CMake File API Reply Set)**: `vbs ide generate` now emits `cmakeFiles-v1` (configure inputs/outputs), `toolchains-v1` (C/CXX compiler identity) and `cache-v2` (build type, compilers, generator, profile) beside `codemodel-v2`, so CMake-aware IDEs (CLion, VS Code CMake Tools) get the complete reply set.
|
||||
|
||||
- **Wave 139 (Installable VSIX for the VS Code Plugin)**: `vbs ide plugin --editor vscode --vsix FILE` now packages the generated extension as a real `.vsix` (ZIP with `extension.vsixmanifest`, `[Content_Types].xml` and the sources under `extension/`), which `code --install-extension` accepts. The stored-ZIP writer moved from the installer into `Package::create_stored_zip` so both share it. The packaged extension's own test passes when extracted, and the C++ test parses the ZIP central directory and verifies every CRC.
|
||||
|
||||
## Remaining future scope
|
||||
|
||||
- **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order.
|
||||
|
||||
@@ -139,4 +139,5 @@ Base HEAD: `fe0d1a6`
|
||||
| Wave 136 (Parallel worker drain) | `--parallel N` lease/execute loops; exclusive registry leases prevent duplicates | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; E2E proves overlap and no duplicates, full CTest 8/8) | `src/Main.cpp`, `tests/RegistryTests.cpp`, docs |
|
||||
| Wave 137 (UDIF/DMG-style packaging) | `--archive-format dmg`: tar payload + koly trailer with CRC-32 | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; trailer parsed and CRC matches zlib, install test passes, full CTest 8/8) | `src/Install/Installer.cpp`, `src/Main.cpp`, `tests/FullV1Tests.cpp`, docs |
|
||||
| Wave 138 (Full CMake File API) | `cmakeFiles-v1`, `toolchains-v1`, `cache-v2` replies | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; IDE E2E passes, full CTest 8/8) | `src/Editor/CompDb.cpp`, `tests/FullV1Tests.cpp`, docs |
|
||||
| Wave 139 (VSIX packaging) | `vbs ide plugin --vsix FILE`; shared `Package::create_stored_zip` | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Python zipfile validates the VSIX, packaged harness passes under Node, C++ test checks CRCs, full CTest 8/8) | `src/Editor/CompDb.cpp`, `src/Package/Archive.cpp`, `src/Main.cpp`, `tests/FullV1Tests.cpp`, docs |
|
||||
| Future (Plan 20 Slice 3 / Tracks C, E3 editor extensions) |"}] Live `conan` CLI verification; macOS/Windows/cross-compile; binary-variant signing and key distribution; daemon-side dependency materialization and editor plugins; `Void::Net`/`Void::Sqlite` alignment | PLANNED (unimplemented) | [21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md), [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) |
|
||||
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user