Skip to content

Remove windups (for now) - #31

Merged
SuperRicky14 merged 2 commits into
mainfrom
drop/remove-windups
Jan 19, 2026
Merged

SuperRicky14 merged 2 commits into
mainfrom
drop/remove-windups

Conversation

@SuperRicky14

Copy link
Copy Markdown
Owner

This PR removes windups due to technical debt. They are tightly coupled to everything, so it's hard to refactor other parts of the mod. They also run code asynchronously which talks to Minecraft, which is unsafe and prone to concurrency bugs (Minecraft is not thread safe).

I was actually working on refactoring windups to run synchronously, however the current design of them makes that difficult, and it wouldn't even solve the logical race conditions as we hold ServerPlayer objects over time, and a player may join/leave during that. We currently have defensive programming against the player leaving, however a cleaner approach for longer term is preferred.

If you are a user of the mod reading this PR, don't worry! Windups are coming back. This is a temporary removal whilst I focus on other parts of the mod.

The last commit with the old implementation of windups is here

@github-actions

github-actions Bot commented Jan 19, 2026 •

Copy link
Copy Markdown

Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 253f768. ± Comparison against base commit b7a2912.

♻️ This comment has been updated with latest results.

Which should have been removed a long time ago. It doesn't do anything, it was replaced by windups, and we certainly don't need it now that windups are gone.
@SuperRicky14
SuperRicky14 merged commit aaa32e3 into main Jan 19, 2026
3 checks passed
@SuperRicky14
SuperRicky14 deleted the drop/remove-windups branch January 19, 2026 07:24
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.

1 participant