hero_admin_lib unresolvable as a git dep on development — parked as _old during in-flight hero_theme/asset refactor #15
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_website_framework#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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
On
development, the server-rendered admin lib (packagehero_admin_lib) can't be resolved as a git dependency:It lives in
crates/hero_admin_lib_old/and is not in the workspacemembers, so cargo (which only resolves members of a git repo) can't see it. Onmainit is a normal member atcrates/hero_admin_lib.Root cause (corrected)
This is not a stray
membersomission — it is an in-flight refactor. Per50602bd refactor: rename hero_admin_lib to _old, consolidate static assets at repo root, the crate was deliberately parked as_oldwhile theme/assets are extracted into ahero_themecrate. Dev's source already imports it (crates/hero_admin_lib_old/src/assets.rs:212→hero_theme::ThemeAssets::get(...), commented as "thehero_themecrate inhero_web_template").Simply re-adding
crates/hero_admin_lib_oldtomembersdoes not work — the workspace then fails to resolve becausehero_themeis not in[workspace.dependencies], andhero_web_template/hero_themeis not published yet:So there is no clean fix that downstream can land; this needs the framework refactor to complete.
Impact
Downstream services that use the new admin lib must pin it to
mainuntil the refactor lands:mainCargo.toml:85) →maindevelopmentbut ships no committedCargo.lock/ override, so a clean resolve hits theno matching packageerror above.Ask
Once the
hero_theme/ asset refactor is complete (publishhero_web_template/hero_theme, addhero_themeto[workspace.dependencies]), restorehero_admin_libas a workspace member atcrates/hero_admin_lib(parity withmain). A heads-up on the expected timeline would help us schedule flipping the downstreamhero_admin_libpins todevelopment.hero_admin_lib not a workspace member onto hero_admin_lib unresolvable as a git dep ondevelopment— unresolvable as a git dependencydevelopment— parked as_oldduring in-flight hero_theme/asset refactor