MC 26.3 : spark Folia (patch de fuite rebasé, pipeline 26.3) #2

Open
wait4mi wants to merge 1 commit from prepa263wait into mc-26.2
First-time contributor

Préparation Minecraft 26.3 (branche de travail de wait4mi, à fusionner quand tu veux — aucun tag, donc aucune release).

  1. Le patch de fuite ne s'appliquait plus sur spark master : JfrReader a changé (passage à async-profiler 4.6). La fuite existe toujours en amont (allocateDirect jamais libéré), donc jfrreader-direct-buffer-leak.patch est rebasé, même logique (Unsafe.invokeCleaner au close() et au redimensionnement du buffer).
  2. Nouveau patch-spark-extra-mc263.py (copie du script 26.2) :
    • foliaDevBundle("26.3.build.26-stable") (publié), paperweight-userdev 2.0.0-beta.21, leafpile 1.2.0 ;
    • plus de jar lophine-26.2-threadedregions-compileonly.jar en tête du classpath : le vrai bundle Folia 26.3 renvoie déjà ca.spottedleaf.common.time.TickData, et spark-folia upstream l'importe directement ;
    • mavenLocal limité au groupe me.lucko : sinon un vieux adventure-bom local cassait le nouveau module spark-folia-12111-compat d'upstream.
  3. build.yml appelle le script 26.3, suffixe -mc26.3.

Vérifié en rejouant le pipeline en local (spark 1.10.196, spark-extra d34b49e) : correctif présent dans le bytecode du jar final. Sur Folikaii 26.3 (exo/folikaii#7), le plugin démarre et /spark tps répond via FoliaTickStatistics (20 TPS, durées de tick, CPU), sans exception.

À noter : la CI se déclenche sur main + cron nocturne. Tant que cette branche n'est pas sur main, aucune release n'est produite.

🤖 Generated with Claude Code

Préparation **Minecraft 26.3** (branche de travail de wait4mi, à fusionner quand tu veux — aucun tag, donc aucune release). 1. **Le patch de fuite ne s'appliquait plus** sur spark `master` : `JfrReader` a changé (passage à async-profiler 4.6). La fuite existe toujours en amont (`allocateDirect` jamais libéré), donc `jfrreader-direct-buffer-leak.patch` est **rebasé**, même logique (`Unsafe.invokeCleaner` au `close()` et au redimensionnement du buffer). 2. Nouveau `patch-spark-extra-mc263.py` (copie du script 26.2) : - `foliaDevBundle("26.3.build.26-stable")` (publié), `paperweight-userdev 2.0.0-beta.21`, `leafpile 1.2.0` ; - **plus de jar `lophine-26.2-threadedregions-compileonly.jar` en tête du classpath** : le vrai bundle Folia 26.3 renvoie déjà `ca.spottedleaf.common.time.TickData`, et spark-folia upstream l'importe directement ; - `mavenLocal` limité au groupe `me.lucko` : sinon un vieux `adventure-bom` local cassait le nouveau module `spark-folia-12111-compat` d'upstream. 3. `build.yml` appelle le script 26.3, suffixe `-mc26.3`. Vérifié en rejouant le pipeline en local (spark 1.10.196, spark-extra `d34b49e`) : correctif présent dans le bytecode du jar final. Sur Folikaii 26.3 (exo/folikaii#7), le plugin démarre et `/spark tps` répond via `FoliaTickStatistics` (20 TPS, durées de tick, CPU), sans exception. À noter : la CI se déclenche sur `main` + cron nocturne. Tant que cette branche n'est pas sur `main`, aucune release n'est produite. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- jfrreader-direct-buffer-leak.patch: no longer applied on upstream spark master (JfrReader changed with
  async-profiler 4.6); rebased, same logic (Unsafe.invokeCleaner on close() and on buffer resize).
- patch-spark-extra-mc263.py (from the mc262 script): foliaDevBundle 26.3.build.26-stable, userdev
  2.0.0-beta.21, leafpile 1.2.0, no more internals-jar prepend (the real Folia 26.3 bundle returns
  ca.spottedleaf.common.time.TickData, upstream spark-folia already imports it), mavenLocal scoped to
  me.lucko (a stale local adventure-bom broke the new spark-folia-12111-compat module).
- build.yml uses the 26.3 script, artifact suffix -mc26.3.
Built locally (spark 1.10.196, spark-extra d34b49e): leak fix present in the jar bytecode; on Folikaii 26.3
(exo/folikaii#7) the plugin enables and /spark tps answers via FoliaTickStatistics, no exception.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin prepa263wait:prepa263wait
git switch prepa263wait

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch mc-26.2
git merge --no-ff prepa263wait
git switch prepa263wait
git rebase mc-26.2
git switch mc-26.2
git merge --ff-only prepa263wait
git switch prepa263wait
git rebase mc-26.2
git switch mc-26.2
git merge --no-ff prepa263wait
git switch mc-26.2
git merge --squash prepa263wait
git switch mc-26.2
git merge --ff-only prepa263wait
git switch mc-26.2
git merge prepa263wait
git push origin mc-26.2
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
exo/spark-folia-patched!2
No description provided.