Office archipelago: migrate /hero_foundry/rpc/api/files/<context>/ calls to post-bfc845b foundry API #202
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_archipelagos#202
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
hero_archipelagos/.../embed/office/src/service.rs:64OfficeEndpoint::file_url()builds URLs of shape:This worked against the old (pre-bfc845b) hero_foundry, which auto-created context directories under a single global WebDAV root. The May 2
bfc845b feat(foundry)!: rename fossil to foundry, per-repo layoutrefactor removed that behavior:/api/files/{repo}/{path...}requires{repo}to be a pre-registered foundry repo — it does NOT auto-create--allow-dir/--webdav-storageserver args were also removedWhat needs to happen in the office consumer
One of:
{ctx}value (e.g.geomind) as a foundry repo at first use (via a foundry-management RPC), then call/api/files/{repo}/.../webdav/<reponame>/...route if office's use case is bulk file IO rather than typed-file opsWhere this surfaced
Internal QA sweep: 156
/hero_foundry/rpc/api/files/<context>/...404s after deploying a fresh hero_foundry build from current development. Was misdiagnosed initially as a fork divergence (filed + closed at hero_foundry/issues/25); this is the real ticket against the consumer.Repro
Filing for owner input — no patch yet. Tagging zaelgohary.