fix(ci, deps): unblock workspace build + CI publish #64

Merged
sameh-farouk merged 2 commits from development_sameh into development 2026-06-03 02:04:35 +00:00
Member

Summary

Three fixes bundled — all needed for lab-publish to work end-to-end on hero_collab. Mirrors the CI work landed on hero_planner (PRs #6 + #8 there).

  1. Remove stale [patch."hero_proxy.git"] hardcoded macOS path (/Volumes/T7/...) — broke workspace resolution anywhere off macOS, including CI. The crate-level Cargo.toml already declares hero_proxy_sdk via its git URL, so removing the override resolves naturally. (Previously removed in 9c4d84a; regressed since.)

  2. Authenticate cargo git fetches via FORGE_TOKEN — same fix as hero_planner PR #6. hero_web_template was moved from lhumina_codecoopcloud_code and the old URL now 301-redirects to an auth-required location. libgit2 can't follow that with auth; the workflow now sets CARGO_NET_GIT_FETCH_WITH_CLI=true + injects an Authorization: token $FORGE_TOKEN extraHeader.

  3. Set RUST_MIN_STACK=16777216 at job scope — same fix as hero_planner PR #8. Derive-heavy hero_lib crates non-deterministically blow rustc's default 8 MB stack during Install lab and Build + upload. rustc's own error message recommends 16 MB.

Verification

  • cargo check --workspace passes locally (5m 11s; only unused-mut warnings in hero_collab_app, no errors).
  • Cargo.lock pins hero_proxy_sdk by SHA 68c1f70c from the real git URL.
  • Cannot reliably dispatch CI right now — runner queue is congested (hero_planner runs were waiting 1+ hour earlier today). Next legitimate dev push exercises the workflow.

Cross-repo blast radius

Both CI changes are CLASS-OF fixes likely needed on every other Phase 1/2 hero_* repo with a lab-publish.yaml. Worth pushing into the canonical template in hero_skills once verified across a few repos.

## Summary Three fixes bundled — all needed for `lab-publish` to work end-to-end on hero_collab. Mirrors the CI work landed on `hero_planner` (PRs #6 + #8 there). 1. **Remove stale `[patch."hero_proxy.git"]` hardcoded macOS path** (`/Volumes/T7/...`) — broke workspace resolution anywhere off macOS, including CI. The crate-level Cargo.toml already declares `hero_proxy_sdk` via its git URL, so removing the override resolves naturally. (Previously removed in `9c4d84a`; regressed since.) 2. **Authenticate cargo git fetches via FORGE_TOKEN** — same fix as hero_planner PR #6. `hero_web_template` was moved from `lhumina_code` → `coopcloud_code` and the old URL now 301-redirects to an auth-required location. libgit2 can't follow that with auth; the workflow now sets `CARGO_NET_GIT_FETCH_WITH_CLI=true` + injects an `Authorization: token $FORGE_TOKEN` extraHeader. 3. **Set `RUST_MIN_STACK=16777216` at job scope** — same fix as hero_planner PR #8. Derive-heavy hero_lib crates non-deterministically blow rustc's default 8 MB stack during `Install lab` and `Build + upload`. rustc's own error message recommends 16 MB. ## Verification - `cargo check --workspace` passes locally (5m 11s; only unused-mut warnings in `hero_collab_app`, no errors). - Cargo.lock pins `hero_proxy_sdk` by SHA `68c1f70c` from the real git URL. - Cannot reliably dispatch CI right now — runner queue is congested (hero_planner runs were waiting 1+ hour earlier today). Next legitimate dev push exercises the workflow. ## Cross-repo blast radius Both CI changes are CLASS-OF fixes likely needed on every other Phase 1/2 hero_* repo with a `lab-publish.yaml`. Worth pushing into the canonical template in `hero_skills` once verified across a few repos.
Three fixes bundled — all needed for `lab-publish` to work end-to-end:

1. Remove stale `[patch."hero_proxy.git"]` hardcoded macOS path
   (`/Volumes/T7/...`) — broke the workspace on any non-macOS box,
   including CI. The crate-level Cargo.toml already declares
   `hero_proxy_sdk` via its git URL, so removing the override
   resolves naturally. (Patch was previously removed in 9c4d84a;
   regressed since.)

2. Authenticate cargo git fetches via FORGE_TOKEN — same fix as
   hero_planner PR #6. `hero_web_template` was moved from
   `lhumina_code` to `coopcloud_code` and the old URL now
   301-redirects to an auth-required location. libgit2 can't
   follow that; `CARGO_NET_GIT_FETCH_WITH_CLI=true` +
   `git config http.extraHeader Authorization: token $FORGE_TOKEN`
   does.

3. Set `RUST_MIN_STACK=16777216` at job scope — same fix as
   hero_planner PR #8. Derive-heavy hero_lib crates blow rustc's
   default 8 MB stack non-deterministically during `Install lab`
   and `Build + upload`.

Verified locally: cargo check --workspace passes (5m 11s, only
unused-mut warnings in hero_collab_app, no errors).
sameh-farouk merged commit 4b15488b77 into development 2026-06-03 02:04:35 +00:00
sameh-farouk deleted branch development_sameh 2026-06-03 02:04:36 +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_collab!64
No description provided.