Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

Adds an npm-based smoke test to CI that validates IPC and WebSocket functionality, catching bugs like the isDestroyed() regression before they reach users.

Changes:

  • scripts/smoke-test.sh - Runs the app headlessly and tests IPC channels + WebSocket connectivity
  • .github/workflows/ci.yml - New npm-smoke-test job in merge queue (port 3001, parallel with docker smoke test)

Generated with mux

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike ibetitsmike force-pushed the playwright-test-details-review branch 3 times, most recently from 0af5d59 to 1e7d1b8 Compare December 3, 2025 14:15
Enhanced smoke-test.sh to exercise IPC and WebSocket flows that use
MockBrowserWindow methods like isDestroyed(). Added smoke-test job
to CI that runs on merge queue.

The test:
- Creates a project via IPC
- Creates a workspace via IPC (triggers isDestroyed checks)
- Subscribes to workspace chat via WebSocket

This would have caught the regression in commit 3ca9c7e where
isDestroyed() was added to ipcMain.ts but not to MockBrowserWindow
in src/cli/server.ts.

_Generated with mux_
@ibetitsmike ibetitsmike force-pushed the playwright-test-details-review branch from 1e7d1b8 to 2103b36 Compare December 3, 2025 14:22
@ibetitsmike ibetitsmike added this pull request to the merge queue Dec 3, 2025
Merged via the queue into main with commit 1974be6 Dec 3, 2025
15 checks passed
@ibetitsmike ibetitsmike deleted the playwright-test-details-review branch December 3, 2025 14:40
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