fix(ci): unbreak workspace build #85
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos!85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_ci_fix_knowledge_deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the two independent CI blockers called out in issue #69: the stale cross-repo patch entries in
.forgejo/deps.txtand the compile errors inarchipelagos/intelligence/knowledgecaused by the removedhero_osis_sdk::embeddermodule. Also refreshesCargo.lockso messaging resolves the current SDK without source changes.Related Issue
Closes #69
Changes
.forgejo/deps.txt— correcthero_osis_sdksubpath (crates/hero_osis_sdk) and replace the stalehero_fossil/webdav-clientline withhero_foundry_webdav_client=crates/hero_foundry_webdav_client.archipelagos/intelligence/knowledge/src/services/embedder_types.rs(new) — local stubsKnowledgeBucketandSyncResultto replace the removedhero_osis_sdk::embeddertypes.archipelagos/intelligence/knowledge/src/services/mod.rs— registerembedder_typesmodule and re-export its types.archipelagos/intelligence/knowledge/src/services/knowledge_service.rs— keep only the three methods called fromisland.rs(fetch_buckets,sync_bucket,delete_bucket) as stubs returning an "unavailable" error; drop allhero_osis_sdkimports and the unusedfetch_bucket,create_bucket,search_bucket.archipelagos/intelligence/knowledge/src/island.rs— switchKnowledgeBucketimport fromhero_osis_sdk::embeddertocrate::services.examples/os_components/src/island_content.rs— add missingwindow_idandinitial_url_segmentfields toIslandContextinitializer (pre-existing blocker surfaced while verifying workspace check).archipelagos/messaging/src/archipelago.rs—cargo fmtimport reorder (pre-existing deviation).Cargo.lockrefreshed viacargo update -p hero_osis_sdkso messaging picks upconversationservice_list_messageswithout source changes.Test Results
cargo check -p hero_archipelagos_knowledgecargo check -p hero_archipelagos_messagingcargo check --workspacecargo fmt --all -- --checkRestoring a real embedder client in
hero_osis_sdkis out of scope — follow-up ticket.- Minimal profile for Rust 1.93 excludes rustfmt and clippy, causing the CI format check and clippy step to fail with "cargo-fmt is not installed". Pass --component rustfmt --component clippy to the toolchain install. - core::context::tests::test_url_derivation_{proxy,remote} were never updated after commit73df490changed osis_url() to return the hero_router origin (no suffix) and renamed forge/agent route suffixes. Update the assertions to match the current osis_url / forge_url / agent_url outputs. #699dba597f32d498ffc5adfix(ci): unbreak workspace build and feature-branch CI patchto fix(ci): unbreak workspace buildSweep matches CI's toolchain (rustc 1.93) — clippy was promoting dozens of lints to errors. Fix them in place rather than suppress: - Collapse nested if-let / if chains into let-chains (clippy::collapsible_if). - Drop .clone() on Signal/Callback types that implement Copy. - Remove redundant mut bindings on use_signal handles that are never written. - Replace `if let Ok(_x) = ...` with .is_ok() when the binding is unused. - Use r.replace(['-', '.', ' '], "_") instead of chained single-char replaces. - Delete unreachable `_ =>` arms on exhaustive ActionType matches. - Fix unused-variable noise on wasm-gated params via _name rename or cfg_attr(not(target_arch = "wasm32"), allow(unused_variables)). - Drop the dead EventHandler<(...5-tuple)> factor in contexts::create_form in favour of a named CreateContextPayload type alias. - #[allow(dead_code)] on PropType::Boolean and registry::has_props (intentional unused API surface). - rustfmt (1.93) over the whole tree. Verified end-to-end under rustc 1.93: cargo clippy --workspace --exclude livekit_bridge --all-targets -- -D warnings -> OK cargo check --target wasm32-unknown-unknown --workspace --exclude archipelagos_server --exclude livekit_bridge -> OK cargo fmt --all -- --check -> OK cargo test -p hero_archipelagos_core --lib -> 8 passed #69e9cf5321f421c038c855