Skip to content

fix(release): remove stale agent-think preview pins#1970

Merged
mattzcarey merged 1 commit into
mainfrom
fix/release-exotic-subdependencies
Jul 22, 2026
Merged

fix(release): remove stale agent-think preview pins#1970
mattzcarey merged 1 commit into
mainfrom
fix/release-exotic-subdependencies

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • switch the private agent-think app's same-repository agents, @cloudflare/ai-chat, and @cloudflare/think dependencies from the old observability preview to workspace:*
  • regenerate the lockfile, removing the preview package family's transitive pkg.pr.new entries
  • update agent-think/AGENTS.md to describe the workspace dependency model

Why

The release workflow fails when .github/changeset-version.ts regenerates the lockfile. The pinned @cloudflare/think preview tarball contains transitive URL dependencies on preview builds such as @cloudflare/shell; pnpm 11's blockExoticSubdeps protection rejects those with ERR_PNPM_EXOTIC_SUBDEP.

The observability implementation from the pinned preview has since merged into the monorepo, so the preview pins are no longer needed. Resolving these packages from the workspace removes the exotic transitive dependency graph and continues to work when Changesets bumps package versions.

Failed release: https://github.com/cloudflare/agents/actions/runs/29930875361/job/88960249979

Verification

  • CI=true pnpm install --frozen-lockfile
  • pnpm --filter @cloudflare/agent-think test (39 tests)
  • pnpm run build (25 projects)
  • pnpm run check (all 117 TypeScript projects)
  • ran the exact .github/changeset-version.ts release command in a disposable clone; lockfile regeneration passed after producing agents@0.18.0, @cloudflare/ai-chat@0.9.4, @cloudflare/think@0.14.0, and @cloudflare/shell@0.4.2

No changeset: this fixes private app dependency wiring and the release process; it does not change a published package API.


Open in Devin Review

@changeset-bot

changeset-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: acb22f8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mattzcarey
mattzcarey merged commit fb37626 into main Jul 22, 2026
3 of 4 checks passed
@mattzcarey
mattzcarey deleted the fix/release-exotic-subdependencies branch July 22, 2026 15:52

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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