Skip to content

ci: pnpm 11 in CI, dependencies up to date, grouped Dependabot - #13

Merged
SamTV12345 merged 1 commit into
mainfrom
ci/pnpm11-deps
Nov 23, 2026
Merged

SamTV12345 merged 1 commit into
mainfrom
ci/pnpm11-deps

Conversation

@SamTV12345

Copy link
Copy Markdown
Member

Repairs the pipeline and brings the dependencies up to date.

  • Why CI was red: CI and publish installed pnpm 9, but since the switch to pnpm 11 the workspace file contains only allowBuilds. pnpm 9 rejects that with packages field missing or empty, so every run failed, including all Dependabot PRs. The pnpm version now comes from packageManager in package.json (pnpm@11.29.0).
  • Cancelled runs: CI shared the concurrency group pages with cancel-in-progress. When Dependabot opened several PRs at once, they cancelled each other's runs. CI now runs once per branch; Pages deployments keep their own group and are never cancelled.
  • Dependencies: everything updated within its current major version: Storybook 10.6.8, Vite 8.3, Vitest 4.1.12, Playwright 1.65, Lit 3.3.3, TypeScript 6.0.3. This covers chore(deps-dev): bump @vitest/browser from 4.1.3 to 4.1.10 #9–chore(deps-dev): bump @storybook/addon-vitest from 10.3.5 to 10.6.2 #12. The new majors (Vitest 5, TypeScript 7) are left for later.
  • Dependabot: new .github/dependabot.yml that bundles minor and patch updates into one weekly PR, plus a weekly PR for GitHub Actions.

Locally: typecheck, build and Storybook build pass; tests show 17 files / 100 tests green.


Generated by Claude Code

- CI and publish used pnpm 9, which cannot read the pnpm 11 workspace
  file ("packages field missing or empty"): every run failed since the
  move to pnpm 11. The version now comes from "packageManager".
- One CI run per branch: the shared "pages" concurrency group cancelled
  the runs of other branches (Dependabot PRs); Pages deployments keep
  their own group.
- Dependencies updated within their majors (Storybook 10.6, Vite 8.3,
  Vitest 4.1.12, Playwright 1.65, Lit 3.3.3, TypeScript 6.0.3); covers
  the open Dependabot PRs.
- Dependabot groups minor and patch updates into one weekly PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012RMvvMtnCwj6ycD9fwLYVu
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Restore CI with pnpm 11 and group dependency updates

🐞 Bug fix ⚙️ Configuration changes ✨ Enhancement 🕐 20-40 Minutes

Grey Divider

AI Description

• Use the package’s pnpm 11 version in CI and publishing to restore installs.
• Isolate CI runs by ref and serialize Pages deployments without cancelling them.
• Refresh dependencies within their current majors and group weekly Dependabot updates.
Merge Risk 🟡 Medium

Blast radius 🔴 High 💥 5 capabilities

  • 5 affected capabilities span independent functional scopes: Storybook Pages publication, dependency maintenance automation, npm package release, published web-component runtime, repository continuous integration.
  • The changed dependency is imported by component modules and is part of the published package contract.
  • Rendering, updates, event handling, and interaction remain one bounded end-to-end library behavior across component modules and package consumers; the package lock and individual imports are implementation and distribution hops, not separate capabilities.
  • These jobs jointly provide the repository's validation outcome for a push or pull request.
  • The pnpm setup, package manager metadata, upgraded build/test tools, and workflow-level concurrency are propagation hops within that bounded CI integration, not separate end-to-end capabilities.
  • This is a distinct externally visible site-publication outcome from CI validation: it consumes the build artifact and deploys it to GitHub Pages.
  • The added Pages concurrency group changes deployment ordering for this integration, rather than merely adding another implementation hop to CI validation.
  • Publishing is an independent user and system outcome from CI validation and Pages publication: it changes the externally consumable npm package and commits release metadata to main.
  • The publish workflow's pnpm setup and upgraded build tools participate in that release path.
  • Dependabot grouping and scheduling is a separate automation outcome from the runtime package and release paths: it determines how future npm and GitHub Actions update proposals are generated.
  • Its effects are limited to proposed changes unless a later workflow or maintainer adopts them.
Sources

package.json[53-55]

    "lit": "^3.3.3",
    "lit-element": "^4.2.2",
    "lit-html": "^3.3.3"

package.json[58-70]

    "@storybook/addon-vitest": "^10.6.8",
    "@storybook/web-components": "^10.6.8",
    "@storybook/web-components-vite": "^10.6.8",
    "@vitest/browser": "^4.1.12",
    "@vitest/browser-playwright": "^4.1.12",
    "@vitest/runner": "^4.1.11",
    "playwright": "^1.65.1",
    "storybook": "^10.6.8",
    "typescript": "^6.0.3",
    "vite": "^8.3.8",
    "vitest": "^4.1.12"
  },
  "packageManager": "pnpm@11.29.0"

.github/workflows/ci.yml[17-18]

  group: ci-${{ github.ref }}
  cancel-in-progress: true

