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

Ouverte
#3,454 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
go

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Go
Étoiles
97
Forks
61
Merge moyen
4 h 14 min
PR mergées (30 j)
913

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de opensro-dev/opensro

Toutes les issues de opensro-dev/opensro

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.