Skip to content

fix: pin ghostty-web SHA in opencode build to preserve frozen-lockfile#1458

Merged
abcxff merged 1 commit into
mainfrom
fix/opencode-ghostty-web-pin
Jun 3, 2026
Merged

fix: pin ghostty-web SHA in opencode build to preserve frozen-lockfile#1458
abcxff merged 1 commit into
mainfrom
fix/opencode-ghostty-web-pin

Conversation

@abcxff

@abcxff abcxff commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • pnpm build fails on @rivet-dev/agent-os-opencode with error: lockfile had changes, but lockfile is frozen from bun install --frozen-lockfile.
  • Root cause: upstream packages/app/package.json (in the v1.3.13 source tarball) pins "ghostty-web": "github:anomalyco/ghostty-web#main" — a moving branch ref — while the bundled bun.lock snapshots commit 4af877d. Once main advances (currently 20bd361), frozen-lockfile install can no longer satisfy resolution.
  • Fix: between tarball extraction and bun install, rewrite the ghostty-web ref in packages/app/package.json to the SHA the lockfile already records (4af877d). --frozen-lockfile is preserved, so any drift on either side still fails loudly — we're not silently absorbing whatever new HEAD main advances to (which would be a supply-chain footgun if that branch were force-pushed or compromised).

@abcxff abcxff merged commit cedb40b into main Jun 3, 2026
1 of 2 checks passed
@abcxff abcxff deleted the fix/opencode-ghostty-web-pin branch June 3, 2026 00:46
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