Files
Language-Server/docs/roadmap/25-packaging-ci-release.md
faumaray ca04975d54 bootstrap
Signed-off-by: faumaray <faumaray@gmail.com>
2026-11-25 02:11:19 +03:00

3.1 KiB

25 — Packaging, CI and release gates

Status: PLANNED; no implementation claim Requirements: R-004,R-005,R-024,R-026 Dependencies: 01 for bootstrap packaging;08 license/backend decision and24 evidence for releases; native packaging integrates26.

Ownership and boundaries

Root owns release/pin/license policy; Sol can own NEW packaging/, CI configuration and install tests under a scoped task. No remote CI/hosting changes implicit. Future assignments must verify the then-current baseline and exact disjoint paths; these proposed scopes do not authorize work in another repository.

Contracts and data flow

Local Linux packages identify server/backend/toolchain versions and dependency provenance. Bootstrap installation does not claim full product readiness. Project license and bundled dependency notices must be resolved before distribution. No release publication, tag, push or deployment follows from a review verdict.

Implementation sequence

  1. Define supported Linux/compiler/runtime matrix from observed builds; avoid assuming the user's dev wrapper exists on a generic CI runner. Pin explicit runner/toolchain prerequisites.
  2. Implement configure/build/test/install smoke jobs and artifact provenance manifests. Verify installed executable dependencies/paths and separation of writable caches from immutable package contents.
  3. Add compiler/backend/client version compatibility gates and required conformance/performance evidence. Keep full toolchain packaging separate from the small bootstrap until approved feasibility.
  4. Document release, rollback and local cache/trace schema migration. If Nix packaging is later requested, modify only source modules under an explicit task and use Git-aware safe sources, never whole dirty repositories.

Failure behavior and constraints

An unavailable runner or private dependency is a blocked prerequisite, not a passing CI run. No wildcard staging, publishing credentials in artifacts or automatic remote release. Missing licensing blocks distribution while local development may continue.

Acceptance scenarios

  1. Install into a temporary prefix and launch help/version/protocol from outside the build tree.
  2. Capture the exact source identities used by a release build and validate artifact/library paths, cache permissions and notices. Development follows VoidLibrary main per D-021; do not silently replace that policy with a commit pin.
  3. Exercise incompatible client/backend upgrades, cache schema rollback and CI failure propagation with actual runner evidence.

Verification and integration

Proposed NEW CTest label: packaging. Once implemented, register a nonzero suite and run:

dev cpp-gcc -c ctest --test-dir build/bootstrap -L packaging --output-on-failure

This future command is not evidence that the label/tests exist now. Before dispatch, bind the fixtures above to actual targets and record prerequisites/side effects. Require fresh independent review of the implemented contract and affected integrations. Retain the previous installable package and immutable provenance. Keep writable caches/traces separately versioned; rollback cannot delete user data or imply backward-compatible trace parsing without tests.