Skip to content

ci: skip npm audit and fund lookups in workflow installs - #1008

Merged
scttbnsn merged 1 commit into
dev/v1.7from
ci/v1.7-npm-no-audit-fund
Sep 4, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.7from
ci/v1.7-npm-no-audit-fund

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #1005 (DR-71). Every host-side npm ci on the 20260831 runner image stalled once per install and completed at 61s flat with the fetch timeout from #992. Setting NPM_CONFIG_AUDIT=false and NPM_CONFIG_FUND=false in the workflow env blocks took the install steps on the dev/v1.8 run from 61s to 2 to 24s, so the audit/fund lookup was the stalled request. Same change, cherry-picked.

Changelog

  • 🔧 Changed CI, E2E, and release workflows to set NPM_CONFIG_AUDIT=false and NPM_CONFIG_FUND=false.
  • 🐛 Fixed slow host-side npm ci installs caused by audit and fund lookups.

Concerns

  • Verify that every host-side npm ci step uses the workflow environment variables.

@scttbnsn

scttbnsn commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@vercel

vercel Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
drydockdemo-website Ready Ready Preview Sep 4, 2026 9:51am UTC

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

Deployment failed for project drydock-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@coderabbitai

coderabbitai Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

No new commits to review since the last review.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: f5930c82-38ad-49cf-8c9e-2e64e2717639

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: c8cfebcc-3f5a-4bf4-a0b1-f7d781b50e87

📥 Commits

Reviewing files that changed from the base of the PR and between ea500b3 and b536c19.

📒 Files selected for processing (3)
  • .github/workflows/ci-verify.yml
  • .github/workflows/e2e-playwright.yml
  • .github/workflows/release-cut.yml

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The CI verification, Playwright end-to-end, and release-cut workflows now set NPM_CONFIG_AUDIT and NPM_CONFIG_FUND to "false" at workflow scope. Host-side npm ci operations therefore skip npm audit and fund registry lookups. The release-cut workflow also documents the configuration and matches the Dockerfile’s existing flags.

Suggested labels: second-opinion

Merge Risk: ⚪ Minimal · up to b536c

CI, Playwright, and release workflows now skip npm audit and funding lookups during installs, reducing runner stalls while matching the existing container install behavior. No merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
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 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/v1.7-npm-no-audit-fund

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.

@coderabbitai coderabbitai Bot added the second-opinion Summon Greptile for a second-opinion review label Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

@greptileai Review exact head b536c19c6cc044b363626c5669089027a2db9125. Review for correctness, security issues, and cross-file regressions.

@coderabbitai

coderabbitai Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approving: straight cherry-pick of #1005, checks green.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approving: straight cherry-pick of #1005, checks green.

@scttbnsn
scttbnsn merged commit 0a79585 into dev/v1.7 Sep 4, 2026
32 of 34 checks passed
@scttbnsn
scttbnsn deleted the ci/v1.7-npm-no-audit-fund branch September 4, 2026 10:01

This branch was successfully deployed

1 active deployment
Preview – drydockdemo-website — b536c19c Deployed Sep 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

second-opinion Summon Greptile for a second-opinion review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants