Skip to content

fix(ci): give the release npm job time to build pnpm - #1844

Merged
ryoppippi merged 1 commit into
mainfrom
fix/release-npm-timeout
Oct 10, 2026
Merged

ryoppippi merged 1 commit into
mainfrom
fix/release-npm-timeout

Conversation

@ryoppippi

@ryoppippi ryoppippi commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

The v20.0.27 release tagged successfully, but the npm job was cancelled twice at its 10-minute timeout while nix profile install --inputs-from . .#pnpm .#publint was still compiling the pinned pnpm 12.8.1 (built from source via nix/pnpm.nix) on ubuntu-24.04-arm. Nothing was published to npm and no GitHub release was created.

This raises the job timeout to 45 minutes so a cache miss can finish; setup-nix-cache saves the result for later releases. Re-running the v20.0.27 jobs would reuse the old workflow file, so the next tagpr release will carry these changes to npm.


Summary by cubic

Raises the release npm job timeout from 10 to 45 minutes so the pinned pnpm can finish compiling from source on a cache miss.

The v20.0.27 npm job was cancelled twice at the 10-minute limit while nix profile install was still building pnpm 12.8.1 on the arm runner, so nothing reached npm. setup-nix-cache saves the build for later releases; re-running v20.0.27 jobs would reuse the old workflow, so the next tagpr release carries this fix.

Written for commit 726b56e. Summary will update on new commits.

View guided diff Turn on auto-fix

Summary by CodeRabbit

  • Chores
    • Increased the time allowed for npm releases to complete.

The v20.0.27 npm job was cancelled twice at the ten-minute limit while
`nix profile install` was still compiling the pinned pnpm 12.8.1 on the
arm runner, so nothing was published.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ccusage-guide 726b56e Commit Preview URL

Branch Preview URL
Oct 09 2026, 11:56 PM

@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5ab350b2-2c80-4b2c-8326-5f01ac8de3b9

📥 Commits

Reviewing files that changed from the base of the PR and between 631bbc0 and 726b56e.


📒 Files selected for processing (1)
  • .github/workflows/release.yaml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.



📝 Walkthrough

Walkthrough

The npm release job timeout increased from 10 to 45 minutes. A comment explains that building pinned pnpm from source can take more than ten minutes on an ARM runner after a cache miss.

Changes

Release timeout

Layer / File(s) Summary
npm job timeout
.github/workflows/release.yaml
The npm job timeout changed from 10 to 45 minutes. A comment notes that compiling pinned pnpm from source can exceed ten minutes on an ARM runner after a cache miss.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix


Merge Risk: ⚪ Minimal · up to 726b5

The npm release job now has 45 minutes for setup, compilation, and publication instead of 10, with its release ordering unchanged. No concrete merge-blocking risk is evident; it is ready to merge subject to ordinary checks.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: increasing the release npm job timeout so pnpm can finish building.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.


✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 1 file

View guided diff | Turn on auto-fix | Re-trigger cubic

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

  • Release npm job timeout increase: raises timeout-minutes from 10 to 45 with a comment noting the pinned pnpm compiles from source on a cache miss on ubuntu-24.04-arm.

Pullfrog  | Fix it ➔ | View workflow run | Using muse-spark-1.3-contributor (free via Pullfrog for OSS) | 𝕏

@pkg-pr-new

pkg-pr-new Bot commented Oct 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

ccusage

npx https://pkg.pr.new/ccusage@1844

@ccusage/ccusage-darwin-arm64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-arm64@1844

@ccusage/ccusage-darwin-x64

npx https://pkg.pr.new/@ccusage/ccusage-darwin-x64@1844

@ccusage/ccusage-linux-arm64

npx https://pkg.pr.new/@ccusage/ccusage-linux-arm64@1844

@ccusage/ccusage-linux-x64

npx https://pkg.pr.new/@ccusage/ccusage-linux-x64@1844

@ccusage/ccusage-win32-x64

npx https://pkg.pr.new/@ccusage/ccusage-win32-x64@1844

commit: 726b56e

@github-actions

Copy link
Copy Markdown
Contributor

ccusage performance comparison

PR SHA: 726b56e4ca5e
Base SHA: 631bbc0d722b

Performance comparison skipped.

Base package URL was not ready before 300.000s. Fixture performance comparison requires a base package when --base-dir is not provided.

Base package: 631bbc0d722b

@github-actions

Copy link
Copy Markdown
Contributor

ccusage performance comparison

PR SHA: 726b56e4ca5e
Base SHA: 631bbc0d722b

Performance comparison skipped.

Base package URL was not ready before 300.000s. Fixture performance comparison requires a base package when --base-dir is not provided.

Base package: 631bbc0d722b

@ryoppippi
ryoppippi merged commit 0dfe14b into main Oct 10, 2026
43 checks passed
@ryoppippi
ryoppippi deleted the fix/release-npm-timeout branch October 10, 2026 00:39
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