Skip to content

ci(release): the index bump is proposed by the index's own updater - #837

Merged
Sunrisepeak merged 1 commit into
mainfrom
fix/index-bump-through-updater
Oct 24, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
fix/index-bump-through-updater

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Summary

Since openxlings/xim-pkgindex#1027, one updater edits every recipe in the index (xpkgindex-update.yml, pinned to openxlings/xpkgindex-update). That change also removed .github/scripts/version-check.py, which bump_index.sh ran inside a clone of the index. As a result, the 2026.10.24.1 release's publish-ecosystem job failed:

python3: can't open file '…/idx/.github/scripts/version-check.py': [Errno 2] No such file or directory

The bump for that release was dispatched by hand: gh workflow run xpkgindex-update.yml -f package=xim:mcpp, which produced openxlings/xim-pkgindex#1047.

bump_index.sh now runs that same dispatch and waits for auto/bump-xim-<project>-<version>. If the branch does not appear within 20 minutes, the script fails and names the updater's runs. The release step therefore stays blocking (A4), and the recipe keeps a single writer. The updater requires both the GitHub and GitCode resources, and the mirror step runs before it.

Verification

  • With an already-open PR (#1047), the script reports it and exits 0.
  • The dispatch path is the command that opened #1047: the updater's scan, propose and result steps all succeeded. The four sha256 values in that PR match the .sha256 assets on both hosts.
  • Not yet verified: whether XIM_PKGINDEX_TOKEN may dispatch workflows on the index. The next release's step will show it, and if it cannot, the script fails loudly.

Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com

Since openxlings/xim-pkgindex#1027 one updater edits every recipe
(`xpkgindex-update.yml`), and `.github/scripts/version-check.py`, which
bump_index.sh ran inside a clone, is gone. The 2026.10.24.1 release's
publish-ecosystem failed on the missing file; its bump was dispatched by hand
(xim-pkgindex#1047). bump_index.sh now dispatches the updater for xim:<project>
and waits for `auto/bump-xim-<project>-<version>`, failing when it does not
appear, so the step stays blocking.

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit c4f8b01 into main Oct 24, 2026
141 of 142 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.

1 participant