Skip to content

chore(deps): consolidate Dependabot updates (Astro 6, GitHub Actions)#105

Merged
rplunger merged 4 commits into
mainfrom
chore/dependabot-consolidate-2026-04
Apr 6, 2026
Merged

chore(deps): consolidate Dependabot updates (Astro 6, GitHub Actions)#105
rplunger merged 4 commits into
mainfrom
chore/dependabot-consolidate-2026-04

Conversation

@rplunger

@rplunger rplunger commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR rolls up open Dependabot dependency bumps into one mergeable change set.

Docs (docs/)

  • Astro 6 with @astrojs/starlight 0.38.x (required peer alignment).
  • astro-mermaid and mermaid updated to match Dependabot targets.
  • npm overrides: pin clsx@^2.1.1 so the prerender bundle does not resolve the old clsx@1 hoisted by transitive deps (fixes Named export 'clsx' not found during astro build).
  • Top-level vite@6.4.2 is present in the lockfile (addresses the vite security bump from Dependabot).

GitHub Actions

upload-pages-artifact was left at v4; it still pairs with the Pages deploy flow used here. Bump separately if you want everything on the latest major.

Verification

  • CI=true npm run build in docs/ (includes gen:rustdoc skip, gen:proto, astro build, test:docs).

Supersedes

