fix(ci): em-dash byte-string compile error + clippy-quality + cargo fmt #16
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_foundry!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_1"
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?
Eighth repo in the home#188 CI sweep.
Actual CI breaker
crates/hero_foundry_examples/examples/seed_data.rs:148, 188— twob"..."byte string literals containing em-dashes (—, U+2014). Byte strings must be ASCII; this was breakingcargo test --workspace(which compiles the example) on every push.Fixed by switching from
b"..."to"...".as_bytes(). Same&[u8]type at the consumer (builders/commit.rs:57: pub fn file(...)).Clippy-quality follow-ons
Caught during diagnosis. Not strictly required for THIS CI pipeline since the build.yaml workflow doesn't run clippy — but they're real correctness/style improvements:
webdav_client/src/lib.rs—parse_json_listingonly called from#[cfg(target_arch = "wasm32")]blocks but had no matching cfg gate. Added the gate.hero_foundry_core/src/repo/mod.rs—delete_branch_internal+delete_tag_internalpart of_internalfamily with matching public builders not yet written. Added#[allow(dead_code)]+ comment for family symmetry.hero_foundry_ui/src/main.rs— removed unusedtag+pathfields fromQueryParams(no handler reads them).cargo fmtPre-existing format drift.
Local verification
Discipline note
The em-dash fix alone makes CI green. The clippy items are bundled because they came up during diagnosis and were small. Honest because the PR description distinguishes the actual CI fix from the bonus quality work. If you want me to split, I'll resubmit as two PRs.
Tracker: home#188
CI green thanks to Salma. Closing.
Superseded by PR #15 which restructured
seed_data.rsvia the newhero_foundry_democrate, making the em-dash byte-string fix moot. Closing.Lesson logged in home#188 — always rebase against latest origin/development before pushing CI fixes.
Signed-off-by: mik-tf
Pull request closed