Skip to content

fix(ci): re-add @agent-relay/cloud to publish-packages matrix#791

Merged
willwashburn merged 1 commit intomainfrom
fix/republish-agent-relay-cloud
Apr 25, 2026
Merged

fix(ci): re-add @agent-relay/cloud to publish-packages matrix#791
willwashburn merged 1 commit intomainfrom
fix/republish-agent-relay-cloud

Conversation

@willwashburn
Copy link
Copy Markdown
Member

@willwashburn willwashburn commented Apr 25, 2026

Summary

agent-relay@6.0.1 shipped broken because installing it failed with:

npm error notarget No matching version found for @agent-relay/cloud@6.0.1

@agent-relay/cloud is a workspace in this repo (`packages/cloud/`) that was historically published to npm at the lockstep version. Commit `c8c8dad5` ("additional clean", Jan 27 2026) silently dropped `- cloud` from the `publish-packages` matrix in `.github/workflows/publish.yml`. The workspace kept getting version-bumped to stay in lockstep with every release but was never republished, so the registry's latest `@agent-relay/cloud` froze at `2.0.23` while the workspace climbed to `6.0.1`.

Under the previous bundled-everything architecture this was invisible — the workspace cloud got bundled into the agent-relay tarball at pack time, and users' `npm install` got it from the bundle without ever consulting the registry. After #788 unbundled `@agent-relay/*`, the CLI's regular dep on `@agent-relay/cloud@` began going to the registry like every other internal dep, where the lockstep version didn't exist.

Fix

One line: re-add `- cloud` to the publish-packages matrix.

   matrix:
     package:
       - policy
       - memory
       - utils
       - trajectory
       - hooks
       - user-directory
       - config
+      - cloud
       - sdk
       - telemetry
       ...

Why this is the right fix (not bundling)

The npm registry's `@agent-relay/cloud@2.0.23` declares its `repository` as this repo, `packages/cloud`. It's the same code base, just stale. There's no namespace collision and no other repo owns this name — the only thing that broke was the publish step.

#790 tried to fix this by adding `@agent-relay/cloud` back to `bundledDependencies`. That works around the symptom but freezes the bundling architecture for one workspace, costs ~2.5 MB of tarball size (cloud's @aws-sdk/client-s3 transitive deps), and reintroduces a special case we just spent #788 eliminating. Closing #790 in favor of this.

Test plan

  • Re-dispatch `Publish Package` after merge with version 6.0.2.
  • Confirm `Publish cloud` job appears in the run and succeeds.
  • Confirm `@agent-relay/cloud@6.0.2` shows up on the registry alongside the other `@agent-relay/*@6.0.2` packages.
  • Confirm `npm install agent-relay@6.0.2` succeeds on a fresh machine and the broker spawns.

🤖 Generated with Claude Code


Open in Devin Review

@agent-relay/cloud is a workspace in this repo that was historically
published to npm at the lockstep version, until commit c8c8dad
("additional clean", Jan 27 2026) silently dropped it from the
publish-packages matrix. The workspace kept getting version-bumped to
stay in lockstep but was never republished, so the registry's latest
\`@agent-relay/cloud\` froze at 2.0.23 while the workspace climbed to
6.0.1.

Under the previous bundled architecture this was invisible — the
workspace cloud got bundled into the agent-relay tarball, never
fetched from the registry. After #788 unbundled @agent-relay/*, the
CLI's regular dep on @agent-relay/cloud@<lockstep> began failing
with ETARGET because that version didn't exist on npm.

The npm registry's @agent-relay/cloud@2.0.23 lists its repository as
this repo, packages/cloud — confirming it's the same codebase, just
stale. There is no namespace collision; the only fix needed is to
restart publishing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@barryollama barryollama left a comment

Choose a reason for hiding this comment

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

LGTM

One-line fix restoring @agent-relay/cloud to the publish matrix. The CI-only change correctly addresses the root cause — the package stopped publishing at 2.0.23 while the workspace continued versioning to 6.0.1.

Approving the targeted fix over #790's approach of re-bundling, which would perpetuate tech debt and add 2.5MB to the tarball.

Good catch on the silent regression from c8c8dad.

Copy link
Copy Markdown
Contributor

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

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

@willwashburn willwashburn merged commit d896adb into main Apr 25, 2026
36 checks passed
@willwashburn willwashburn deleted the fix/republish-agent-relay-cloud branch April 25, 2026 02:39
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