Skip to content

chore(coder): bump iii-sdk to 0.20.0 - #356

Merged
guibeira merged 1 commit into
mainfrom
chore/sdk-0.20-coder
Jun 26, 2026
Merged

chore(coder): bump iii-sdk to 0.20.0#356
guibeira merged 1 commit into
mainfrom
chore/sdk-0.20-coder

Conversation

@guibeira

@guibeira guibeira commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Bump iii-sdk 0.16.0-next.2 → 0.20.0 per https://iii.dev/docs/upgrading/from-0-19-x.md. IIIError→errors::Error, III→IIIClient, protocol/runtime submodules. Build, fmt, clippy, tests green (324 tests); 10-function surface (coder::*) intact, all schemas typed (--assert-typed-schemas exits 0; on-config-change already typed). No import aliases.

Note: PR #340 proposes merging coder into shell — if that lands, this becomes moot; until then coder is kept current with 0.20.

Summary by CodeRabbit

  • Bug Fixes
    • Updated the app to work with a newer supported SDK version, improving compatibility and reducing the risk of runtime issues.
    • Adjusted background configuration and integration flows to use the updated client interface, keeping setup and sync behavior reliable.
    • Refreshed test coverage and helpers to match the new SDK behavior.

@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
workers Ready Ready Preview, Comment Jun 26, 2026 10:27pm
workers-tech-spec Ready Ready Preview, Comment Jun 26, 2026 10:27pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e53e90d1-a2ed-4c62-9fad-0ca9ec6eda55

📥 Commits

Reviewing files that changed from the base of the PR and between af40408 and 4ab584b.

⛔ Files ignored due to path filters (1)
  • coder/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (9)
  • coder/Cargo.toml
  • coder/src/configuration.rs
  • coder/src/functions/mod.rs
  • coder/src/main.rs
  • coder/tests/common/engine.rs
  • coder/tests/common/helpers.rs
  • coder/tests/common/workers.rs
  • coder/tests/common/world.rs
  • coder/tests/integration.rs

📝 Walkthrough

Walkthrough

The PR bumps iii-sdk to 0.20.0 and updates coder runtime and tests to use IIIClient plus iii_sdk::errors::Error and protocol-scoped TriggerRequest imports. Configuration registration, function handlers, engine helpers, and integration test types are aligned to the new API.

Changes

iii-sdk 0.20.0 client migration

Layer / File(s) Summary
Configuration runtime migration
coder/Cargo.toml, coder/src/main.rs, coder/src/configuration.rs
iii-sdk is bumped to 0.20.0, and configuration registration, fetch, trigger, and retry code switches to IIIClient and iii_sdk::errors::Error.
Function registration updates
coder/src/functions/mod.rs
The function registry and each handler registration use IIIClient, and handler errors map through Error::from; the drift-guard test constructs IIIClient.
Test harness client types
coder/tests/common/*, coder/tests/integration.rs
The shared test engine, worker helpers, world state, and integration test call sites switch to IIIClient, Error, and iii_sdk::protocol::TriggerRequest imports.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • iii-hq/workers#343: Migrates iii-sdk usage from III/IIIError to IIIClient/iii_sdk::errors::Error with similar signature and import updates.
  • iii-hq/workers#349: Updates configuration and trigger wiring to the same IIIClient/Error API shape used here.
  • iii-hq/workers#352: Applies the same iii-sdk client migration pattern to worker registration and handler signatures in adjacent code.

Suggested reviewers

  • sergiofilhowz

Poem

🐇 I hopped through the code by moonbeam light,
IIIClient twinkled where III once sat bright.
A carrot of Error now guides the way,
And trigger bells jingle in protocol play.
Thump—thump—this bunny says: “Ship it today!”

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/sdk-0.20-coder

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.

@github-actions

Copy link
Copy Markdown
Contributor

skill-check — worker

0 verified, 27 skipped (no docs/).

Layer Result
structure
vale
ai
render

Four for four. Nicely done.

@guibeira
guibeira marked this pull request as ready for review June 26, 2026 23:47
@guibeira
guibeira merged commit 196edfc into main Jun 26, 2026
12 of 13 checks passed
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