.github/workflows/ci.yml[83-86]

    # Pages deployments one after the other, never two at once.
    concurrency:
      group: pages
      cancel-in-progress: false

.github/dependabot.yml[5-18]

  - package-ecosystem: npm
    directory: /
    schedule:
      interval: weekly
    groups:
      minor-and-patch:
        update-types: [minor, patch]
  - package-ecosystem: github-actions
    directory: /
    schedule:
      interval: weekly
    groups:
      actions:
        patterns: ["*"]
Behavioral complexity 🔴 High 🧩 Multiple interactions

  • Before: CI used one global pages concurrency group, pinned pnpm 9 explicitly, and used the older build and test dependency set.
  • After: same-ref CI runs cancel one another while different refs are isolated; Pages deployments share a non-cancelling group; pnpm is selected through packageManager pnpm 11.29.0; and the Storybook, Vite, Vitest, Playwright, TypeScript, and related dependency graph is upgraded.
  • New correctness conditions are that cancellation affects only the intended same-ref run, Pages deployments serialize without leaving the site stale indefinitely, pnpm 11 and the upgraded toolchain remain compatible with frozen-lockfile installation/build/browser tests/publishing, and supported old and new workflow states do not produce conflicting artifacts.
  • The concurrency protocol and mixed-toolchain compatibility are materially new interactions, while the underlying build and test commands are unchanged.
Sources

package.json[58-70]

    "@storybook/addon-vitest": "^10.6.8",
    "@storybook/web-components": "^10.6.8",
    "@storybook/web-components-vite": "^10.6.8",
    "@vitest/browser": "^4.1.12",
    "@vitest/browser-playwright": "^4.1.12",
    "@vitest/runner": "^4.1.11",
    "playwright": "^1.65.1",
    "storybook": "^10.6.8",
    "typescript": "^6.0.3",
    "vite": "^8.3.8",
    "vitest": "^4.1.12"
  },
  "packageManager": "pnpm@11.29.0"

.github/workflows/ci.yml[17-18]

  group: ci-${{ github.ref }}
  cancel-in-progress: true

.github/workflows/ci.yml[83-86]

    # Pages deployments one after the other, never two at once.
    concurrency:
      group: pages
      cancel-in-progress: false
Potential damage 🟡 Medium 🩹 Recoverable

  • A runtime incompatibility can cause degraded or incorrect component behavior for consumers, but the likely recovery is to restore the prior dependency versions and reinstall or rebundle.
  • No repository evidence indicates persistent application-state writes or irreversible external effects from these UI components.
  • Reverting source metadata alone may not repair an already installed consumer until it reinstalls or republishes its bundle.
  • Supported recovery is package rollback followed by consumer reinstall or rebuild.
  • Existing deployed bundles require redeployment; persistent-state repair and external compensation are not expected from this dependency change.
Sources

package.json[53-55]

    "lit": "^3.3.3",
    "lit-element": "^4.2.2",
    "lit-html": "^3.3.3"
Assessed commit d67d753
Diagram

graph TD
  D["Dependabot"] --> P["Package manifest"] --> L["pnpm lockfile"]
  P --> C["CI workflow"] --> G["Pages deployment"]
  P --> U["Publish workflow"] --> N["npm registry"]
  L --> C
  L --> U
Loading
High-Level Assessment

Keep packageManager as the single pnpm version source rather than maintaining workflow-specific pins. Ref-scoped CI cancellation and separate, non-cancelling Pages concurrency address the two distinct scheduling needs without additional automation.

Files changed (5) +1108 / -679

Bug fix (2) +10 / -7
ci.ymlRestore pnpm installs and isolate CI concurrency +9/-5

Restore pnpm installs and isolate CI concurrency

• Removes pnpm 9 pins so setup reads pnpm 11 from package.json. Scopes workflow cancellation to the ref and gives Pages deployments a separate, non-cancelling concurrency group.

.github/workflows/ci.yml

publish.ymlUse the declared pnpm version for publishing +1/-2

Use the declared pnpm version for publishing

• Removes the pnpm 9 pin so the publish workflow installs with the version declared in package.json.

.github/workflows/publish.yml

Other (3) +1098 / -672
dependabot.ymlSchedule grouped weekly dependency updates +18/-0

Schedule grouped weekly dependency updates

• Adds weekly npm and GitHub Actions update schedules. Minor and patch npm updates are grouped, while major npm updates remain separate; Actions updates form their own group.

.github/dependabot.yml

package.jsonDeclare pnpm 11 and refresh direct dependencies +15/-14

Declare pnpm 11 and refresh direct dependencies

• Sets packageManager to pnpm@11.29.0. Updates Lit and the Storybook, Vite, Vitest, Playwright, and TypeScript toolchain dependencies within their current major versions.

package.json

pnpm-lock.yamlLock refreshed direct and transitive dependencies +1065/-658

Lock refreshed direct and transitive dependencies

• Records the updated dependency versions and their resolved transitive graph, including new Storybook and build-tool dependencies.

pnpm-lock.yaml

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can keep summaries lean with Findings visible per group, which tucks the rest behind a View link

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

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