Repository navigation
0.0.21: mwrap modules, the payload manifest (S6), one cache context per engine - #79
Merged
Merged
Conversation
…d tables under [workspace] modules/pack and the server import mcpplibs.mwrap.libarchive and mcpplibs.mwrap.xxhash instead of including the C headers; ARCHIVE_* and AE_* come from its macros. The root's [toolchain], [profile.release] and [xlings.workspace] are [workspace.*] tables, as mcpp 2026.10.10.1 states them, and the one [workspace.dependencies] table holds every shared version. Co-authored-by: speak-agent <[email protected]>
docs/specs/s6-payload.md states payload.json and the rule by which a client starts the server: the host's entry, <runner> <server.path>, and a refusal that names the host and the platforms a payload serves. The schema and the examples (the published 0.0.19 and 0.0.20 manifests) are validated with the other specifications; every rule has evidence. The VS Code reader takes a version 4 engine from engines.clangd, as S6 states it. Co-authored-by: speak-agent <[email protected]>
clangd keeps its index shards beside the database mcppls writes for it. With one
context for every engine, the 0.0.20 image read the shards an engine with zlib
had written and discarded each ("Compressed string table, but zlib is
unavailable"). The context is now clangd-<version>-<platform>-<digest> (or
external-<version>), and the contexts of other engines are retired into the
trash when an engine starts. The bundle and the conformance driver read the
newest context's database.
Co-authored-by: speak-agent <[email protected]>
The workspace's platform is openkal-platform@^0.24, its newest patch this mcpp admits, kept in mcpp.lock (0.24.2, whose C++ run-time keeps the volume of a normalized name); os is the compatible range ^0.3.1. Both need mcpp 2026.11.7.1. Co-authored-by: speak-agent <[email protected]>
Co-authored-by: speak-agent <[email protected]>
…age part Every distributed file holds ok images. CI builds each platform's test tools and runs the native server's unit tests on linux-x64; a manual run with `native` runs them on every platform. An engine candidate is clangd-openkal. Co-authored-by: speak-agent <[email protected]>
The distributed server is the okb; its unit tests are built once as ok images (mcpp test --target openkal --no-run --archive) and run on the four systems through the runner. Tests that start copies of themselves start this program as the system names it (self_command), an ok image through its loader. Co-authored-by: speak-agent <[email protected]>
The payload is built over one version group (design 2026-11-07, D20), whose okrun reserves a thread's stack for an image's main thread on Windows. Co-authored-by: speak-agent <[email protected]>
An exclude on an include-only matrix left no build job at all. The release rows are the base and build every platform's test tools; the dev rows join with `native`, Linux x64's always. A test row of another system does nothing without `native`. Co-authored-by: speak-agent <[email protected]>
…e member's files Co-authored-by: speak-agent <[email protected]>
…editor's closing quote once (#80) Co-authored-by: speak-agent <[email protected]>
Co-authored-by: speak-agent <[email protected]>
…ry probe is gone Co-authored-by: speak-agent <[email protected]>
…plibs.os 0.3 cannot answer Co-authored-by: speak-agent <[email protected]>
…nent's own; a plugin of another series is refused, naming both 0.0.21 is released as 0.21.0. devtools gains --series, --bump and --print --component; a plugin states its version in initializationOptions.plugin and the server refuses one of another series; VS Code and CLion check the server they start, Zed sends its version. Co-authored-by: speak-agent <[email protected]>
…s its assets at its own version Co-authored-by: speak-agent <[email protected]>
….Z), each package named with its own version Co-authored-by: speak-agent <[email protected]>
…in's are tested over the payload main built for the same server .github/components.tsv names the components by path; changes.sh classifies a change and names the server's inputs (digest). Main lends its payload, stage and kits through a server-digest marker; a pull request that changes only a plugin downloads them from that run. One aggregate check, ci. Co-authored-by: speak-agent <[email protected]>
…y other is tested over, @Flag a pull request's narrower question Co-authored-by: speak-agent <[email protected]>
Co-authored-by: speak-agent <[email protected]>
openkal-image 0.5.3 enters an image in its convention's floating-point state (openkal SPEC 12.2): on Windows a thread began with the x87 at double precision, under which the image's C library read a decimal number otherwise. Co-authored-by: speak-agent <[email protected]>
… the process ends finds it whole Co-authored-by: speak-agent <[email protected]>
…ild does os::on<P> asks a platform's question where the build can run on it and runs there now, so the ok image checks the cache's Dev Drive on Windows and PRoot on Linux; the notes that the image could not are gone. Co-authored-by: speak-agent <[email protected]>
…in while its popup lacks the module Co-authored-by: speak-agent <[email protected]>
…ates a time holds serial:perf; a second attempt runs what failed Co-authored-by: speak-agent <[email protected]>
…ct that states where it runs, what it holds and the client it is; the tests are written with mtest 0.3.0 The fixtures, their traceability and the cases are under tests/cts, the unit tests under tests/unit, and mcppls-testing is gone: every package's tests use mcpplibs.mtest. A row of the conformance job runs its platform's cases by mtest, two at a time and divided by the times main's last run measured; a failing case runs once more with the server's log. A fixture that needs CMake 4.4 states it. Co-authored-by: speak-agent <[email protected]>
Co-authored-by: speak-agent <[email protected]>
…fest; the lock takes mtest 0.3.0 Co-authored-by: speak-agent <[email protected]>
… selects, wherever Visual Studio is installed (#81) Co-authored-by: speak-agent <[email protected]>
Co-authored-by: speak-agent <[email protected]>
Co-authored-by: speak-agent <[email protected]>
…ance unit test finds the runner of an archived test Co-authored-by: speak-agent <[email protected]>
… image's leg notes it Co-authored-by: speak-agent <[email protected]>
…rements are cases with bounded metrics tests/ holds the tests by kind: unit/ (UTest objects; a file that starts copies of itself writes main and ends it with run(argc, argv)), cts/ (mcppls-cts, the fixtures by topic over the suite type Fixture, with the variants @warm and @linked), bench/ (mcppls-bench: startup, tokens, review, tasks, agent runs and the user-experience scenarios, their metrics bounded with at_most/at_least) and harness/ (how the cases drive the server, and the benchmark's tasks, patches, reviews and agent runs with their tests). mcppls-devtools bench, measure summary, the runner's --navigation-budget and timing_evidence.py are gone; CI's bench, ux, release performance and nightly timing jobs run the cases with mtest and show each metric beside main's history. mtest 0.4.1; mcpp 2026.11.8.1, built from its release branch until it is released. Co-authored-by: speak-agent <[email protected]>
Co-authored-by: speak-agent <[email protected]>
…job and over every job; mcpp under review 2026.11.9.1 - The server's unit tests are one program, tests/unit (begun at test_conformance.cpp, the stand-in server the runner starts), run as a process per file of its cases; a test that starts copies of itself declares an mtest child. The two that run again with a cache of their own are tests/isolated/answer-routing and tests/isolated/save-plan. devtools' and the harness's tests are one program each (tests/unit). - mtest 0.5.2 (library, manifest and the engine CI runs), mcpplibs.os 0.4.1. - Each test job takes mcpp test's runs (target/mtest) into mtest's store and writes their Markdown report into its summary; `unit tests (report)` reports every job's runs together (mtest ci report). - CI builds the mcpp under review, release/2026.11.9.1; the old-pinned-mcpp fixture leaves it off PATH, so the project's pin is what xlings starts. - The traceability validator and the archive test read the moved files. Co-authored-by: speak-agent <[email protected]>
…ess fails Co-authored-by: speak-agent <[email protected]>
…ies it); a job without xlings gets the pinned one Co-authored-by: speak-agent <[email protected]>
…nd the mtest engine A job's cached xlings index can predate a published version, and xlings keeps it when its anonymous refresh fails (GitHub's 2026-11-09 incident). The release taken last is checked: mcpp's install.sh (GitHub, then GitCode, sha256), the Windows zip and the mtest bundle by the web address, else the API's; the bundle against MTEST_SHA256. Co-authored-by: speak-agent <[email protected]>
…ted identity MCPP_SOURCE_REF is cleared: CI installs mcpp 2026.11.9.1. The workspace requires it (a Mach-O image links its C library first), and the build job finds a target's programs under the identity its request selects. Co-authored-by: speak-agent <[email protected]>
… says why; one conformance row per platform A ux scenario's four sessions run in one process, past mtest's default of five minutes: each case states its timeout. The harness names why the runner did not start (the spawn's error). mtest's --shard divides programs and the cases are one program, so the second part of Linux and Windows was given nothing: each platform is one row. A second attempt runs the failed cases with `run --failed`, which takes the run's options. Co-authored-by: speak-agent <[email protected]>
…ng of its name On Windows the test program's name is a Windows name, which the standard library over openkal reads by POSIX's rules as one component: its parent was empty, mcppls-conformance was looked for on PATH and did not start, and the review bench lost its mock model. harness::beside_self reads the directory with os::fs::generic. Co-authored-by: speak-agent <[email protected]>
On Windows the shim runs the package's alias through cmd, which read the `&` of `--tag "on:win32-x64&release"` as a second command: the performance check ran no program. Co-authored-by: speak-agent <[email protected]>
1 task
This was referenced Nov 9, 2026
Sunrisepeak
added a commit
that referenced
this pull request
Nov 9, 2026
The cold phase now ends after two rounds, about eight completions, so a single completion that clangd, busy building the closure, does not answer within the server's 1 s budget puts the share at 0.875. The runner measured 0.88 on #79 and on the 0.21.0 release run; the budget is 0.85. Co-authored-by: speak-agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mcppls 0.0.21 (mcpp-community/mcpp#885, design 2026-11-07 §4.5 item 2, §4.6.2, D10, D13, D14, A4).
Changes
modules/packimportmcpplibs.mwrap.xxhashandmcpplibs.mwrap.libarchiveinstead of including the C headers;ARCHIVE_*/AE_*come from the wrapper's macros. No#includeremains insrc/andmodules/*/src/. The root's[toolchain],[profile.release]and[xlings.workspace]are[workspace.*]tables, which ends mcpp'sworkspace-positiondeprecation warnings, and the two[workspace.dependencies]tables are one.docs/specs/s6-payload.md, schema, examples taken from the published 0.0.19 and 0.0.20 payloads): payload versions 4 and 5 and the rule by which a client starts the server: the host's entry and<runner> <server.path>; refusing a payload that does not serve the host, naming the host and the platforms it does serve; refusing an unknown version.validate.pychecks it; all 22 rules have evidence. The VS Code reader takes a version 4 engine fromengines.clangd, as S6 states.clangd-<version>-<platform>-<digest>(orexternal-<version>), and starting an engine retires the contexts other engines left. Q20: the 0.0.20 image read shards that an engine with zlib had written and discarded every one.Verification (local, Linux x86_64)
mcpp build --workspace;mcppls-packtests 8/8;test_instance;test_server: the new context test passes. The one failure, "unrelated directories are not granted", also fails on unchanged main when the checkout is under/tmp, because its fixture directory lies beneath a granted temporary directory.docs/specs/tools/validate.py: 0 failures (362 rules, S6 22).Still to do in this PR
openkal-platform@^0.24, recorded inmcpp.lock. os moves to^0.3.1. CI bootstraps with mcpp 2026.11.7.1.