[GH-ISSUE #22] M001/S02/T02: Wire config IPC handlers, preload bridge, and update fixture chain #23

Open
opened 2026-06-04 14:29:27 -04:00 by yindo · 0 comments
Owner

Originally created by @BillyOutlast on GitHub (May 17, 2026).
Original GitHub issue: https://github.com/Heretek-AI/GDevelop-BYOK/issues/22

T02: Wire config IPC handlers, preload bridge, and update fixture chain

Why T01 created the config persistence module but it's not yet accessible from the renderer process. This task wires it into the IPC pipeline: adds config IPC handlers to byokHandler.js, exposes config API via byokBridge.js, creates the byok-config.js fixture, updates byok-embedded.js to bootstrap the config store, and updates all fixture scripts (restore-fixtures, sabotage-fixtures, test-patches) to include the new fixture.

Files

  • src/ipc/byokHandler.js
  • src/preload/byokBridge.js
  • test/fixtures/newIDE/electron-app/app/scripts/byok-config.js
  • test/fixtures/newIDE/electron-app/app/scripts/byok-embedded.js
  • scripts/restore-fixtures.js
  • scripts/create-sabotaged-fixtures.js
  • scripts/test-patches.js
  • test/integration/config-ipc.test.js

Verification

  • node scripts/restore-fixtures.js && node scripts/patch.js --repo test/fixtures --strict && node scripts/test-patches.js && node --test test/unit/ test/integration/
Originally created by @BillyOutlast on GitHub (May 17, 2026). Original GitHub issue: https://github.com/Heretek-AI/GDevelop-BYOK/issues/22 ## T02: Wire config IPC handlers, preload bridge, and update fixture chain ## Why T01 created the config persistence module but it's not yet accessible from the renderer process. This task wires it into the IPC pipeline: adds config IPC handlers to byokHandler.js, exposes config API via byokBridge.js, creates the byok-config.js fixture, updates byok-embedded.js to bootstrap the config store, and updates all fixture scripts (restore-fixtures, sabotage-fixtures, test-patches) to include the new fixture. ### Files - `src/ipc/byokHandler.js` - `src/preload/byokBridge.js` - `test/fixtures/newIDE/electron-app/app/scripts/byok-config.js` - `test/fixtures/newIDE/electron-app/app/scripts/byok-embedded.js` - `scripts/restore-fixtures.js` - `scripts/create-sabotaged-fixtures.js` - `scripts/test-patches.js` - `test/integration/config-ipc.test.js` ### Verification - [ ] node scripts/restore-fixtures.js && node scripts/patch.js --repo test/fixtures --strict && node scripts/test-patches.js && node --test test/unit/ test/integration/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Heretek-AI/GDevelop-BYOK#23