From aeae11c4883ed2e092bc5d974451798e40150944 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 17 Sep 2026 11:17:24 +0000 Subject: [PATCH 1/3] Give the furnace crafting game tests a larger tick budget testItemsCraftIngotsAndExtractFromStorage and its same-network variant smelt eight ingots one at a time, and no longer fit in their budget on the CI runners. An unmodified master-1.21-lts run fails on the first of them, leaving one raw iron in the input chest. The cost per craft is machine dependent: both tests succeed around tick 1750-2050 locally, while CI does not finish within 4000, completing five to seven of the eight crafts, so roughly 570 to 800 ticks per craft against a 200-tick vanilla smelt. The budget goes to 10000 ticks, which covers the slowest run observed with room to spare. Passing tests are unaffected, as succeedWhen stops as soon as the assertion holds. That the tick cost varies with machine speed at all suggests crafting progress is partly wall-clock bound, which is worth investigating separately. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Nb7EmAYd4R7RYWjmc17e6L --- .../integratedcrafting/gametest/GameTestsItemsCraft.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java b/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java index d0125e1d7..3ac8541bd 100644 --- a/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java +++ b/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java @@ -536,7 +536,8 @@ public void testItemsCraftPlanksAndExtractFromStorageSameNetwork(GameTestHelper }); } - @GameTest(template = TEMPLATE_EMPTY, timeoutTicks = TIMEOUT * 2) + // Smelting eight ingots one at a time, so the budget scales with how slow the runner is. + @GameTest(template = TEMPLATE_EMPTY, timeoutTicks = TIMEOUT * 5) public void testItemsCraftIngotsAndExtractFromStorage(GameTestHelper helper) { GameTestHelpersIntegratedCrafting.INetworkPositions positions = createBasicNetwork(helper, POS, Blocks.FURNACE); @@ -570,7 +571,8 @@ public void testItemsCraftIngotsAndExtractFromStorage(GameTestHelper helper) { }); } - @GameTest(template = TEMPLATE_EMPTY, timeoutTicks = TIMEOUT * 2) + // Smelting eight ingots one at a time, so the budget scales with how slow the runner is. + @GameTest(template = TEMPLATE_EMPTY, timeoutTicks = TIMEOUT * 5) public void testItemsCraftIngotsAndExtractFromStorageSameNetwork(GameTestHelper helper) { GameTestHelpersIntegratedCrafting.INetworkPositions positions = createBasicNetwork(helper, POS, Blocks.FURNACE); From 9ac205180fbcd5da6b381ba6d1c614d273e1f17a Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Thu, 17 Sep 2026 19:17:02 +0200 Subject: [PATCH 2/3] Apply suggestion from @rubensworks --- .../cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java b/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java index 3ac8541bd..a525be60d 100644 --- a/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java +++ b/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java @@ -571,7 +571,6 @@ public void testItemsCraftIngotsAndExtractFromStorage(GameTestHelper helper) { }); } - // Smelting eight ingots one at a time, so the budget scales with how slow the runner is. @GameTest(template = TEMPLATE_EMPTY, timeoutTicks = TIMEOUT * 5) public void testItemsCraftIngotsAndExtractFromStorageSameNetwork(GameTestHelper helper) { GameTestHelpersIntegratedCrafting.INetworkPositions positions = createBasicNetwork(helper, POS, Blocks.FURNACE); From bf7d8dda42715ddfebe15ee8b1d74c4e821337c9 Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Thu, 17 Sep 2026 19:17:10 +0200 Subject: [PATCH 3/3] Apply suggestion from @rubensworks --- .../cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java b/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java index a525be60d..fdcd76501 100644 --- a/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java +++ b/src/main/java/org/cyclops/integratedcrafting/gametest/GameTestsItemsCraft.java @@ -536,7 +536,6 @@ public void testItemsCraftPlanksAndExtractFromStorageSameNetwork(GameTestHelper }); } - // Smelting eight ingots one at a time, so the budget scales with how slow the runner is. @GameTest(template = TEMPLATE_EMPTY, timeoutTicks = TIMEOUT * 5) public void testItemsCraftIngotsAndExtractFromStorage(GameTestHelper helper) { GameTestHelpersIntegratedCrafting.INetworkPositions positions = createBasicNetwork(helper, POS, Blocks.FURNACE);