fix(clients): add missing redis dep behind opencode feature #135
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_lib!135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_clients_redis_dep"
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?
crates/clients/src/opencode_api/client/models.rsimportsuse redis::Commands;plusredis::Client::open(...)/redis::RedisResultat four call sites, butrediswas never declared as a dep ofherolib_clients. Bothopencode_demoandopencode_tester(gated--features opencode) fail to compile under thehero_buildersource-build sweep.Add
redis = { version = "1", optional = true }matching the canonical workspace version (herolib_core, herolib_os, herolib_vault all use redis 1.x), and pull it in via the existingopencodefeature so non-opencode consumers stay free of the dep.Verified GREEN via
~/hero/bin/hero_builder --release --policy-mode warn: 4/4 targets built, including the two previously-red opencode binaries.Tracked under lhumina_code/home#230 (P0 source-build sweep).
Signed-off-by: mik-tf
`crates/clients/src/opencode_api/client/models.rs` imports `use redis::Commands;` and calls `redis::Client::open(...)`, `redis::RedisResult` at four call sites, but `redis` was never declared as a dependency of `herolib_clients`. Both `opencode_demo` and `opencode_tester` (gated `--features opencode`) fail to compile under hero_builder source-build sweep. Add `redis = { version = "1", optional = true }` matching the canonical workspace version (herolib_core, herolib_os, herolib_vault all use redis 1.x), and pull it in via the existing `opencode` feature so non-opencode consumers stay free of the dep. Tracked under lhumina_code/home#230 (P0 source-build sweep). Signed-off-by: mik-tf