Repository navigation
Conversation
…to main Previously the job only ran on a manual dispatch with run_authenticated_local_ship. It now also runs after the CI gate on pushes to main. Pull requests and develop stay credential-free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Editor preview: https://57a87637.pipelab.pages.dev/ |
Contributor
|
Website preview: https://6bf881b3.pipelab-website.pages.dev/ |
…ct web build The planner no longer chains a Construct source straight into Electron, so the fixture failed with 'Build electron-profile has no compatible input.' on every OS. It now mirrors what the Ship wizard writes: a Construct web build that feeds the Electron build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Build targets only run when something consumes them. With no destinations the run completed without producing Electron, and the test failed with 'Successful run did not record an Electron build.' A local folder destination now consumes the Electron target, which is what a real local Ship does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The default Playwright headless shell does not write Default/Preferences, so the Construct export rejected the seeded profile. Seed with channel chromium, the same browser the export uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every push to main ships the sample Construct project to Electron through the CLI twice on Linux, Windows and macOS. The steps that drive the Desktop app (wizard Ship and cold starts) now run on manual dispatches only until they pass reliably. Linux Desktop runs set ELECTRON_DISABLE_SANDBOX, because Chromium ignores --no-sandbox after pnpm's '--'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ory check Once a run exists, the dashboard shows recent runs instead of workflow cards, so the check timed out waiting for a workflow link. It now accepts any link into the workflow and continues through the layout's Runs tab. Linux cold starts also set ELECTRON_DISABLE_SANDBOX. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PrimeVueResolver auto-imports Column, DataTable, MultiSelect and Panel at
transform time, so Vite's dependency scanner missed them. Opening a workflow
page then re-optimized and force-reloaded the dev UI, which destroyed the
Desktop cold-start check's page ('WebFrame was removed').
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Playwright's Electron launcher returns after Desktop has printed its startup lines, so they never reach the collected output. Reaching the dashboard and shipping through it already prove the CLI sidecar connection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p server The CLI server only accepted the default Vite origin (port 5173). With PIPELAB_TEST_DESKTOP_UI_PORT, Desktop loaded the UI from another port and the server rejected its WebSocket, so the UI showed 'Pipelab agent not connected'. In development Desktop now passes the UI origin with --allowed-origin; the per-launch token is still enforced. The wizard test's dashboard error no longer prints the URL hash, which carries the session token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dited NotificationTargets read definitionFor(editing.value!) while nothing was being edited, so setup threw on 'target.provider' whenever the catalog had notification definitions, and the whole Configuration tab rendered blank. Guard both computed fields and add a mount regression test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checked locally against the UI and CLI: the dashboard heading is the project name, the wizard dialog is 'New workflow', the wizard now creates the Electron build for the host, the source button is 'Edit source', and the output folder is set on the Folder destination's deployment. The saved-workflow check finds the Electron build instead of assuming it is first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er answers On macOS the produced game accepted the DevTools connection but never answered, so one fetch stalled for minutes and the failure carried no detail. Each poll now times out after 2 s, and the error names the process, pid, whether it is still running and the last poll error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The game was running and its DevTools port accepted connections without ever answering: Chromium was blocked on the Safe Storage Keychain prompt, which no one can answer on a CI Mac. Pass --use-mock-keychain on macOS, as Playwright does for its own browsers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Report the URL, title, ready state, canvas and viewport sizes, visibility, recent console messages and the game's output, instead of a bare waitForFunction timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The game loaded with the right title but no canvas: Chromium could not create a
GL context ('gles2_command_buffer_stub: Failed to create context'), because CI
Macs are VMs without GPU access and --disable-gpu also ruled out software
rendering. On macOS, drop --disable-gpu and use ANGLE's SwiftShader backend.
Linux and Windows keep --disable-gpu, which already passes there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Construct → Electron smoke job to
mainand gets the long-unrun authenticated acceptance tests passing again on Linux, Windows and macOS. Getting them to run uncovered a real UI bug and a Desktop dev-mode bug, both fixed here.Last full run (manual dispatch, all steps): green on all three OSes: https://github.com/CynToolkit/v2/actions/runs/45886048054
Product fixes
apps/ui/src/components/NotificationTargets.vue).definitionFor(editing.value!)ran while no notification was being edited and threw ontarget.providerwhenever the catalog had notification providers, which wiped out the whole tab (source, destinations, notifications). Guarded, with a mount regression test that fails without the fix. Changeset:@pipelab/uipatch.apps/desktop/src/main/server-process.ts,server-entry.ts). The CLI server only accepted origin:5173. In development Desktop now passes its UI origin with--allowed-origin; the per-launch token is still enforced. Packaged builds are unaffected.apps/ui/vite.config.ts). PrimeVue components that are auto-imported only on lazy routes (Column, DataTable, MultiSelect, Panel) are now pre-bundled.PIPELAB_TEST_DESKTOPis set.CI
Smoke Construct to Electron(jobauthenticated-local-release) runs after the CI gate on every push tomain. It does a real Construct export → Electron build → local folder, then a second Ship that must keep the first run's history and artifacts, on Linux, Windows and macOS.run_authenticated_local_ship) also cold-start Desktop twice to check run history and artifacts, and Ship through the Desktop wizard to a running game.max-parallel: 1). They share one Construct test account, and a new sign-in can invalidate a session another job is exporting with.Default/Preferences) and retries sign-in up to 3 times, logging only status codes.CONSTRUCT_CI_USERNAMEandCONSTRUCT_CI_PASSWORDrepository secrets are set.Test updates (stale since #148)
_electron.launch(connectOverCDPno longer lists the BrowserWindow) and follows the current UI. Each step was checked locally against the real UI and CLI server.--use-mock-keychainand SwiftShader WebGL (CI Macs have no GPU).Cost and risk
mainwith the serial OS jobs. The alternative is one Construct test account per OS.maingoes red if the Construct account, its plan or Construct's editor changes. That's intended: this is the launch acceptance path.Checks run
apps/ui: newNotificationTargetstest, which fails without the fix; UI typecheck.apps/desktop: main-process tests (29/29); desktop typecheck.contributing/development.md,contributing/ci-and-deployment.md).🤖 Generated with Claude Code