Skip to content

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
Sunrisepeak merged 3 commits into
mainfrom
fix/macos-floor-before-teardown
Dec 5, 2026
Merged

Sunrisepeak merged 3 commits into
mainfrom
fix/macos-floor-before-teardown

Conversation

@speak-agent

@speak-agent speak-agent commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

What | 内容

The patch release after 2026.12.5.1. It covers what the release's real verification found (design §22.11).

  • A local recipe is read with the primary index's libs, as its hooks run. xim-pkgindex#1477's registration test with 2026.12.5.1 found the gap: xlings config --add-xpkg of a spec 3 recipe that imports xim.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.
  • The macOS 14 floor is checked right after the install. After the release, macOS fresh (core) failed. The suite ends with self uninstall, and the workflow step after it read the removed binary. The check now runs inside tests/fresh-install/smoke.sh.
  • Release 2026.12.5.2: mcpplibs.xpkg 0.0.69 (mcpp-index #984).

Verification | 验证

  • CI of this PR.
  • xlings-ci-fresh-install dispatched on this branch: all cells passed, macOS core included (run 47476476023).
  • Locally: the new e2e and the overlay, spec 3 and format-doc tests pass. With the built binary, --add-xpkg takes aom, cairo, agent-confined and brotli, and refuses a recipe in the reserved config namespace with exit 2.

Authorship | 作者

Authorship: ai-and-human

…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>
@speak-agent speak-agent changed the title ci(fresh-install): check the macOS 14 floor right after the install fix: a local recipe is read with the primary index's libs; the macOS 14 floor checked after install -- release 2026.12.5.2 Dec 5, 2026
@Sunrisepeak
Sunrisepeak merged commit 6aac0b7 into main Dec 5, 2026
35 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.

2 participants