Skip to content

Conversation

@sreya
Copy link
Contributor

@sreya sreya commented Nov 24, 2025

No description provided.

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".

Comment on lines 78 to 82
query: { workspaceId },
});
} else {
// Development mode - load from Vite dev server
await terminalWindow.loadURL(

Choose a reason for hiding this comment

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

P1 Badge Load dist terminal assets when dev server absent

In openTerminalWindow the non-packaged path (lines 80‑84) always loads the Vite dev server when app.isPackaged is false, but dist/E2E runs set MUX_E2E_LOAD_DIST=1 and skip the dev server (see tests/e2e/electronTest.ts around lines 127‑210). In that configuration the main window serves built files while terminal windows still target http://localhost:5173/..., so terminals never load. Previously the NODE_ENV check loaded the built terminal.html for this scenario; this change regresses dist-mode terminal windows unless the app is fully packaged.

Useful? React with 👍 / 👎.

@sreya
Copy link
Contributor Author

sreya commented Nov 24, 2025

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Bravo.

ℹ️ 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".

@sreya sreya merged commit 6281c48 into main Nov 24, 2025
11 of 13 checks passed
@sreya sreya deleted the fix-terminal-connection-refused branch November 24, 2025 23:49
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