Skip to content

chore(deps): restore pdfjs-dist release-age exception until it ages out - #17385

Merged
nwparker merged 1 commit into
stablyai:mainfrom
nwparker:nwparker/restore-pdfjs-release-age-exception
Aug 30, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
nwparker:nwparker/restore-pdfjs-release-age-exception

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Problem

main cannot install. Every pnpm install — local and CI — fails lockfile verification:

1 lockfile entries failed verification:
  [email protected] was published at 2026-08-29T12:48:16.000Z, within
  the minimumReleaseAge cutoff (2026-08-27T09:39:18.447Z)

#17372 removed the minimumReleaseAgeExclude entry for pdfjs-dist two days early. minimumReleaseAge: 4320 is a 3-day (72h) gate; [email protected] was published 2026-08-29T12:48Z, so it does not clear the gate until 2026-09-01T12:48Z.

Every job that runs ./.github/actions/install-node-dependencies fails at ~15-50s: typecheck, all 8 test shards, static analysis, package, native-smoke on all three OSes.

Fix

Restore the three removed lines, with the age-out date in the comment so the next drop is unambiguous.

Verification

pnpm install --frozen-lockfile on this branch: Done in 10.3s. Same command on main: fails as above.

Drop the exclusion again any time after 2026-09-01T12:48Z.

stablyai#17372 dropped the exclusion two days early: [email protected] was published
2026-08-29T12:48Z and does not clear the 4320-minute gate until 2026-09-01T12:48Z,
so every pnpm install in CI fails lockfile verification.
@greptile-apps

greptile-apps Bot commented Aug 30, 2026

Copy link
Copy Markdown

Greptile Summary

Restores the temporary pdfjs-dist release-age exception so frozen-lockfile installs succeed until the locked release clears the repository’s three-day minimum-age gate.

  • Adds pdfjs-dist back to minimumReleaseAgeExclude.
  • Documents the release timestamp and precise age-out time for removing the exception.

Confidence Score: 5/5

The PR appears safe to merge and restores installation for the currently locked dependency without introducing a concrete blocking defect.

The configuration change directly addresses the lockfile age-verification failure, and the exception’s temporary lifetime and removal time are explicitly documented.

Important Files Changed

Filename Overview
pnpm-workspace.yaml Restores a documented, temporary package-manager exception matching the currently locked dependency release.

Reviews (1): Last reviewed commit: "chore(deps): restore pdfjs-dist release-..." | Re-trigger Greptile

@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

  • Restore pdfjs-dist release-age exclusion — re-adds minimumReleaseAgeExclude: [pdfjs-dist] to the root pnpm-workspace.yaml, plus a comment recording the publish time and age-out date. This reverses the premature removal in #17372 and unblocks every pnpm install --frozen-lockfile in CI.

The restore is correct: minimumReleaseAge: 4320 is a 72-hour gate, and [email protected] (2026-08-29) does not clear it until 2026-09-01. The exclusion syntax and nesting match the pre-#17372 format, and the lockfile pins [email protected].

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The workspace configuration adds pdfjs-dist to minimumReleaseAgeExclude. The package is exempt from the 4320-minute release-age gate.

Merge Risk: 🔵 Low · up to 33caa

This restores dependency installation while temporarily allowing compatible pdfjs-dist releases to bypass the 72-hour age gate until the exemption is removed after September 1, 2026 at 12:48 UTC. Merge is reasonable with explicit owner follow-up to narrow or remove the exception.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description clearly explains the installation failure, root cause, fix, release-age deadline, and verification. However, it omits most required template sections, including ELI5, What Changed, Why… Rewrite the description using the repository template. Add a valid Linked Issue entry, complete ELI5, What Changed, Why, Testing, Notes, Review, Agent skill upstream boundary, and Checklist sections. Add N/A with a reason under Visual Pro…
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the dependency-related change and explains that the pdfjs-dist release-age exception is being restored.
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.
Full details: Description check

