guild crest: every upload is refused on our shard (no crest store: SRO_AGENT_MARKS_DIR unset)

Aperta
#3,454 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Start in cmd/services/sro-gameworld/wiring_authority.go, where the crest store opens only when SRO_AGENT_MARKS_DIR is set, and at crestregister.go:165 where uploads are refused. The fix lives in the deployment config: server-ops/nomad/jobs/gameworld.nomad.hcl in the opensro-ops repo, which needs a persistent directory owned by the GameWorld user. Confirm the live process environment first. Done means a valid 16×16 crest upload is accepted and shown over a guild member, and this is blocked until #3451 is merged.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: ops bug priority: high

Player report (bug-reports forum, 2026-11-12): the guild crest dialog lets the player pick a .bmp file, but the game does not accept it.

Cause (from the deployment source)

  • The crest register lane needs a crest store. cmd/services/sro-gameworld/wiring_authority.go opens one only when SRO_AGENT_MARKS_DIR is set. Without it, crestregister.go:165 refuses every upload ("crest register: no crest store wired").
  • Nothing in the production deployment sets it: neither the GameWorld Nomad job (opensro-ops server-ops/nomad/jobs/gameworld.nomad.hcl) nor apps/server/config/shard-settings.json. So on our shard every crest upload is refused, whatever the file.
  • Even with the store wired, a registered crest never shows over characters until #3451 lands: the client fetches /marks/ without the /api base.

Not yet confirmed against the live process environment: the deployment source is the only input that sets it.

Done when

  • The GameWorld job sets SRO_AGENT_MARKS_DIR to a persistent directory owned by the GameWorld's user that survives releases.
  • #3451 is merged.
  • On the live server, a valid 16×16 crest upload is accepted and shows over a guild member.
Lingua principale
Go
Stelle
97
Fork
61
Merge medio
4h 14m
PR unite (30g)
913

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opensro-dev/opensro

Tutte le issue di opensro-dev/opensro

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.