Skip to content

Conversation

@louis-e
Copy link
Owner

@louis-e louis-e commented Jan 1, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the session lock was incorrectly being acquired for Bedrock world generation. The session lock is only needed for Java Edition worlds to prevent Minecraft from having the world open during generation. Bedrock worlds are generated as standalone .mcworld files that don't require this lock.

Key changes:

  • Moved world format determination earlier in the generation flow to enable conditional session lock logic
  • Made session lock acquisition conditional - only acquired for Java Edition worlds, skipped for Bedrock worlds
  • Added explanatory comments clarifying the purpose and necessity of session locks for different world formats

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

⏱️ Benchmark run finished in 0m 29s
🧠 Peak memory usage: 886 MB

📈 Compared against baseline: 30s
🧮 Delta: -1s
🔢 Commit: 7fba994

🟢 Generation time is unchanged.

📅 Last benchmark: 2026-01-01 16:35:41 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

@louis-e louis-e merged commit 0b7e27d into main Jan 1, 2026
9 checks passed
@louis-e louis-e deleted the bedrock-session-lock branch January 1, 2026 16:42
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.

2 participants