Skip to content

feat: forward the agones and matchmaking blocks to forge - #47

Merged
hbrombeer merged 1 commit into
mainfrom
feat/forward-matchmaking
Jul 13, 2026
Merged

hbrombeer merged 1 commit into
mainfrom
feat/forward-matchmaking

Conversation

@hbrombeer

Copy link
Copy Markdown
Member

The upload manifest is hand-built field by field, so a block nobody named there simply does not exist as far as forge is concerned. agones: and matchmaking: were both being dropped in silence.

agones.replicas never mattered — forge defaults it to 1, which is what everyone wanted anyway. That is exactly why nobody noticed.

matchmaking: matters enormously. It is what makes forge render GROUNDS_MATCHMAKING onto the pod and declare the Agones matches counter on the Fleet. Without the counter declared, the matchmaker's allocation selector matches nothing, every allocation comes back UnAllocated, and no match can ever be placed — on a fleet that is sitting there Ready, looking perfectly healthy.

Verified live

The pushed duel fleet in vcluster-dahendriik came up Ready with:

$ kubectl get fleet duel -o jsonpath='{.spec.template.spec.counters}'
          # ← empty
$ ... env[] | grep GROUNDS_MATCHMAKING
          # ← nothing

…and the matchmaking: { matchesPerServer: 4 } block was right there in its grounds.yaml, being thrown away by this file.

(It also explains why the server readied itself at all: with no GROUNDS_MATCHMAKING, plugin-agones stays in self-managed mode.)

The upload manifest is hand-built field by field, so a block nobody named
there simply does not exist as far as forge is concerned. `agones:` and
`matchmaking:` were both being dropped in silence.

`agones.replicas` never mattered — forge defaults it to 1, which is what
everyone wanted anyway. `matchmaking:` matters enormously: it is what makes
forge render GROUNDS_MATCHMAKING onto the pod and DECLARE the Agones `matches`
counter on the Fleet. Without the counter declared, the matchmaker's
allocation selector matches nothing, every allocation comes back UnAllocated,
and no match can ever be placed — on a fleet that is sitting there Ready.

Verified live: the pushed `duel` fleet came up Ready with no counters and no
GROUNDS_MATCHMAKING, and the block was right there in its grounds.yaml.
@hbrombeer
hbrombeer merged commit c65ef92 into main Jul 13, 2026
1 check passed
@hbrombeer
hbrombeer deleted the feat/forward-matchmaking branch July 13, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant