Skip to content

Deps: Bump postcss from 8.5.20 to 8.5.23 - #111

Merged
losolio merged 1 commit into
mainfrom
fix/postcss-lockfile
Aug 5, 2026
Merged

Deps: Bump postcss from 8.5.20 to 8.5.23#111
losolio merged 1 commit into
mainfrom
fix/postcss-lockfile

Conversation

@losolio

@losolio losolio commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Supersedes #108, which is red for a reason that has nothing to do with postcss.

Why #108 fails

Both jobs die after ~17s, in the install step:

ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION: 13 lockfile entries failed verification

None of the 13 is postcss. Dependabot regenerated pnpm-lock.yaml and floated
unrelated transitives to their newest releases, all published inside the 10-day
minimumReleaseAge window:

main #108
turbo (+6 @turbo/*) 2.10.7 ✅ 2.10.8 ❌
ws 8.21.1 ✅ 8.21.2 ❌
nanoid 3.3.16 ✅ 3.3.17 ❌
recast 0.23.12 ✅ 0.23.19 ❌
minimatch 10.2.5 ✅ 10.2.6 ❌

turbo isn't even a postcss dependency.

Root cause

.github/dependabot.yml already sets cooldown: default-days: 10, matching
minimumReleaseAge: 14400 in pnpm-workspace.yaml. The two look like a closed
loop, but they act at different layers: cooldown gates which direct updates
Dependabot proposes, while lockfile regeneration re-resolves transitives
with no age awareness at all. pnpm then rejects the result at install time.

This is systemic, not a one-off — #99 fails identically, and a weekly rebase
re-floats the transitives, so these PRs don't reliably heal by waiting.

This PR

Rebuilt on current main, letting pnpm resolve the lockfile instead of
Dependabot. Every offender above already has an age-compliant version that
satisfies its range, so pnpm keeps them and moves postcss alone — 7 lockfile
lines
instead of a sprawl.

pnpm also held postcss at 8.5.23 rather than the available 8.5.25, which is
7 days old and inside the window. The policy doing its job.

Verified locally: turbo run lint build --force 9/9, pnpm test 92/92 files,
512/512 tests.

The upstream change itself is worth taking but not urgent — 8.5.23 is
"do not load source map without opts.from for security reasons".

🤖 Generated with Claude Code

Rebuilt on current main with a pnpm-resolved lockfile. Dependabot's own
resolution floated 13 unrelated entries to versions published inside the
`minimumReleaseAge` window (turbo 2.10.8, ws 8.21.2, nanoid 3.3.17,
recast 0.23.19, minimatch 10.2.6, …), which `pnpm install` rejects with
ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION — so CI failed in the install
step before running a single test.

Dependabot's `cooldown` only gates which *direct* updates it proposes;
it has no age awareness when regenerating the lockfile. Letting pnpm
resolve instead keeps every transitive at its current, age-compliant
version and moves postcss alone: 7 lines instead of a sprawl.

pnpm also held postcss at 8.5.23 rather than the available 8.5.25,
which is 7 days old and inside the window. The policy working as
intended.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 5, 2026 22:06
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Storybook preview: https://preview-111.ratio-ui.pages.dev

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the repo’s PostCSS dependency to a newer patch release while keeping the pnpm-lock.yaml resolution minimal and compliant with the workspace minimumReleaseAge policy, avoiding Dependabot-induced transitive churn.

Changes:

  • Bump direct postcss devDependency from ^8.5.20 to ^8.5.23.
  • Update pnpm-lock.yaml to resolve postcss to 8.5.23 (and update dependent snapshot references accordingly).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates the declared PostCSS version range to ^8.5.23.
pnpm-lock.yaml Updates the lockfile entry and snapshots to use postcss@8.5.23, with no leftover 8.5.20 references.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@losolio losolio changed the title Deps: Bump postcss from 8.5.20 to 8.5.23 (pnpm-resolved lockfile) Deps: Bump postcss from 8.5.20 to 8.5.23 Aug 5, 2026
@losolio
losolio merged commit 934ac6d into main Aug 5, 2026
4 checks passed
@losolio
losolio deleted the fix/postcss-lockfile branch August 5, 2026 22:10
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.

2 participants