hero_osis_sdk: broken import of herolib_osis::offline blocks downstream CI #6

Open
opened 2026-02-14 18:12:49 +00:00 by mik-tf · 0 comments
Owner

Problem

The generated client code in sdk/rust/src/*/osis_client_generated.rs imports herolib_osis::offline::CachingTransport and herolib_osis::offline::transport::ClientError, but the offline module no longer exists in herolib_osis.

This breaks compilation of hero_osis_sdk and blocks CI for any downstream repo that depends on it (e.g. hero_os).

Error

error[E0433]: failed to resolve: could not find `offline` in `herolib_osis`
  --> sdk/rust/src/identity/osis_client_generated.rs:16:23
   |
16 | pub use herolib_osis::offline::transport::ClientError;
   |                       ^^^^^^^ could not find `offline` in `herolib_osis`

error[E0432]: unresolved import `herolib_osis::offline`
  --> sdk/rust/src/identity/osis_client_generated.rs:15:19
   |
15 | use herolib_osis::offline::CachingTransport;
   |                   ^^^^^^^ could not find `offline` in `herolib_osis`

Affected files

34 errors across 13 generated client files in sdk/rust/src/:
identity, communication, calendar, files, projects, settings, network, finance, code, ai, flow, job, base, business, ledger, embedder, media

Impact

  • Blocks CI for hero_os (failing since run #108)
  • Likely blocks CI for any other repo depending on hero_osis_sdk from the development branch
  • Broken commit on development: 3f6cf11

Suggested fix

Either restore the offline module in herolib_osis, or regenerate the SDK client code against the current herolib_osis API.

## Problem The generated client code in `sdk/rust/src/*/osis_client_generated.rs` imports `herolib_osis::offline::CachingTransport` and `herolib_osis::offline::transport::ClientError`, but the `offline` module no longer exists in `herolib_osis`. This breaks compilation of `hero_osis_sdk` and blocks CI for any downstream repo that depends on it (e.g. `hero_os`). ## Error ``` error[E0433]: failed to resolve: could not find `offline` in `herolib_osis` --> sdk/rust/src/identity/osis_client_generated.rs:16:23 | 16 | pub use herolib_osis::offline::transport::ClientError; | ^^^^^^^ could not find `offline` in `herolib_osis` error[E0432]: unresolved import `herolib_osis::offline` --> sdk/rust/src/identity/osis_client_generated.rs:15:19 | 15 | use herolib_osis::offline::CachingTransport; | ^^^^^^^ could not find `offline` in `herolib_osis` ``` ## Affected files 34 errors across 13 generated client files in `sdk/rust/src/`: identity, communication, calendar, files, projects, settings, network, finance, code, ai, flow, job, base, business, ledger, embedder, media ## Impact - Blocks CI for `hero_os` (failing since run #108) - Likely blocks CI for any other repo depending on `hero_osis_sdk` from the `development` branch - Broken commit on development: `3f6cf11` ## Suggested fix Either restore the `offline` module in `herolib_osis`, or regenerate the SDK client code against the current `herolib_osis` API.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_osis#6
No description provided.