hero_foundry source has diverged from deployed binary (--allow-dir / WebDAV files API missing) #25
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#25
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
The
hero_foundry_serverbinary running on herodev is incompatible with the source atlhumina_code/hero_foundryon the development branch. They appear to be two different forks/versions:developmentsource build (May 3)--allow-dir,--webdav-storage,--read-write,--bind,--default-repo,--repo--path,--sync-listenonly/api/files/<context>/routestate.rs:284in cached crate,hero_foundry-41aeeb1ffd98771c/e786a43)How this surfaced
A QA sweep against the deployed instance reported 4 × 404s on:
GET /hero_foundry/rpc/api/files/geomind/GET /hero_foundry/ui/static/js/connection-status.jsGET /hero_foundry/ui/hero-bootstrap-bridge.cssWhen I rebuilt
lhumina_code/hero_foundryto pick up auto-create logic an investigation agent had identified (in a different cached source), the new binary lost the entire WebDAV/api/filessurface and rejected the existing service-action's--allow-dir/--webdav-storagearguments. The previously-working binary on rawan's account (Apr 29) is still serving the old API.What this means
lhumina_code/hero_foundryfromdevelopmentwill lose the WebDAV files APIhero_archipelagos/.../office/src/service.rs:64'sOfficeEndpoint::file_url()) hard-code/hero_foundry/rpc/api/files/{ctx}/{name}— they'll start 404'ing as soon as the new binary is deployedWhat's needed
A decision: which version is the production target? Then either:
lhumina_code/hero_foundry's development branch, orFiling as a discovery, not a fix request — needs ownership input.
Update: clarified after reading
bfc845bFound the divergence point: commit
bfc845b feat(foundry)!: rename fossil to foundry, per-repo layout, multi-repo + dashboard UI(May 2, despiegk) is the breaking refactor. It's not a fork divergence at all — it's an intentional, semver-major rewrite:development)--allow-dir,--read-write,--webdav-storage,--repo,--bind,--default-repo,--max-cache,--fossil-dir--foundry-dir(server always RW)<base>/<reponame>/{db.foundry, webdav/, repo.toml}/api/files/*API/webdav/...(single root)/webdav/<reponame>/...(per-repo)HERO_FOUNDRY_REPOSHERO_FOUNDRY_DIRSo the 404 on
/hero_foundry/rpc/api/files/geomind/was the consumer (hero_archipelagos/.../office/src/service.rs:64OfficeEndpoint::file_url()) calling the old "context" API surface against the new per-repo server:geomindis a context name, not a registered repo, so the new server correctly 404s.What this means
hero_archipelagos/embed/office/src/service.rs:64should either (a) ensuregeomindis registered as a foundry repo before calling, or (b) switch to whatever the new model intends for ad-hoc file storage. The Office archipelago workflow needs a design call.bfc845b. Rebuilding from currentdevelopmentwill lose those args — that's by design, not a bug.Reframing this issue from "fork divergence" to "hero_archipelagos office consumer needs migration to post-bfc845b foundry API". Closing this and the relevant follow-up should be opened against
hero_archipelagos.