Repository navigation
2.0.13: dedicated-server scenarios in CI with a lag scenario; first template stays a limit - #27
Merged
Merged
Conversation
E3 of the 2.1.00 plan asks for latency, reconnection and automation on a real dedicated server. DedicatedServerGameTest already covered the connection, the packet counters, AutoArmor across the socket and a reconnect, all on loopback, where no click is ever still in flight when the next is due. equipsOverALaggyConnection times an AutoArmor equip on the plain connection, then puts a Netty handler at the head of the client's pipeline that holds every outbound write and flush back 150 ms (scheduled on the channel's own event loop, so order is kept) and repeats the equip with another helmet. Both runs assert the server's copy: the helmet equipped, none left in the inventory, an empty cursor on both sides and the transfer channel released. The control is the handler's own count of packets it held during the equip, since server-side timing is only tick-precise. Locally: 249 ms plain, 400 ms lagged, 19 packets held back, nothing duplicated or lost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s a limit Turns on AGALARHACK_ACCEPT_SERVER_EULA for the Client game tests step: the repository owner accepted Minecraft's server EULA for this automation on 2026-10-10, so the dedicated-server scenarios (connection, packet counters, AutoArmor across the socket with and without 150 ms of lag, reconnect) run on every pull request and main push instead of logging that they were skipped. Closes D5 as the owner decided: the first Netherite Upgrade template stays the player's to loot, and docs/AUTOGRIND.md now says why that limit is deliberate. Raises mod_version to 2.0.13 and records both in the changelog, the plan and the handover notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
E3 and D5 of the 2.1.00 plan (
docs/MAJOR_GELISTIRME_PLANI.md), as the repository owner decided on 2026-10-10.E3: dedicated server in CI. The owner accepted Minecraft's server EULA for this automation, so the
Client game testsstep now setsAGALARHACK_ACCEPT_SERVER_EULA=trueandDedicatedServerGameTestruns on every PR andmainpush instead of logging that it was skipped. It already covered the real connection, the packet counters, AutoArmor across the socket and a reconnect. New:equipsOverALaggyConnectionrepeats the equip with every client packet held back 150 ms by a Netty handler at the head of the client pipeline (scheduled on the channel's event loop, so order is kept). The server's copy must end with one helmet equipped, none left in the inventory, empty cursors on both sides and the transfer released. The control is the handler's count of packets it held during the equip.Locally: 233-249 ms plain, 399-400 ms lagged, 18-19 packets held back, nothing duplicated or lost.
D5: first Netherite template. Stays a documented limit: no deterministic test world can prove a route into a bastion.
docs/AUTOGRIND.mdsays why the limit is deliberate.Local validation on e89ecb3 (Windows, JDK 25):
./gradlew build,runClientGameTest -PacceptServerEula=true(all client game tests including the dedicated-server ones; nothing skipped), the real-Baritone acceptance run andproductionAddonInstallationTestpassed. One local run hit a deadlock inside Fabric's game-test threading while closing a world (render thread inIntegratedServer.halt, server and test threads parked on the phase barrier, in the unchangedModuleLifecycleGameTest) under heavy load from another program; the rerun passed.🤖 Generated with Claude Code