Repository navigation
fix: a local recipe is read with the primary index's libs; the macOS 14 floor checked after install -- release 2026.12.5.2 - #752
Merged
Conversation
…all -- the core suite's teardown removed the file a later step read macOS fresh (core) after the 2026.12.5.1 release (run 47475677708): the suite passed, ending with `self uninstall`, and the step after it read ~/.xlings/subos/current/bin/xlings, which no longer existed. The check moves into smoke.sh, after quick_install, for every macOS suite; the workflow step goes. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…s hooks run (libxpkg 0.0.69) xim-pkgindex#1477's registration test with 2026.12.5.1: `config --add-xpkg` of a spec 3 recipe importing `xim.pkgindex.sysroot` at its top level failed, "this recipe is not in an index, which has no libs". Its hooks get the primary index's libs (pkgindex_root_for: the overlay has none), but its read did not: libxpkg's LoaderContext had no index to name. With libxpkg 0.0.69 (LoaderContext::pkgindex_dir, and an in-process index build that reads each recipe with the context): load_native_recipe and the index build pass pkgindex_root_for -- a recipe's own index, else the primary; the Lua worker takes it in its request and mounts it read-only. E2E OVERLAY-HOST-LIBS: the recipe is added, installed, and its hook wrote what the primary index's lib answered. docs/specs/xpkg.md is libxpkg's. PR testing pins libxpkg by git rev. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…1 what the release's verification found libxpkg 0.0.69 is released (the tree of the revision this PR tested) and in mcpp-index (#984), so the manifest names the version. §22.11 records what index #1477's CI with 2026.12.5.1 found: the client's read of a local recipe without the host's index libs (fixed here), and the index's own problems that the client's truthful answers exposed. Checked: mcpp build against mcpp-index a21e10d4 (mcpplibs.xpkg v0.0.69); the binary reports 2026.12.5.2 and takes brotli.lua (a top-level sysroot import) with --add-xpkg; tests/scripts/test_version_consistency.py. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
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.
What | 内容
The patch release after 2026.12.5.1. It covers what the release's real verification found (design §22.11).
xlings config --add-xpkgof a spec 3 recipe that importsxim.pkgindex.<lib>at its top level failed with "this recipe is not in an index, which has no libs". Its hooks get the primary index (pkgindex_root_for) but its read got nothing. In-process overlay builds, the usual case in a home without a policy, also skipped such a recipe silently.LoaderContext::pkgindex_dirand an in-processbuild_indexthat takes a context.pkgindex_root_forinload_native_recipeand in index builds. The Lua worker gets it in its request and mounts it read-only.docs/specs/xpkg.mdis libxpkg 0.0.69's.macOS fresh (core)failed. The suite ends withself uninstall, and the workflow step after it read the removed binary. The check now runs insidetests/fresh-install/smoke.sh.Verification | 验证
xlings-ci-fresh-installdispatched on this branch: all cells passed, macOS core included (run 47476476023).--add-xpkgtakes aom, cairo, agent-confined and brotli, and refuses a recipe in the reservedconfignamespace with exit 2.Authorship | 作者
Authorship: ai-and-human