feat: resume matching partial farm builds #105

Merged
gecko merged 1 commit from t3/resume-partial-farm-build into main 2026-11-03 20:22:02 +00:00
Owner

Summary

  • Resume interrupted farm builds only when existing blocks match the requested layout; reject mismatches before pathing.
  • Skip completed build phases, calculate remaining materials, and hand off smoothly from construction to the initial farm pass.
  • Document the resume behavior and cover fresh, partial, complete, and invalid layouts with tests.

Testing

  • ./gradlew --no-daemon --max-workers=1 lint test --tests systems.gecko.mcbot.building.FarmBuildResumeTest — passed.
  • ./gradlew --no-daemon --max-workers=1 lint build — passed.
  • ./scripts/check-release-jar.sh — passed; verified dependencies are not bundled.
  • python3 -m unittest discover -s scripts -p 'test_*.py' — passed (16 tests).
  • No live Minecraft/server trial was run.
## Summary - Resume interrupted farm builds only when existing blocks match the requested layout; reject mismatches before pathing. - Skip completed build phases, calculate remaining materials, and hand off smoothly from construction to the initial farm pass. - Document the resume behavior and cover fresh, partial, complete, and invalid layouts with tests. ## Testing - `./gradlew --no-daemon --max-workers=1 lint test --tests systems.gecko.mcbot.building.FarmBuildResumeTest` — passed. - `./gradlew --no-daemon --max-workers=1 lint build` — passed. - `./scripts/check-release-jar.sh` — passed; verified dependencies are not bundled. - `python3 -m unittest discover -s scripts -p 'test_*.py'` — passed (16 tests). - No live Minecraft/server trial was run.
feat: resume matching partial farm builds
All checks were successful
build / Java 25 build (pull_request) Successful in 3m39s
b5ea66edff
- Validate existing blocks against the farm layout before pathing
- Recalculate remaining materials and continue from the first incomplete phase
gecko merged commit cd87de3510 into main 2026-11-03 20:22:02 +00:00
Sign in to join this conversation.
No reviewers
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
gecko/mcbot!105
No description provided.