ci: pin a build tool that actually validates this package's declaration - #5
Closed
Sunrisepeak wants to merge 1 commit into
Closed
ci: pin a build tool that actually validates this package's declaration#5Sunrisepeak wants to merge 1 commit into
Sunrisepeak wants to merge 1 commit into
Conversation
本包的 CI 停在一个**不校验 `mcpp:` 能力声明**的 mcpp 上。实测
2026.8.19.4 —— 它早于层词表,把整个 `provides` 当作不认识的键忽略:
provides = ["mcpp:kernel-abi=openkal", "mcpp:TYPO-NOT-A-LAYER=x"]
→ exit 0,构建成功
⭐ 连明显的错拼都照单全收。于是 CI 报绿,而这份清单的**中心主张
从未被检查过** —— 写错一个层名不会有任何东西发现,直到某个使用者
拿一个较新的 mcpp 来构建它。
⚠️ 这类失败的形状值得记住:同一个键在旧版与新版上**都是 exit 0**,
但不是同一种成功。前者是「没有读」,后者是「读了并解析成功」。
pin 上移到 2026.8.24.4 —— 该版本认识五层词表,会真的校验这一行。
Member
Author
|
Superseded: the pin now points at 2026.8.24.6, the version this package's contents were released alongside. |
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.
本包 CI 停在一个不校验
mcpp:能力声明的 mcpp 上。实测 2026.8.19.4:⭐ 连明显的错拼都照单全收——它早于层词表,把整个
provides当作不认识的键忽略。于是 CI 报绿,而这份清单的中心主张从未被检查过。pin → 2026.8.24.4,该版本认识五层词表。