coa: the app update feed (/dl/<slug>/current) is never cached; status.json answers cross-origin #23
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/matou-distributed-servers!23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "coa-update-feed"
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?
The Caddy template for coa now marks
/dl/<slug>/current/*asCache-Control: no-cacheand keeps the year-longimmutableheader only for versionedv<build>/paths./c/<slug>/status.jsonnow sendsAccess-Control-Allow-Origin: *andno-cache. Thecurrentsymlink moves to each new build, so the electron-updater feed must never be cached; the Coa app's update notice readsstatus.jsoncross-origin.To test:
bash roles/coa/tests/coa-caddy-test.sh(needs docker). It renders the template, serves a fixture tree withcaddy:2and checks six header/status assertions.Deploy with the mds playbook
-t coaonmatou, together with the coa server change onsession/app-updates-spec(Matou/coa). Spec: Matou/coadocs/superpowers/specs/2026-09-30-coa-app-updates-design.md, builds coa #140.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.