ci: publish-artifact 也要看 libs/** —— 这一处漏的是交付 - #736
Merged
Conversation
#735 合进 main、所有检查全绿,而 xlings update 仍然在发 xim-index-f1702a1.tar.gz——也就是修复**之前**那一版。gitee 镜像同步到了 ea36f6b,但索引产物没有重出。 原因和 #735 修的是同一个盲区,只是第三处:publish-artifact.yml 的 paths 是 pkgs/** / xim-indexrepos.lua / .xpkgindex.json,没有 libs/**。 而这个 workflow 发布的产物**就是 xlings update 下载的东西**,里面含 libs/—— 四个 recipe import xim.pkgindex.graphics,执行的正是那里的代码。所以只改 libs/ 的修复只能经由这个产物到达用户,而在这一行之前它根本到不了。 夜间 cron(0 18 * * *)最终会补上,所以这是慢漏而不是断供;但「合了、绿了、 用户拿到的还是旧的」这个状态本身就不该存在。 已手动 workflow_dispatch 一次让 #735 立刻到达用户。 没有加进 pkgindex-deloy.yml / site-check.yml:那两个从包元数据渲染文档站, libs/ 不是面向用户的文档。
沿用 ci-test.yml 的既有做法。改了触发条件或步骤的发布器应当**发布一次**——那是 唯一能证明它还能用的动作,也让本 PR 这类改动自验:合入之后要么出产物要么不出。 顺带解释了 #736 为什么零检查:没有任何 workflow 监视 publish-artifact.yml。
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.
#735 合进 main、所有检查全绿,而
xlings update仍然在发xim-index-f1702a1.tar.gz—— 也就是修复之前那一版:gitee 镜像到位,索引产物没有重出。
原因:同一个盲区的第三处
publish-artifact.yml的 paths 是pkgs/**/xim-indexrepos.lua/.xpkgindex.json,没有libs/**。ci-test.ymllibs/**ci-xpkg-test.ymllibs/**publish-artifact.ymllibs/**前两处让改动没被检查;这一处让改动到不了用户。
这个 workflow 发布的产物就是
xlings update下载的东西,里面含libs/——mesa、nvidia-gl-host-link、xkeyboard-config、libinput-quirks四个 recipeimport("xim.pkgindex.graphics"),执行的正是那里的代码。所以只改libs/的修复只能经由这个产物到达用户。夜间 cron(
0 18 * * *)最终会补上,所以这是慢漏而不是断供 —— 但「合了、绿了、用户拿到的还是旧的」这个状态本身就不该存在。已做的即时处理
手动
workflow_dispatch了一次,让 #735 立刻到达用户,不用等 cron。范围
没有加进
pkgindex-deloy.yml/site-check.yml:那两个从包元数据渲染文档站,libs/不是面向用户的文档。ci-tools.yml过滤tools/**,与此无关。