Skip to content

feat(mcpp.plugins): 0.5.1, overlapping roots are refused - #373

Merged
Sunrisepeak merged 1 commit into
mainfrom
feat/plugins-0.5.1
Sep 8, 2026
Merged

feat(mcpp.plugins): 0.5.1, overlapping roots are refused#373
Sunrisepeak merged 1 commit into
mainfrom
feat/plugins-0.5.1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Publishes mcpp-plugins v0.5.1, merged as a402220 with a green run on main.

0.5.0's design record required overlapping roots to be refused and 0.5.0 shipped without the check. A file reachable from two roots has two namespace paths, and which one it got depended on the order of the list; it was also read twice and merged with itself, so the entry looked like two implementations agreeing rather than one file counted twice. A misconfiguration that produces a plausible result is worse than one that stops.

0.5.1 also stops a single-file root from registering a re-run glob over the directory that file happens to sit in.

Checked before opening: Lua syntax, check_cross_package_refs, check_platform_version_parity, check_duplicate_versions, mcpp xpkg parse, exactly one ["latest"] per platform table (three, all at 0.5.1), and the CN asset fetched back and hashed -- 1be429b0... equals the GitHub source archive's sha256.

0.5.0's design record required the refusal and 0.5.0 shipped without it. A file
reachable from two roots has two namespace paths, and which one it got depended
on the order of the list; it was also read twice and merged with itself, so the
entry looked like two implementations agreeing rather than one file counted
twice.

0.5.1 also stops a single-file root from registering a re-run glob over the
directory that file happens to sit in.

The floor stays at mcpp 2026.9.8.1.

The CN asset is the same bytes as the GitHub source archive of tag v0.5.1,
sha256 1be429b00faaf48afa6c607bdcb98f05b242fef297bd2c588f67fae98f0d83e1,
verified by downloading it back after the upload.
@Sunrisepeak
Sunrisepeak merged commit ba86bc1 into main Sep 8, 2026
8 checks passed
@Sunrisepeak
Sunrisepeak deleted the feat/plugins-0.5.1 branch September 8, 2026 17:58
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