Repository navigation
Conversation
Author
Upstream follow-up — WorldGuard EngineHub#2330 (2026-11-05)Ported the targeted session-cache change from EngineHub/WorldGuard@494f500e21c3 into this PR.
New exact head: Draft only; do not merge or release until the complete CI matrix and an exact-head Folia 1.21.11 runtime test are recorded. |
Author
CI result — exact head verifiedThe Folia 1.21.11 Development Build completed successfully for This is build/test evidence only. The PR remains Draft; the exact-head disposable Folia 1.21.11 runtime smoke and the broader required test matrix are still outstanding. No release or deployment is authorized. |
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.
Ports targeted upstream EngineHub/WorldGuard fixes into the Folia 1.21.11 branch while keeping the older 1.21.11 API baseline:
90acadb2354e(Fix cross-region block access and replaced block checks EngineHub/WorldGuard#2321): avoid reading a block cause outside the currently owned Folia region and compare the placed block type correctly.63e206713bf4(Cleanup allocations by session caching code EngineHub/WorldGuard#2325): return safely whentestMoveToobserves a session before it has initialized (lastValid == null).494f500e21c3(fix(session): expire cached bypass for active players EngineHub/WorldGuard#2330): replace loading-cache/map callback access with explicitgetIfPresent+putfor the bypass permission cache. The session cache already uses the same explicit lookup/insert pattern on this branch.The full upstream branch is intentionally not merged here: it contains a broad 7.0.21/26.1+ build and API migration that is not suitable for a blind Folia 1.21.11 sync. The separate full-sync PR remains draft for manual review. Existing Folia scheduler/region patches and player/world/config data remain unchanged.
CI evidence for exact head
1a74169c964f403cb7cb51ac560df5c1d4955d5f.Safety gates
Keep this PR draft until the build/test matrix passes and genuine Folia 1.21.11 runtime smoke evidence exists for this exact SHA (cross-region block causes, session initialization, and bypass-cache access). Build-only checks do not qualify. No merge, release, or production deployment.