Skip to content

test(boot): a real client joins the boot tests on Spigot 1.8.8 and Paper 1.21.11 - #168

Merged
zacharyk812 merged 1 commit into
mainfrom
test/client-boots
Nov 25, 2026
Merged

zacharyk812 merged 1 commit into
mainfrom
test/client-boots

Conversation

@zacharyk812

Copy link
Copy Markdown
Contributor

A real client now joins the boot tests (#162). Before this, messages to players, joins and quits, client languages and tab completion were only unit-tested.

  • New client: step in scripts/boot-test.sh. It runs scripts/budgets/bots/client.js: one mineflayer bot from the budget check's packages, on the server's own version. The bot joins as Joiner with its client set to German and checks:

    • /xsample answers the player;
    • /pay tab-completes to its own name, and /xsample to the subcommands;
    • /xsample debug replies in German (a core message drawn in the client's language);
    • after the client switches to English, the same command replies in English.

    The bot is an operator through a seeded ops.json (scripts/boot-seeds/client).

  • Server side: xSample's PlatformCheck checks the join and the quit in the family's player cache: online in German after joining, offline after quitting, and in English where the server reports a language change (1.12+). client-checks.txt waits for both lines.

  • boot.yml: a new per-PR cell, Paper 1.21.11 (the newest version mineflayer 4.39 speaks), and the Spigot 1.8.8 cell both get client: true. That adds Node.js and the bots' cache to the cell, plus the client checks to its boot. Locally the client added about 15 s per boot (Spigot 1.8.8 boot 22 s in total), so it runs per PR, not nightly.

Verified

  • Paper 1.21.11 (Java 21) and Spigot 1.8.8 (Java 8): every check passes.
  • actionlint: clean apart from the existing ubuntu-26.04 runner-label notice.

Not covered yet, written down in DECISIONS.md: a client on Fabric, the command tree after a reload, and Folia (mineflayer doesn't speak 26.x).

DECISIONS.md: "A real client in the boot tests".

Part of #123. Part of #162.

@github-actions github-actions Bot added documentation Improvements or additions to documentation core The shared core and build labels Nov 24, 2026
…per 1.21.11

boot-test.sh gets a client: step that runs one mineflayer bot (the budget
check's packages) against the server: a player-run command, tab completion
of a player argument and of subcommands, a core message in the client's
language (German), then in English after the client switches. xSample's
PlatformCheck checks the join and quit in the family's player cache. The
Boot workflow runs it on the Spigot 1.8.8 cell and a new Paper 1.21.11 cell
per pull request.
@zacharyk812
zacharyk812 merged commit fedaf08 into main Nov 25, 2026
31 checks passed
@zacharyk812
zacharyk812 deleted the test/client-boots branch November 25, 2026 03:24
@zacharyk812 zacharyk812 mentioned this pull request Nov 25, 2026
9 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core The shared core and build documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant