Skip to content

chore: bump relaycast to latest (broker crate 4.1.1 + CLI SDK 4.1.6)#1180

Merged
willwashburn merged 3 commits into
mainfrom
chore/bump-relaycast-broker-4
Jun 21, 2026
Merged

chore: bump relaycast to latest (broker crate 4.1.1 + CLI SDK 4.1.6)#1180
willwashburn merged 3 commits into
mainfrom
chore/bump-relaycast-broker-4

Conversation

@willwashburn

@willwashburn willwashburn commented Jun 21, 2026

Copy link
Copy Markdown
Member

Aligns the relaycast dependency to the latest across the broker and the CLI/SDK.

Rust broker crate: relaycast =3.0.0=4.1.1

Matches the @relaycast/sdk 4.x line. relaycast 4.x adopts the new durable-delivery model and changes its underlying delivery-store DB schema (internal to the crate — no in-repo schema/migrations).

  • No broker code changes needed; the 3→4 API surface the broker consumes is unchanged.
  • cargo build / cargo clippy clean; cargo test -p agent-relay-broker --lib → 775 passed, 0 failed.

JS SDK: @relaycast/sdk ^4.1.2^4.1.6 (latest patch)

Bumped in agent-relay (CLI) and @agent-relay/sdk so the CLI resolves a single current 4.1.6 across its direct and workspace-transitive paths.

  • build:sdk / build:cli clean, CLI tsc --noEmit clean.
  • SDK suite 110 passed, CLI suite 374 passed.

Note (runtime): because relaycast 4.x changes its delivery-store schema, existing local broker state written by 3.x may not be forward-compatible. No in-repo migration was added — flagging for a clear-state/migration decision if needed.

Align the Rust broker's bundled `relaycast` crate with the `@relaycast/sdk`
4.x line already used by the CLI/SDK. relaycast 4.x changes its durable-delivery
database schema. No broker code changes were required — the 3->4 API surface the
broker consumes is unchanged; build, clippy, and the broker test suite pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@willwashburn willwashburn requested a review from khaliqgant as a code owner June 21, 2026 05:11
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5ae89f00-e469-4a7c-b42f-d3ed3982b20a

📥 Commits

Reviewing files that changed from the base of the PR and between fac4341 and b56cd41.

📒 Files selected for processing (1)
  • CHANGELOG.md
✅ Files skipped from review due to trivial changes (1)
  • CHANGELOG.md

📝 Walkthrough

Walkthrough

Relaycast crate and SDK dependencies are upgraded across the project. The broker's relaycast Cargo.toml pin is bumped from =3.0.0 to =4.1.1. JavaScript packages (packages/cli and packages/sdk) have @relaycast/sdk updated from ^4.1.2 to ^4.1.6. Changelog entries document both the broker's upgrade and its local delivery store schema change, and the SDK version alignment.

Changes

relaycast ecosystem version alignment across broker and SDK

Layer / File(s) Summary
Broker relaycast pin upgrade and changelog
crates/broker/Cargo.toml, CHANGELOG.md
relaycast exact version pin updated from =3.0.0 to =4.1.1; changelog documents the 3.0→4.1 upgrade and associated local delivery store schema change, plus the agent-relay/@agent-relay/sdk @relaycast/sdk update to 4.1.6.
JavaScript SDK package version updates
packages/cli/package.json, packages/sdk/package.json
@relaycast/sdk dependency updated from ^4.1.2 to ^4.1.6 in both the CLI and SDK packages, aligning with the durable-delivery model.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • AgentWorkforce/relay#1069: Both PRs touch the relaycast SDK integration by bumping the relaycast/@relaycast/sdk dependency versions in crates/broker/Cargo.toml and related JS package files.
  • AgentWorkforce/relay#1133: Both PRs update the relaycast/@relaycast/sdk dependency in the agent-relay SDK/CLI, with overlapping changes in packages/sdk/package.json and packages/cli/package.json.
  • AgentWorkforce/relay#1174: Both PRs update the same Relaycast dependency path—@relaycast/sdk versioning in the agent-relay/@agent-relay/sdk npm packages and related changelog entries.

Suggested reviewers

  • khaliqgant

Poem

🐇 The relaycast rivers flow and rise,
From version three to four point one (surprise!),
JavaScript packages leap in line,
Schema shifts and all things align,
This bunny cheers the unified climb! 🌿

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: bumping relaycast to the latest version across broker and SDK components.
Description check ✅ Passed The description is thorough and well-structured, covering what changed, why, testing results, and runtime considerations, though it deviates from the repository template structure.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-relaycast-broker-4

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CHANGELOG.md`:
- Line 36: The changelog entry for agent-relay-broker at line 36 includes
internal implementation details about "aligning the broker with the
`@relaycast/sdk` 4.x durable-delivery model" that should be removed per coding
guidelines. Simplify the entry by removing the internal reasoning phrase and
keeping only the essential information about the version upgrade (relaycast from
3.0 to 4.1) and its impact (schema change to the relaycast-backed local delivery
store), making the entry concise and impact-first as per the guidelines.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6c6593c4-9a2a-4912-80e8-b046034ad6ef

📥 Commits

Reviewing files that changed from the base of the PR and between b68f93a and a5f13ff.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • CHANGELOG.md
  • crates/broker/Cargo.toml

Comment thread CHANGELOG.md Outdated
Bump the `@relaycast/sdk` dependency to the latest 4.1.x patch (4.1.2 -> 4.1.6)
in `agent-relay` and `@agent-relay/sdk` so the CLI resolves a single, current
4.1.6 across its direct and workspace-transitive paths. Build, typecheck, and
the SDK (110) + CLI (374) test suites pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@willwashburn willwashburn changed the title chore(broker): upgrade relaycast crate 3.0.0 → 4.1.1 chore: bump relaycast to latest (broker crate 4.1.1 + CLI SDK 4.1.6) Jun 21, 2026
Drop the 'aligning the broker with the @relaycast/sdk 4.x durable-delivery
model' reasoning per the impact-first changelog guideline; keep the version
upgrade (3.0 -> 4.1) and its impact (delivery-store schema change).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@willwashburn willwashburn merged commit 3764eff into main Jun 21, 2026
43 checks passed
@willwashburn willwashburn deleted the chore/bump-relaycast-broker-4 branch June 21, 2026 12:44
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