Explanation

The description clearly explains the installation failure, root cause, fix, release-age deadline, and verification. However, it omits most required template sections, including ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing checkboxes, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist.

Resolution

Rewrite the description using the repository template. Add a valid Linked Issue entry, complete ELI5, What Changed, Why, Testing, Notes, Review, Agent skill upstream boundary, and Checklist sections. Add N/A with a reason under Visual Proof because this change has no UI or interaction impact.

Full details: Docstring Coverage

Explanation

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 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI

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

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a91b6e7f-7d8d-4319-a751-126d24bb1d77

📥 Commits

Reviewing files that changed from the base of the PR and between 7f822a7 and 33caa94.

📒 Files selected for processing (1)
  • pnpm-workspace.yaml

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

Comment thread pnpm-workspace.yaml
minimumReleaseAge: 4320
# 6.3.289 was published 2026-08-29T12:48Z; it clears the 3-day gate on 2026-09-01T12:48Z.
minimumReleaseAgeExclude:
- pdfjs-dist

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.

🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n 'packageManager|pnpm|minimumReleaseAge|minimumReleaseAgeExclude|pdfjs-dist|lockfileVersion' \
  package.json pnpm-workspace.yaml pnpm-lock.yaml

Repository: stablyai/orca

Length of output: 12035


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- applicable repository conventions ---'
find /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4 -maxdepth 2 -type f -name '*.md' -print
printf '%s\n' '--- dependency-resolution context ---'
cat -n pnpm-workspace.yaml
sed -n '238,252p;296,304p' package.json
sed -n '1,18p;5766,5774p' pnpm-lock.yaml

Repository: stablyai/orca

Length of output: 6587


🌐 Web query:

pnpm v12 minimumReleaseAgeExclude version-specific selector package@version documentation

💡 Result:

In pnpm, minimumReleaseAgeExclude is a configuration setting used in pnpm-workspace.yaml to exempt specific dependencies from the minimumReleaseAge restriction, allowing them to be installed immediately even if they were published recently [1][2]. As of pnpm v12 (and earlier versions starting from v10.16.0), you can use version-specific selectors in this setting to provide granular control [1][2]. You may specify an exact package version or use a disjunction operator (||) to exempt multiple specific versions [1][2]. Examples of supported syntax include: - Package name only (exempts all versions): minimumReleaseAgeExclude: - webpack - react - Pattern matching (e.g., all packages in an organization): minimumReleaseAgeExclude: - @myorg/* - Exact version or disjunction of versions: minimumReleaseAgeExclude: - [email protected] - [email protected] || 5.102.1 Note that while pnpm supports specifying these version-specific selectors, there have been historical reports of inconsistency when defining multiple exact-version entries for the same package separately versus combining them into a single disjunction [3]. Using the disjunction syntax (e.g., pkg@v1 || v2) is generally recommended for reliability when exempting multiple versions of the same package [3]. Additionally, pnpm audit --fix may automatically add required patched versions to this list to allow security updates while the general minimumReleaseAge policy remains in effect [4].

Citations:


Security Misconfiguration (CWE-16)

Reachability: External · Exploitability: Difficult

Limit the exclusion to [email protected].

The current exclusion applies to all pdfjs-dist versions, while ^6.3.289 permits future 6.x updates to bypass the 4320-minute release-age gate. pnpm 12 supports version-specific selectors. Remove the exclusion after 6.3.289 clears the gate.

@nwparker
nwparker merged commit 3d0bd6a into stablyai:main Aug 30, 2026
29 checks passed
@nwparker
nwparker deleted the nwparker/restore-pdfjs-release-age-exception branch August 30, 2026 10:12
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…ut (stablyai#17385)

stablyai#17372 dropped the exclusion two days early: [email protected] was published
2026-08-29T12:48Z and does not clear the 4320-minute gate until 2026-09-01T12:48Z,
so every pnpm install in CI fails lockfile verification.
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