Skip to content

chore(harness): bump iii-sdk to 0.20.0 - #338

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

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

Conversation

@guibeira

@guibeira guibeira commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Bump iii-sdk to 0.20.0 + migrate observability to iii-helpers (iii-observability removed) per https://iii.dev/docs/upgrading/from-0-19-x.md. Build, fmt, clippy, tests green (95 tests); surface parity (9 functions + 7 triggers) verified 1:1. No import aliases.

Summary by CodeRabbit

  • Chores
    • Updated the harness to align with newer SDK and helper versions.
    • Refreshed client wiring across core flows to improve compatibility with the latest runtime APIs.
    • Adjusted observability and error handling integrations for more consistent behavior.
    • No user-facing features were added, but these updates help keep the system stable and ready for newer platform components.

@vercel

vercel Bot commented Jun 25, 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 1:21pm
workers-tech-spec Ready Ready Preview, Comment Jun 26, 2026 1:21pm

Request Review

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

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@guibeira, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 48 minutes and 20 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 92b4cb3a-6cad-414a-90c6-d70f112a7311

📥 Commits

Reviewing files that changed from the base of the PR and between ec53d14 and 90a357e.

⛔ Files ignored due to path filters (1)
  • harness/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (17)
  • harness/Cargo.toml
  • harness/src/clients/context.rs
  • harness/src/clients/engine.rs
  • harness/src/clients/router.rs
  • harness/src/clients/session.rs
  • harness/src/configuration.rs
  • harness/src/deps.rs
  • harness/src/discovery.rs
  • harness/src/error.rs
  • harness/src/events.rs
  • harness/src/functions/mod.rs
  • harness/src/functions/turn.rs
  • harness/src/hooks/mod.rs
  • harness/src/hooks/runner.rs
  • harness/src/main.rs
  • harness/src/state.rs
  • harness/src/turn_loop.rs
📝 Walkthrough

Walkthrough

Updates the harness to iii-sdk 0.20.0, replaces III/IIIError usage with IIIClient/iii_sdk::errors::Error, moves TriggerRequest imports to iii_sdk::protocol, swaps observability calls to iii_helpers::observability, and bumps related package and worker dependency pins.

Changes

Harness SDK 0.20 migration

Layer / File(s) Summary
Dependency and package bumps
harness/Cargo.toml, harness/iii.worker.yaml
harness version and iii-* dependency pins move to the newer release set, including iii-sdk, iii-helpers, and the worker crate constraints.
Shared client surface
harness/src/deps.rs, harness/src/error.rs, harness/src/main.rs, harness/src/clients/context.rs, harness/src/clients/engine.rs, harness/src/clients/session.rs, harness/src/turn_loop.rs
Shared client containers, error conversion, and the base harness clients switch to IIIClient and protocol-scoped TriggerRequest imports.
Config, discovery, and state
harness/src/configuration.rs, harness/src/discovery.rs, harness/src/state.rs
Configuration, discovery, and state accessors switch to IIIClient; config and discovery trigger handlers also use Error.
Trigger wiring and observability
harness/src/clients/router.rs, harness/src/events.rs, harness/src/functions/*.rs, harness/src/hooks/*.rs
Router chat, event subscriptions, hook registration, function handlers, and baggage propagation use IIIClient, Error, and iii_helpers::observability paths.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • iii-hq/workers#328: Migrates related worker code from III/IIIError to IIIClient/iii_sdk::errors::Error.
  • iii-hq/workers#334: Updates the same harness-side iii-sdk 0.20.0 and iii_helpers::observability import surface.
  • iii-hq/workers#343: Applies the same IIIClient and TriggerRequest path migration in adjacent worker code.

Suggested reviewers

  • andersonleal
  • sergiofilhowz

Poem

A bunny hopped through bindings bright,
With helpers twinkling left and right.
TriggerRequest glints from a protocol twig,
IIIClient thumps in a tidy new jig.
(>_<) 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise, specific, and accurately reflects the main upgrade in this changeset.
Docstring Coverage ✅ Passed Docstring coverage is 97.78% which is sufficient. The required threshold is 80.00%.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/sdk-0.20-harness

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.

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