Skip to content

mcppls-clangd 0.0.21: the ok image with zlib-ng over openkal-platform 0.24.4, released alone; native engines in comparison runs - #18

Merged
Sunrisepeak merged 18 commits into
mainfrom
mcppls-clangd-0.0.21
Nov 8, 2026
Merged

Sunrisepeak merged 18 commits into
mainfrom
mcppls-clangd-0.0.21

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

mcppls-clangd 0.0.21 (mcpp-community/mcpp#885, design 2026-11-07 §4.5 items 3 and 4, D7, D14, A4).

Changes

  • The ok image with zlib. okgen configures llvm-project with LLVM_ENABLE_ZLIB=FORCE_ON and the headers of compat.zlib, which openkal/clangd/mcpp.toml declares for the openkal target; the image links the library that dependency builds. An engine with zlib (the native ones, or any other clangd sharing an index store) writes shards whose string table is compressed; the 0.0.20 image discarded them ("Compressed string table, but zlib is unavailable") and indexed again. A change of the zlib tree reconfigures the LLVM tree (the toolchain file records it).
  • One platform statement. openkal/clangd/mcpp.toml states [email protected], the images' qualification identity. ci/scripts/probe-platform.sh writes every CI probe from that line; the four inline copies in the workflows are gone, and ci/test_release_gates.py checks that no workflow names a platform version.
  • The warm-prime gate under a registered sampling rule (ci/performance-policy.md): four alternating native/image pairs per host; the median of the per-pair ratios against the unchanged limits (1.15 time and CPU, 2.0 faults); a measurement with fewer pairs, a malformed sample, or more than one pair whose cold CPU ratio lies further than 0.03 from the median (O4) is invalid (exit 2), and only an invalid measurement may be repeated, in full. The 0.0.20 Linux x64 exception has expired and its code is removed.
  • Engine version 23.1.0-mcppls.10; RELEASE_VERSION 0.0.21; CHANGELOG, README, PATCHES.md.

Verification (local)

  • LLVM configured for x86_64-openkal with the new arguments: Found ZLIB: z (found version "1.3.2"), HAVE_ZLIB=1, LLVM_ENABLE_ZLIB 1 in llvm-config.h; clangd's link line keeps 124 static libraries and the bare z, which okgen does not take.

  • A probe over [email protected] with compat.zlib as an openkal dependency: dep_dir("zlib") answers in the build program, and the program links and runs zlib 1.3.2 under okrun.

  • The image's build program reaches okgen with the zlib tree as its seventh argument.

  • ci/test_warm_prime_accept.py (11 cases) and ci/test_release_gates.py (6 cases) pass.

  • Shard exchange (ci/shard_exchange.py, in the warm-prime job on all four systems): one engine indexes a project, the other opens it, in both directions; a shard read error or a unit indexed again fails. Locally against the published 0.0.20 image: native-to-image reproduces the report (12 of 12 units re-indexed after the zlib error), image-to-native passes.

Sunrisepeak and others added 2 commits November 7, 2026 09:48
….24.1; the warm-prime gate under a registered sampling rule

The image is configured with compat.zlib's headers and links the library that
dependency builds for the target, so it reads the index shards an engine with
zlib writes. The platform is stated once, in openkal/clangd/mcpp.toml; CI writes
every probe from it. The warm-prime gate is the median of four alternating
native/image pairs; a measurement is invalid or failed, and only an invalid one
may be repeated. The 0.0.20 exception has expired. Engine 23.1.0-mcppls.10.

Co-authored-by: speak-agent <[email protected]>
ci/shard_exchange.py indexes a project with one engine and opens it with the
other, in both directions, and fails on a shard read error or a unit indexed
again. Against the 0.0.20 image the native-to-image direction reproduces the
user's report (12 of 12 units re-indexed after "Compressed string table, but
zlib is unavailable"); image-to-native passes.

Co-authored-by: speak-agent <[email protected]>
…tform 0.24.2

A push or a pull request builds the image, accepts it, and builds one native
engine (linux-x64) for the series' tests. The other native engines, the floor
packages, warm-prime and the shard exchange run in a dispatched comparison run,
which a release's changelog entry names. The image moves to openkal-platform
0.24.2, whose runtime keeps a path's volume.

Co-authored-by: speak-agent <[email protected]>
@Sunrisepeak Sunrisepeak changed the title mcppls-clangd 0.0.21: the ok image with zlib, over openkal-platform 0.24.1; the warm-prime gate under a registered sampling rule mcppls-clangd 0.0.21: the ok image with zlib over openkal-platform 0.24.2, released alone; native engines in comparison runs Nov 7, 2026
Sunrisepeak and others added 13 commits November 7, 2026 14:45
…tems

Each system's acceptance runs tests/e2e against the image under okrun
(ci/e2e_suite.py, MCPPLS_ENGINE_RUNNER). The image starts a worker program
other than itself directly. The shard exchange names engines absolutely.

Co-authored-by: speak-agent <[email protected]>
…indows is taken as given

module_cache_lease adds .exe only to a program named without it. The worker
diagnostics case is not run against the image, whose transport is the
portable one (issue 19).

Co-authored-by: speak-agent <[email protected]>
okrun.exe reserves a thread's stack for the image's main thread on Windows.

Co-authored-by: speak-agent <[email protected]>
…where the system names no file's openers

Co-authored-by: speak-agent <[email protected]>
….7.2

okrun enters the image in its convention's floating-point state (0.24.4).
mcpp 2026.11.7.2 resolves within the platform's version group, where
2026.11.5.1 took the newest openkal-ld and then refused it.

Co-authored-by: speak-agent <[email protected]>
Sunrisepeak and others added 2 commits November 8, 2026 17:51
…gistered before the qualifying measurement)

Co-authored-by: speak-agent <[email protected]>
…sures invalid; the image on the draft release ci-artifacts

Co-authored-by: speak-agent <[email protected]>
@Sunrisepeak Sunrisepeak changed the title mcppls-clangd 0.0.21: the ok image with zlib over openkal-platform 0.24.2, released alone; native engines in comparison runs mcppls-clangd 0.0.21: the ok image with zlib-ng over openkal-platform 0.24.4, released alone; native engines in comparison runs Nov 8, 2026
@Sunrisepeak
Sunrisepeak merged commit 56ab273 into main Nov 8, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant