Skip to content

reset ingame test worlds to noon in clear weather between scripts - #802

Merged
Purdze merged 2 commits into
masterfrom
ingame-reset-world
Oct 27, 2026
Merged

Purdze merged 2 commits into
masterfrom
ingame-reset-world

Conversation

@Purdze

@Purdze Purdze commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor / code cleanup
  • Performance improvement
  • Chore / tooling
  • Documentation

Summary

makes ingame test screenshots reproducible: each worker's world is shared by the scripts it runs in no fixed order, so a script that doesn't set the time or weather got whatever an earlier one left (night, rain, frozen time).

  • after each script the runner also sets advance_time (doDaylightCycle before 26.x) back on, time set 6000 and weather clear
  • the dual-name gamerule loop shared with the mob spawning rule is now Server::gamerule
  • the readme's runner steps mention the reset

Reference

n/a (tooling)

Testing

  • just ingame-test: 42 of 42 pass
  • fmt and clippy on ingame-test

@github-actions github-actions Bot added the chore label Oct 27, 2026
@Purdze
Purdze merged commit 767d3e4 into master Oct 27, 2026
15 checks passed
@Purdze
Purdze deleted the ingame-reset-world branch October 27, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant