Skip to content

ci: stage nksdeploy phar from plugin release#51

Merged
lukyrys merged 1 commit into
mainfrom
fix-ci-stage-nksdeploy-phar-asset
May 5, 2026
Merged

ci: stage nksdeploy phar from plugin release#51
lukyrys merged 1 commit into
mainfrom
fix-ci-stage-nksdeploy-phar-asset

Conversation

@lukyrys
Copy link
Copy Markdown
Contributor

@lukyrys lukyrys commented May 5, 2026

Summary

  • stage nksdeploy.phar from the NksDeploy plugin release when the asset exists
  • use source build only as fallback
  • added nksdeploy.phar to the nks.wdc.deploy-v0.1.0 plugin release

Verification

  • node --check scripts/stage-plugins.mjs
  • git diff --check
  • verified nksdeploy.phar is present on the plugin release

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 5, 2026

Warning

Rate limit exceeded

@lukyrys has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 44 minutes and 34 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2482dc4c-6f0d-4c37-baa8-7cc37a41cba1

📥 Commits

Reviewing files that changed from the base of the PR and between f460f68 and 6994746.

📒 Files selected for processing (1)
  • scripts/stage-plugins.mjs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-ci-stage-nksdeploy-phar-asset

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 69947460d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/stage-plugins.mjs
if (pluginId === 'nks.wdc.deploy') {
const pharAsset = (rel.assets ?? []).find(a => a.name === 'nksdeploy.phar')
if (pharAsset) {
await downloadToFile(pharAsset.browser_download_url, join(destDir, 'nksdeploy.phar'))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep phar download errors from aborting release staging

The new nksdeploy.phar fetch runs inside the same try block that controls all release staging, so any transient failure on this optional asset (e.g., 404/403/network) throws and skips sourceUsed assignment, after which the script reports “No plugin build output found” and can process.exit(1) in CI even if plugin ZIPs were already extracted. This turns a fallback artifact failure into a full bundle failure; the phar download should be handled non-fatally (or separately) so DLL staging success is preserved.

Useful? React with 👍 / 👎.

@lukyrys lukyrys merged commit e4de493 into main May 5, 2026
7 checks passed
@lukyrys lukyrys deleted the fix-ci-stage-nksdeploy-phar-asset branch May 5, 2026 07:18
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