Skip to content

fix(ci): avoid ARC pnpm cache conflicts and bump sdk#1082

Merged
willgriffin merged 1 commit intomainfrom
codex/fix-ci-sdk-07119
Mar 27, 2026
Merged

fix(ci): avoid ARC pnpm cache conflicts and bump sdk#1082
willgriffin merged 1 commit intomainfrom
codex/fix-ci-sdk-07119

Conversation

@willgriffin
Copy link
Copy Markdown
Contributor

Summary

  • skip actions/cache for pnpm when ARC already provides a mounted PNPM_STORE_DIR
  • keep pnpm pointed at the mounted store so ARC runners still share the same location
  • bump the aligned @happyvertical/* SDK packages from 0.71.18 to 0.71.19 and refresh pnpm-lock.yaml

Why

Recent CI failures on March 26, 2026 showed ERR_PNPM_ENOENT during install after restoring the pnpm cache into the same store path already mounted on ARC runners. This change avoids restoring a tarball into that mounted store while preserving the normal cache flow for non-ARC environments.

Validation

  • bash scripts/check-sdk-versions.sh
  • pnpm install --lockfile-only
  • pnpm install --frozen-lockfile
  • pnpm run build
  • pnpm --filter @happyvertical/smrt-core test:integration

Note

  • pnpm run typecheck still reports an existing unrelated @happyvertical/smrt-profiles resolution issue in packages/users on current main.

Copilot AI review requested due to automatic review settings March 27, 2026 17:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates CI setup to avoid pnpm store corruption on ARC/self-hosted runners by skipping actions/cache when a mounted PNPM_STORE_DIR is present, while also bumping the aligned @happyvertical/* SDK dependencies from 0.71.18 to 0.71.19 (and refreshing the lockfile accordingly).

Changes:

  • Add ARC-aware pnpm store detection to the setup-environment composite action and conditionally disable actions/cache restore.
  • Bump aligned @happyvertical/* dependencies to ^0.71.19 across workspace/package definitions.
  • Refresh pnpm-lock.yaml to reflect the version bump and resulting dependency graph changes.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
.github/actions/setup-environment/action.yml Adds pnpm store strategy detection (mounted store vs local) and gates actions/cache usage to prevent ARC store conflicts.
package.json Bumps aligned @happyvertical/* dependency versions to ^0.71.19.
pnpm-workspace.yaml Updates the workspace catalog entries for aligned @happyvertical/* versions to ^0.71.19.
pnpm-lock.yaml Regenerates lockfile to incorporate the SDK bump and related dependency updates.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@willgriffin willgriffin merged commit 0fac6ee into main Mar 27, 2026
27 of 28 checks passed
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