Skip to content

fix(release): remove uninitialized marker restored by checkout - #79

Merged
zeriyoshi merged 1 commit into
mainfrom
fix/release-stale-marker
Jul 27, 2026
Merged

fix(release): remove uninitialized marker restored by checkout#79
zeriyoshi merged 1 commit into
mainfrom
fix/release-stale-marker

Conversation

@zeriyoshi

Copy link
Copy Markdown
Contributor

Summary

Fixes the macOS release job failure:

[Pskel] Uninitialized project detected, initializing default skeleton.
Could not open input file: /usr/src/php/ext/ext_skel.php

The initialized-ext-release artifact contains no ext/.gitkeep (pskel init removes it), but each binary job's fresh checkout restores the marker from git, and actions/download-artifact merges into ext/ without deleting existing files. pskel package then saw the pskel_uninitialized marker next to a fully initialized skeleton and attempted a fallback init — impossible on macOS runners where /usr/src/php doesn't exist (the Linux jobs only survived by wastefully re-initializing inside the container).

Fix: drop the stale marker right after the artifact download in the Linux and macOS jobs (Windows doesn't invoke pskel).

Test plan

  • Reproduced locally on macOS: re-adding the marker to an initialized ext produces the exact CI failure; removing it lets pskel package produce php_skeleton-…-darwin-bsdlibc.zip
  • Re-tag after merge to verify the full release pipeline

🤖 Generated with Claude Code

The initialized-ext artifact has no ext/.gitkeep (pskel init removes
it), but each binary job's fresh checkout restores the marker and the
artifact download merges on top without deleting it. pskel then treats
the initialized ext as uninitialized and attempts a fallback init,
which fails on macOS runners where /usr/src/php does not exist. Drop
the stale marker after downloading the artifact in the Linux and macOS
jobs (Windows does not invoke pskel).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zeriyoshi
zeriyoshi merged commit 459002a into main Jul 27, 2026
1 check 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