Commit graph Ratatoskr/.github/workflows/rat-dev-preview.yml
Author SHA1 Message Date
Void
8f8536a805 CI: cancel superseded runs with workflow concurrency groups
Some checks failed
Build pull request / Build pull request (pull_request) Successful in 4m41s
Docker check / docker-build (pull_request) Failing after 10s
The forge runner takes one job at a time, so every superseded push or PR sync piled up
behind the one before it and the dev preview run waited behind runs for merged heads.
Pull-request workflows get a group per workflow and PR number; the dev preview gets its
own group, so a newer dev push cancels an older one and PR runs never cancel it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 22:50:10 +00:00
Void
7a896c5f93 preview: pretend homeserver for the dev preview, in-page and off by default
src/preview-demo answers a demo.invalid homeserver from fixtures through a guarded fetch;
own-origin requests pass, every other origin is refused (fetch, WebSocket, XHR, beacon).
Built in only with VITE_PREVIEW_DEMO=1 and switched on by previewDemo in config.json
(scripts/preview-config.js --demo, run by the dev workflow). Login prefills 'demo'.
Pose art: 24 downscaled thumbnails in preview-demo/poses, copied into dist by the workflow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 18:49:59 +00:00
Void
0f3494217e ci: upload the dev preview with the v3 artifact protocol
All checks were successful
Rat dev preview / Build dev preview (push) Successful in 3m15s
The v4 client drops the /forge subpath of ACTIONS_RESULTS_URL; v3 uses ACTIONS_RUNTIME_URL.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 18:40:17 +00:00
Void
70ade6ef0e ci: print artifact service URLs (debug, no tokens)
Some checks failed
Rat dev preview / Build dev preview (push) Failing after 3m1s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 18:36:52 +00:00
Void
27d5bbaec5 ci: point the artifact uploader at the forge subpath
Some checks failed
Rat dev preview / Build dev preview (push) Failing after 3m4s
Run 170: CreateArtifact got an nginx 404 page; /twirp 404s at the host root and answers
(401 without a token) at /forge/twirp. Try the results URL with the subpath.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 18:33:35 +00:00
Void
2b3384ff5c ci: upload the dev preview artifact with forgejo/upload-artifact
Some checks failed
Rat dev preview / Build dev preview (push) Failing after 3m0s
actions/upload-artifact v4+ throws GHESNotSupportedError on this forge (run 169);
Forgejo's fork is the supported uploader.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 18:29:53 +00:00
Void
2b576f6a66 ci: build the dev branch into an rat-dev-dist artifact
Some checks failed
Build pull request / Build pull request (pull_request) Failing after 3m9s
Push to dev builds with base /void/rat-dev/, tier low, heap 3072 MB, and uploads dist.
No secrets. Consumed by gamecult-ops install-rat-dev-preview.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 18:12:04 +00:00