refactor: simplify open farming, integration CI and documentation #81
Loading…
Reference in a new issue
No description provided.
Delete branch "t3/simplify-farming-ci-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Outcome and implementation plan
This implements the requested simplification around open, placement-only farms and removes the duplicated mining/repair architecture rather than tuning fixtures around it.
buildandpreview; retainbuild-farm/preview-farmaliases, remove redundantbuild-chunks/save-chunksand mining-orientedcave-wart. Omitted crops consistently mean wheat. Saving either layout validates geometry without imposing job-inventory checks.Build/fixture contract changes
Public construction remains fixed at 32×32 with a 30×30 inset. It places soil one block above the supplied foundation and never mines or scaffolds. Hydrated builds require 1008 dirt, 900 planting items, 16 water buckets, 16 white carpets, and at least two hoes totaling 884 remaining uses. Wart requires 900 soul sand, 124 dirt and 916 wart. No pickaxe is required or withdrawn. Failure leaves partial placements, not rollback/resume.
Coverage is adapted to those supported contracts, not removed indiscriminately:
build-smallreplaces the misleadingbuild-legacyCI preset. Targeted validation remains explicitly distinct from full-suite evidence.Validation
lint buildpassed, with one worker and a 1 GiB Gradle heap: 146 Java tests, zero failures/errors/skips.scripts/ci-preflight.shpassed: 76 server-free script tests, wrapper/syntax/metadata checks. Localscripts/check-release-jar.shandgit diff --checkpassed.Build-only validation update: run 808 on
c4966f3passed all 76 server-free script contracts and successfully compiled both main and test Java sources. It stopped on one mandatory Checkstyle finding inSettingLease.java(an unnecessary fully qualified type). Fixed inef1e977; the PR build will validate that head. Integration tests remain deliberately unrun and undispatched, as requested.Validated locally before pushing
7e019c7: resource-bounded Gradlelint buildpassed (146 Java tests; zero failures, errors or skips),scripts/ci-preflight.shpassed (76 server-free tests), jar-boundary verification andgit diff --checkpassed. Fixed the 26.3 item-component bootstrap only in unit fixtures and added a real packet snapshot aliasing assertion; no runtime workaround or skipped test. AGENTS.md, README and CI guidance now explicitly permit local compilation/lint/tests and require local validation before pushing. No Minecraft/integration run was launched or dispatched. Awaiting the PR build before merging.Build-only validation is green on
7e019c7cc4f35854cad4dfc6643662fe6d01904f: Forgejo build 810 passed. Local validation before the push also passed: Gradle lint/build with all 146 Java tests, all 76 server-free script tests, jar boundaries and diff checks. No integration workflow was dispatched or executed; real-client validation remains deferred to the other agent. Merging under the requested build-only approval policy.