Skip to content

fix(actions): pass bundlePath to Capawesome live update bundle - #12

Merged
rdlabo merged 1 commit into
mainfrom
agent/fix-publish-live-update-bundle-path
Jul 14, 2026
Merged

fix(actions): pass bundlePath to Capawesome live update bundle#12
rdlabo merged 1 commit into
mainfrom
agent/fix-publish-live-update-bundle-path

Conversation

@rdlabo

@rdlabo rdlabo commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Capawesome Live Update の publish-live-update composite action で、bundle.zip が生成されず upload が落ちる不具合を修正
  • 原因: main()bundleArgs(options) に渡すオプションは bundlePath だが、bundleArgsoutputPath だけ見て --output-pathundefined を渡していた
  • 修正: bundleArgsoutputPath ?? bundlePath を使うようにし、main フローのテストで --output-path / upload --pathbundle.zip であることを検証

Impact

  • 影響範囲: GitHub Actions composite(publish-live-update)のみ。npm 公開 kit 本体の API / ランタイムには影響なし
  • 本番影響: Live Update をデプロイする各 app(winecode / tipsys / foodlabel / receptray / odss-mobile)の tag デプロイで upload が通るようになる
  • 緊急度: odss の v6.1.0-2 で本番 OTA publish がこの不具合で失敗しているため、main マージ後すぐ利用想定(各 app は暫定で @main pin)

Test plan

  • npm run test:actions(31 passed、bundle output パスの回帰テスト追加含む)
  • CI green(lint / test-actions / kit 他)
  • マージ後、app 側で -N タグ再切り → Capawesome upload 成功を確認

Review notes

  • 変更は 2 ファイル・+16/-3 のピンポイント修正
  • SHA pin から @main へ寄せる app 側 PR は別(本 PR マージが前提)

main() called bundleArgs(options) with bundlePath, but bundleArgs only
read outputPath, so --output-path was undefined and upload could not
find bundle.zip.

Co-authored-by: Cursor <cursoragent@cursor.com>
@netlify

netlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy Preview for rdlabo-ionic-angular-library ready!

Name Link
🔨 Latest commit 916bdb4
🔍 Latest deploy log https://app.netlify.com/projects/rdlabo-ionic-angular-library/deploys/6a55b95f98e48000086bbadd
😎 Deploy Preview https://deploy-preview-12--rdlabo-ionic-angular-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@rdlabo
rdlabo merged commit d75b6b7 into main Jul 14, 2026
11 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