Skip to content

fix(penpal): fix CI release pipeline dry-run failures - #335

Merged
loganj merged 3 commits into
mainfrom
fix/add-hermit-go
Mar 3, 2026
Merged

fix(penpal): fix CI release pipeline dry-run failures#335
loganj merged 3 commits into
mainfrom
fix/add-hermit-go

Conversation

@loganj

@loganj loganj commented Mar 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Dry-run of the penpal-release.yml workflow (#322) revealed four build failures, plus one runtime bug. This PR fixes all of them:

  1. Add Go to Hermit — the workflow assumed go was available via activate-hermit, but Go was never added as a Hermit package. Both matrix jobs failed at "Build Go sidecar" with go: command not found.

  2. Use @tailwindcss/postcss — Tailwind CSS v4 moved the PostCSS plugin to a separate package. Updated postcss.config.js and removed the now-unnecessary autoprefixer dependency.

  3. Strip internal Artifactory URLs from lockfilepnpm add baked global.block-artifacts.com tarball URLs into pnpm-lock.yaml (from ~/.npmrc), which are unreachable from GitHub Actions macOS runners. Stripped the tarball URLs — pnpm only needs integrity hashes.

  4. Pass --target to Tauri CLI, not cargopnpm run tauri:build -- --target <triple> forwarded --target to cargo via --, so Tauri didn't know the target triple and looked for the bundle in the wrong output directory. Changed to pnpm tauri build --target <triple>.

  5. Null-safe file lists in review groups — server and UI code could crash when a review group had no files; added null guards throughout.

Test plan

  • Dry-run: pnpm install --frozen-lockfile passes on macOS runners
  • Dry-run: Go sidecar builds pass on both arm64 and x86_64
  • Dry-run: Frontend build passes
  • Dry-run: Tauri app bundles successfully on both architectures
  • Dry-run: package.sh produces zip artifacts
  • Dry-run: Release job correctly skipped (gated behind push event)

🤖 Generated with Claude Code

@loganj loganj changed the title fix(penpal): add Go to Hermit for CI release pipeline fix(penpal): fix CI release pipeline (Go + Tailwind) Mar 3, 2026
@loganj loganj changed the title fix(penpal): fix CI release pipeline (Go + Tailwind) fix(penpal): fix CI release pipeline dry-run failures Mar 3, 2026
@loganj loganj added the ai-outer-loop Managed by outer-loop label Mar 3, 2026
loganj and others added 3 commits March 2, 2026 20:59
The penpal-release.yml workflow relies on `go` being available via
Hermit's activate step, but Go was never added as a Hermit package.
This caused both matrix jobs to fail at the "Build Go sidecar" step
with `go: command not found` (exit code 127).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tailwind CSS v4 moved the PostCSS plugin to a separate package. Update
postcss.config.js to use @tailwindcss/postcss and remove autoprefixer
(now handled internally by Tailwind v4).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
`pnpm run tauri:build -- --target <triple>` passes --target through to
cargo via the `--` separator, so Tauri doesn't know the target triple.
This causes the bundler to look in target/release/ instead of
target/<triple>/release/, failing with "No such file or directory".

Use `pnpm tauri build --target <triple>` instead so Tauri receives
the flag directly and bundles from the correct output path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@loganj
loganj force-pushed the fix/add-hermit-go branch from 5e1721a to 24bd328 Compare March 3, 2026 02:01
@loganj
loganj merged commit 5c534cd into main Mar 3, 2026
9 checks passed
@loganj
loganj deleted the fix/add-hermit-go branch March 3, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-outer-loop Managed by outer-loop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant