fix(core_rhai): align redis dep with herolib_core 0.6.0 (0.31 → 1) #23

Merged
mik-tf merged 1 commit from development_mik_redis1_align into development 2026-05-09 04:38:32 +00:00
Owner

Upstream herolib_core (hero_lib 99aa2bb8, May 8) bumped redis 0.31 → 1.x. core_rhai held at 0.31, producing two redis versions in the dep graph + 21 type-mismatch errors at the herolib_core::redis_client_mod::execute boundary. Side fix: redis::Value is #[non_exhaustive] in 1.x — added _ => UNIT arm. Verified: hero_builder 5/5 binaries built (hero_do, hero_runner_rhai, hero_runner_rhai_server, hero_runner_rhai_admin, gpu_agent). Resolves s81 Class D: lhumina_code/home#230 (comment).

Upstream herolib_core (hero_lib 99aa2bb8, May 8) bumped redis 0.31 → 1.x. core_rhai held at 0.31, producing two redis versions in the dep graph + 21 type-mismatch errors at the herolib_core::redis_client_mod::execute boundary. Side fix: redis::Value is #[non_exhaustive] in 1.x — added _ => UNIT arm. Verified: hero_builder 5/5 binaries built (hero_do, hero_runner_rhai, hero_runner_rhai_server, hero_runner_rhai_admin, gpu_agent). Resolves s81 Class D: https://forge.ourworld.tf/lhumina_code/home/issues/230#issuecomment-31194.
fix(core_rhai): align redis dep with herolib_core 0.6.0 (0.31 → 1)
Some checks failed
Lint / lint-linux (pull_request) Failing after 4s
Tests / test-linux (pull_request) Failing after 23s
70490aa50f
upstream herolib_core (hero_lib commit 99aa2bb8) bumped redis 0.31 → 1.x
as part of the canonical-version pass. core_rhai's local pin held it at
0.31, producing two redis crate versions in the dep graph and 21
type-mismatch errors at the herolib_core::redis_client_mod::execute
boundary. Match herolib_core's pin.

Side fix: redis::Value is #[non_exhaustive] in 1.x. Add a `_ => UNIT`
wildcard arm to redis_value_to_dynamic so the match compiles. The 14
explicit arms cover every variant 1.2.1 currently exposes.

Verified via hero_builder --release --install: 5/5 binaries built (hero_do,
hero_runner_rhai, hero_runner_rhai_server, hero_runner_rhai_admin, gpu_agent).

Resolves the s81 Class D carry-over: lhumina_code/home#230 (comment)

Signed-off-by: mik-tf
mik-tf merged commit 305ffe2a08 into development 2026-05-09 04:38:32 +00:00
mik-tf deleted branch development_mik_redis1_align 2026-05-09 04:38:33 +00:00
Sign in to join this conversation.
No reviewers
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_lib_rhai!23
No description provided.