Skip to content

feat: support for StubRuntime returning IcError#81

Merged
lpahlavi merged 6 commits intomainfrom
lpahlavi/defi-2643-error-for-stub-runtime
Feb 17, 2026
Merged

feat: support for StubRuntime returning IcError#81
lpahlavi merged 6 commits intomainfrom
lpahlavi/defi-2643-error-for-stub-runtime

Conversation

@lpahlavi
Copy link
Copy Markdown
Contributor

(DEFI-2643) Add the .add_stub_error method to StubRuntime to enable it to return IcError in the query_call and update_call methods.

@lpahlavi lpahlavi marked this pull request as ready for review February 17, 2026 10:31
@lpahlavi lpahlavi requested a review from a team as a code owner February 17, 2026 10:31
@lpahlavi lpahlavi merged commit aa6211c into main Feb 17, 2026
13 of 14 checks passed
@lpahlavi lpahlavi deleted the lpahlavi/defi-2643-error-for-stub-runtime branch February 17, 2026 12:24
@github-actions github-actions bot mentioned this pull request Feb 17, 2026
@gregorydemay gregorydemay mentioned this pull request Feb 17, 2026
lpahlavi added a commit that referenced this pull request Feb 17, 2026
## 🤖 New release

* `canhttp`: 0.5.0 -> 0.5.1 (✓ API compatible changes)
* `ic-canister-runtime`: 0.1.2 -> 0.1.3 (✓ API compatible changes)
* `ic-pocket-canister-runtime`: 0.3.0 -> 0.3.1 (✓ API compatible
changes)
* `ic-agent-canister-runtime`: 0.1.2 -> 0.1.3

<details><summary><i><b>Changelog</b></i></summary><p>

## `canhttp`

<blockquote>

## [0.5.1] - 2026-02-17

### Added

- Middleware to prevent HTTPs outcalls when stopping
([#76](#76))

[0.5.1]:
https://github.com/dfinity/canhttp/compare/canhttp-v0.5.0..canhttp-v0.5.1
</blockquote>

## `ic-canister-runtime`

<blockquote>

## `ic-canister-runtime`

<blockquote>

## [0.1.3] - 2026-02-17

### Added

- Support for `StubRuntime` returning `IcError`
([#81](#81))

### Changed

- Prevent calls when stopping
([#78](#78))
- Derive `Clone` for `StubRuntime`
([#79](#79))

[0.1.3]: https://github.com/dfinity/canhttp/compare/0.1.2..0.1.3
</blockquote>
</blockquote>

## `ic-pocket-canister-runtime`

<blockquote>

## [0.3.1] - 2026-02-17

### Added

- `AsRef<PocketIc>` implementation for `PocketIcRuntime`
([#82](#82))

[0.3.1]:
https://github.com/dfinity/canhttp/compare/ic-pocket-canister-runtime-v0.3.0..ic-pocket-canister-runtime-v0.3.1
</blockquote>

## `ic-agent-canister-runtime`

<blockquote>

## [0.1.3] - 2026-02-17

### Changed

- Update `ic-canister-runtime`
([#83](#83))

[0.1.3]:
https://github.com/dfinity/canhttp/compare/ic-agent-canister-runtime-v0.1.2..ic-agent-canister-runtime-v0.1.3
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Louis Pahlavi <louis.pahlavi@dfinity.org>
Co-authored-by: gregorydemay <112856886+gregorydemay@users.noreply.github.com>
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