Closes or supersedes the individual Dependabot PRs for the same bumps (e.g. #95#100, #104). Close those after merge to avoid duplicate work.


Note: Another local branch chore/consolidate-dependabot-deps exists on a second worktree; this PR uses chore/dependabot-consolidate-2026-04 instead.

Summary by CodeRabbit

  • Chores
    • Updated CI workflows to use newer action versions for artifact publishing and Pages deployment; added a step to run docs builds on Node 22 with npm caching.
    • Upgraded documentation site build tooling and libraries, raised the required Node.js engine, and pinned a transitive dependency for stability.

- Bump astro, @astrojs/starlight, astro-mermaid, mermaid; add npm overrides
  for clsx@2 so prerender resolves ESM named exports (fixes build on Astro 6)
- rustdoc workflow: configure-pages@v6, deploy-pages@v5
- os-build workflow: upload-artifact@v7

Supersedes/closes Dependabot PRs #95-#100, #104.
@vercel

vercel Bot commented Apr 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
pai-os Ready Ready Preview, Comment Apr 6, 2026 9:01pm

@coderabbitai

coderabbitai Bot commented Apr 6, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 23b16da9-864a-4021-80af-80291bfa2ae7

📥 Commits

Reviewing files that changed from the base of the PR and between 46c97c7 and a95c0ae.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

Updated GitHub Actions workflow action versions, added a Node 22 setup step for docs CI, and bumped documentation dependencies and Node engine requirement; also added an overrides entry pinning clsx.

Changes

Cohort / File(s) Summary
GitHub Action: artifact upload
\.github/workflows/os-build.yml
Replaced actions/upload-artifact@v4actions/upload-artifact@v7; artifact name/path/retention unchanged.
GitHub Action: pages deploy
\.github/workflows/rustdoc.yml
Bumped pages actions: actions/configure-pages v5→v6 and actions/deploy-pages v4→v5; no other logic changed.
CI: docs Node setup
\.github/workflows/ci.yml
Added step to set up Node.js v22 via actions/setup-node@v4 and enable npm cache keyed by docs/package-lock.json prior to docs build.
Documentation deps & engines
docs/package.json
Bumped deps: @astrojs/starlight ^0.37.6→^0.38.2, astro ^5.18.1→^6.1.0, astro-mermaid ^1.3.1→^1.4.0, mermaid ^11.12.3→^11.14.0; Node engine >=18.0.0>=22.12.0; added overrides pinning clsx → ^2.1.1.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐇 I hopped through YAML lines so neat,
Pinned a package, tuned Node's heartbeat,
Actions rose to versions new,
Docs prepare a brighter view,
A joyful rabbit claims this treat.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: consolidating multiple Dependabot dependency updates (Astro 6 and GitHub Actions) into a single changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/dependabot-consolidate-2026-04

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 and usage tips.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/rustdoc.yml:
- Around line 92-94: The workflow currently uses actions/deploy-pages@v5 (step
name "Deploy to GitHub Pages", id "deployment") which requires Node 24 and may
break older self-hosted runners/GHES; either revert/pin the action to a Node‑20
compatible release (e.g., actions/deploy-pages@v4) or add an explicit runner
compatibility check and upgrade path (ensure your runners/GHES support node24)
before switching to `@v5`; update the workflow step to use the chosen action
version or add a pre-flight check step that validates the runner Node runtime
compatibility.

In `@docs/package.json`:
- Around line 31-33: Update the package.json "engines.node" entry to require
Node 22.12.0 or higher to match Astro 6 requirements: locate the "engines"
object (the "engines.node" key) and change its version string from ">=18.0.0" to
">=22.12.0" so builds run on a supported runtime.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bb9d3560-6a1d-4f2b-abb1-50cfc59ab75c

📥 Commits

Reviewing files that changed from the base of the PR and between b9c173d and 4d9649a.

⛔ Files ignored due to path filters (1)
  • docs/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • .github/workflows/os-build.yml
  • .github/workflows/rustdoc.yml
  • docs/package.json

Comment on lines 92 to +94
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify actions/deploy-pages@v5 exists and check outputs in action.yml
gh api repos/actions/deploy-pages/releases --jq '.[].tag_name' | head -10

# Check if page_url output is documented
gh api repos/actions/deploy-pages/contents/action.yml?ref=v5 --jq '.content' | base64 -d | grep -A5 'outputs:'

Repository: aurintex/pai-os

Length of output: 272


🌐 Web query:

actions/deploy-pages v5 release page_url output

💡 Result:

actions/deploy-pages@v5 still exposes the page_url step output (“The URL of the deployed Pages site”).[1]

Use it like this:

- name: Deploy to GitHub Pages
  id: deployment
  uses: actions/deploy-pages@v5

- name: Show URL
  run: echo "${{ steps.deployment.outputs.page_url }}"

(You’ll commonly wire it to the environment URL: url: ${{ steps.deployment.outputs.page_url }}.)[2]

v5.0.0 was released on March 25, 2026.[3]

Sources: [1] [2] [3]


🌐 Web query:

GitHub actions deploy-pages action v5 changelog breaking changes

💡 Result:

actions/deploy-pages@v5 (v5.0.0) breaking changes / migration notes

  • Runtime upgrade to Node.js 24 (node24): v5.0.0 updates the action’s runtime from Node 20 to Node 24 (“Update Node.js version to 24.x”). This is the main breaking change between v4 and v5. [1]

    • Practically, this can break workflows on older/self-hosted runners or older GitHub Enterprise Server (GHES) setups that don’t support running JavaScript actions on node24. The v5 tag points at this Node 24 update. [2][3]
  • GHES compatibility: The repo’s compatibility table already flags v4 as “incompatible” with GHES at the time of writing; v5’s move to node24 further implies you must verify GHES/runner support before upgrading. [4]

Changelog sources

  • v5.0.0 release notes / changelog: Node 24 upgrade item is listed there. [1]
  • PR #404 contains the rationale/details: bump from Node 20.x to 24.x and runs.using: node24. [3]

Verify runner compatibility with actions/deploy-pages@v5 Node 24 runtime requirement.

v5.0.0 is available and maintains the page_url output, but it upgrades the Node.js runtime from Node 20 to Node 24. This breaks compatibility with older self-hosted runners and older GitHub Enterprise Server (GHES) instances that don't support node24. Ensure your runner environment is compatible before deploying this upgrade.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/rustdoc.yml around lines 92 - 94, The workflow currently
uses actions/deploy-pages@v5 (step name "Deploy to GitHub Pages", id
"deployment") which requires Node 24 and may break older self-hosted
runners/GHES; either revert/pin the action to a Node‑20 compatible release
(e.g., actions/deploy-pages@v4) or add an explicit runner compatibility check
and upgrade path (ensure your runners/GHES support node24) before switching to
`@v5`; update the workflow step to use the chosen action version or add a
pre-flight check step that validates the runner Node runtime compatibility.

Comment thread docs/package.json
Regenerate lockfile so npm ci matches package.json (sass, @parcel/watcher,
chokidar, etc.). Fixes EUSAGE lockfile drift on CI.

Co-authored-by: RicciP <rplunger@users.noreply.github.com>
@CLAassistant

CLAassistant commented Apr 6, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@rplunger rplunger merged commit 4ffc456 into main Apr 6, 2026
5 checks passed
@rplunger rplunger deleted the chore/dependabot-consolidate-2026-04 branch April 6, 2026 21:04
rplunger added a commit that referenced this pull request Apr 6, 2026
Resolve overlaps with landed FileConfigAdapter (#101), core EventBus/FlowRunner (#102),
and Dependabot/docs updates (#105). Keep composition-root bootstrap and wire the
event bus receiver task from main so the mpsc channel stays open.
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.

3 participants