sokko-g/services/cards
Shinuwa 067a4a8fd6
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 19m40s
Validate and deploy Sokko G / deploy (push) Has been skipped
Fix the audit's concurrency, stale state and delivery findings
Share uploads now reserve their slot, bytes and per-IP count before the
disk check, so simultaneous uploads can no longer exceed the limits.
Writes to a share's metadata run one after another, and a revocation can
no longer be undone by a pending read count.

The TCG page ignores a state reload that started before or during a
mutation, the last mutation wins, and returning to the page triggers a
single reload. The card cache confirms writes only once the IndexedDB
transaction completes and shows only the current player's copy. The
administration panel loads on demand, which shrinks the TCG chunk from
311.6 to 191.8 kB.

A new /api/health route answers 503 when the cards or shares API failed
to start. The deploy script ships the commit's production dependencies
with the build, waits up to 30 s for a healthy server instead of trusting
systemctl is-active, and restores node_modules on rollback. Both Forgejo
workflows check the route on the public site. The updated script applies
once reinstalled on the server.

Unused helpers, the ignored join role and duplicate button selectors are
removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:38:20 +01:00
..
content Give six destinations a second affinity theme distinct from their condition 2026-11-18 23:33:21 +01:00
admin-seed.js Add the Sokko TCG collectible card mini-game 2026-11-05 17:47:35 +01:00
api.js Let players who join a group set up their card and say when they are ready 2026-11-19 19:24:23 +01:00
backup.js Make Cards database restores reliable and schedule backups 2026-11-05 17:54:17 +01:00
catalog.js Give explicit trades their own profiles, fix equipment that contradicts its text, and make destinations ask for complementary cards 2026-11-18 22:52:15 +01:00
daily-image.js Give each player their own daily card and send only the visible crop of its illustration 2026-11-18 16:47:52 +01:00
daily.js Give each player their own daily card and send only the visible crop of its illustration 2026-11-18 16:47:52 +01:00
database.js Let players who join a group set up their card and say when they are ready 2026-11-19 19:24:23 +01:00
discord-alerts.js Send opt-in Discord alerts for Sokko TCG Expeditions through palico-bot 2026-11-15 17:09:29 +01:00
expedition-alerts.js Keep the expedition view in sync with other players and only send alerts players still want 2026-11-18 15:24:39 +01:00
expedition-content.js Give unlinked destinations single or double loot specialties, with one neutral destination and one linked destination per collection 2026-11-16 23:52:36 +01:00
expedition-equipment.js Let players who join a group set up their card and say when they are ready 2026-11-19 19:24:23 +01:00
expedition-group.js Let players who join a group set up their card and say when they are ready 2026-11-19 19:24:23 +01:00
expedition-items.js Rework the expedition screens: in-place return, illustrated bag and workshop, card sheet tabs and an engraving workshop 2026-11-18 13:36:01 +01:00
expedition-progress.js Let players who join a group set up their card and say when they are ready 2026-11-19 19:24:23 +01:00
expedition-rules.js Cap collection destinations in the daily expedition draw and always give a Watchers' starter destination 2026-11-20 12:44:30 +01:00
expedition-service.js Cap collection destinations in the daily expedition draw and always give a Watchers' starter destination 2026-11-20 12:44:30 +01:00
expedition-settings.js Cap collection destinations in the daily expedition draw and always give a Watchers' starter destination 2026-11-20 12:44:30 +01:00
expedition-simulation.js Fix the audit's concurrency, stale state and delivery findings 2026-11-20 21:38:20 +01:00
game-rules.js Add campaign filter and duplication, pack activity, and gift pack rate fallback 2026-11-19 12:48:15 +01:00
rewards.js Add the Carnets des Veilleurs, the expedition-only Sokko TCG collection with power commons 2026-11-15 17:40:51 +01:00
service.js Add campaign filter and duplication, pack activity, and gift pack rate fallback 2026-11-19 12:48:15 +01:00
stardust.js Recycle duplicates in bulk up to a chosen rarity, never mythics 2026-11-19 09:26:25 +01:00