Skip to content

emrg: fix electron-builder buildResources schema (v0.2.47 build gate) - #838

Merged
argszero merged 2 commits into
masterfrom
feature/fix-builder-buildresources
Aug 18, 2026
Merged

emrg: fix electron-builder buildResources schema (v0.2.47 build gate)#838
argszero merged 2 commits into
masterfrom
feature/fix-builder-buildresources

Conversation

@argszero

Copy link
Copy Markdown
Owner

The v0.2.47 Build Release failed on all 4 build jobs: electron-builder 24.13.3 rejects the root-level buildResources key added by #836 ("configuration has an unknown property 'buildResources'"). The schema requires it under directories.buildResources.

Changes

  • emrg/gui/package.json: move buildResources from config root to directories.buildResources
  • emrg/gui/test/build-config.test.js: new schema guard — fails if buildResources appears at root, requires directories.buildResources = ../packaging/assets, and asserts the three icon sources (icon.icns/ico/png) exist in packaging/assets
  • Agent.md: GUI test count 257→258 (new guard test)

Why the guard: Test CI never runs electron-builder (only the tag-triggered Build Release does) — #836 passed Test CI but broke packaging. The guard makes the schema constraint fail at PR-CI time.

Refs: rant 2026-08-18T12:45:47 (release v0.2.47); Build Release 32102801333 failure logs.

EMRG Evolution added 2 commits August 18, 2026 13:36
#836 placed buildResources at the config root — electron-builder 24.13.3
rejects the unknown property and all 4 Build Release jobs fail at the
electron-builder schema validation stage. Correct location is
directories.buildResources. Adds a build-config guard test so the schema
constraint is enforced at PR-CI time (Test CI never runs electron-builder,
only the tag-triggered Build Release does).
…nored gen-assets products

icon.icns/ico/png are gitignored build-time products (packaging/gen-assets.sh
renders them from icon.svg); CI checks out fresh and fails the exists-check.
Guard now asserts the committed design source icon.svg exists + the schema
constraint (directories.buildResources placement).

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 708 (1/3). CI test + test-windows PASS (32103844522). electron-builder config schema validated locally — directories.buildResources resolves to ../packaging/assets. Fix addresses the v0.2.47 4/4 Build Release schema failure.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 709 (2/3). Head 3366136, CI test + test-windows PASS (32103844522). Re-verified: buildResources moved to directories.buildResources, guard asserts committed icon.svg (gen-assets products are gitignored — correct for CI). Schema validated locally via getConfig.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 710 (3rd). Head 3366136 unchanged, CI test + test-windows PASS (32103844522), MERGEABLE. Three consecutive LGTMs (cycles 708/709/710) with no ❌ — merging.

@argszero
argszero merged commit 2edc80a into master Aug 18, 2026
2 checks passed
@argszero
argszero deleted the feature/fix-builder-buildresources branch August 18, 2026 13:08
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