fix(ci): artifact name mismatch у publish-mt-napi (musl) - #13
Merged
Conversation
Третій реальний баг з того самого live-fire тесту (тепер mt-v0.1.3):
build-napi вивантажує артефакт як mt-napi-\${{ matrix.napi_suffix }},
а для musl-ноги napi_suffix = "linux-x64-musl" → артефакт
"mt-napi-linux-x64-musl". publish-mt-napi шукав "mt-napi-linux-x64"
(без "-musl") — cp падав "No such file or directory". darwin-нога
збігалась випадково (napi_suffix там без додаткового суфікса).
build-napi (обидві ноги, включно з musl після фіксу crt-static
з попереднього PR) уже зелений на цьому прогоні — залишалась тільки
ця невідповідність імені на боці publish.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
Третій баг з живого тесту на
mt-v0.1.3(після фіксів у #12, які виправили anti-recursion trigger і crt-static для musl — обидва build-napi легі тепер зелені).publish-mt-napiпадав:cp: cannot stat 'dist/mt-napi-linux-x64/mt.linux-x64-musl.node': No such file or directory.Причина:
build-napiвивантажує артефакт якmt-napi-${{ matrix.napi_suffix }}, аnapi_suffixдля musl-ноги =linux-x64-musl→ фактичне ім'яmt-napi-linux-x64-musl.publish-mt-napiшукавmt-napi-linux-x64(без-musl). darwin-нога збігалась випадково (napi_suffix: darwin-arm64без додаткового суфікса).Test plan
gh api .../artifactsпоказав фактичну назвуmt-napi-linux-x64-musl)🤖 Generated with Claude Code