Skip to content

reconcile sets the controller default mod pack to the desired pack - #426

Merged
solarcloud7 merged 1 commit into
mainfrom
feat/reconcile-default-pack
Oct 18, 2026
Merged

solarcloud7 merged 1 commit into
mainfrom
feat/reconcile-default-pack

Conversation

@solarcloud7

Copy link
Copy Markdown
Owner

reconcile.mjs now also points controller.default_mod_pack_id at the desired mod pack. Before, it created each new pack and moved the instances onto it but left the controller default on whatever it was. On pve7 that is Clusterio's stock "Space Age 2.1" pack, which has no exported icons, so the web map drew planets as "?".

  • Planned after the instance pointers; when the pack is created in the same run, apply resolves its id the same way as the instance pointers (<id of new pack>).
  • No restart: the default only affects which pack the web UI and new instances use.
  • Skipped when the desired file sets defaultModPack: false, or names controller.default_mod_pack_id in its controller block (an explicit value wins).
  • AGENTS.md's tool row and the tool's produces: line mention the default pack.

Checks:

  • node --test tests/tools/reconcile.test.mjs: 16 pass, 0 fail (new: default follows the desired pack without a restart, the opt-out and an explicit value; the missing-pack plan and the apply test resolve the new pack's id for the default).
  • plan --cluster vm with this candidate lists controller controller.default_mod_pack_id -> "Space Age 2.1.22 - Surface Export 0.7.11" as the last action. Not applied: that plan also carries the 2.1.22 move for pve7 from Factorio 2.1.22 with maraxsis 1.39.22, PlanetsLib 2.0.10, FluidMustFlow 1.5.1 and SpidertronPatrols 2.7.1 #425.

…o the web UI's default-pack icons follow the pack the servers run
@solarcloud7
solarcloud7 merged commit fa6cba8 into main Oct 18, 2026
7 checks passed
@solarcloud7
solarcloud7 deleted the feat/reconcile-default-pack branch October 18, 2026 22:03
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