Skip to content

Comments

fix: windows threads and terminal#413

Merged
Dimillian merged 7 commits intoDimillian:mainfrom
elashera:main
Feb 12, 2026
Merged

fix: windows threads and terminal#413
Dimillian merged 7 commits intoDimillian:mainfrom
elashera:main

Conversation

@elashera
Copy link
Contributor

Fixed with the last version. Threads are refreshing properly getting all the threads from codex/vs code. Also terminal working

@elashera
Copy link
Contributor Author

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

@elashera
Copy link
Contributor Author

@codex review

@elashera
Copy link
Contributor Author

@Dimillian now everything is fixed on the latest version

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.

Reviewed commit: 21afbfa6fd

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


export function normalizeRootPath(value: string) {
return value.replace(/\\/g, "/").replace(/\/+$/, "");
const normalized = value.trim().replace(/\\/g, "/").replace(/\/+$/, "");

Choose a reason for hiding this comment

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

P2 Badge Avoid trimming significant path characters

normalizeRootPath now calls value.trim(), which removes leading/trailing whitespace that can be part of a valid workspace directory name on Unix-like filesystems. This collapses distinct paths (for example, /tmp/repo vs /tmp/repo ) to the same normalized key, so thread filtering can attribute threads to the wrong workspace or hide them when matching by cwd.

Useful? React with 👍 / 👎.

return `${normalized.charAt(0).toLowerCase()}${normalized.slice(1)}`;
}
if (normalized.startsWith("//")) {
return normalized.toLowerCase();

Choose a reason for hiding this comment

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

P2 Badge Preserve case in UNC subpaths when normalizing

Lowercasing the entire UNC path (normalized.toLowerCase()) makes path comparison unsafe on case-sensitive UNC backends (for example Samba/WSL shares configured as case-sensitive), where //server/share/Repo and //server/share/repo can be different directories. With the current normalization, those distinct workspaces become indistinguishable and thread lists can bleed across them.

Useful? React with 👍 / 👎.

@Dimillian
Copy link
Owner

@codex review

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.

Reviewed commit: 21afbfa6fd

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


export function normalizeRootPath(value: string) {
return value.replace(/\\/g, "/").replace(/\/+$/, "");
const normalized = value.trim().replace(/\\/g, "/").replace(/\/+$/, "");

Choose a reason for hiding this comment

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

P3 Badge Preserve significant whitespace in root path normalization

normalizeRootPath now calls trim(), which collapses distinct filesystem paths that differ only by leading/trailing spaces. In environments where those names are valid (for example POSIX workspaces like /tmp/repo vs /tmp/repo ), listThreadsForWorkspace and loadOlderThreadsForWorkspace compare these normalized values and can attribute threads to the wrong workspace because both normalize to the same string.

Useful? React with 👍 / 👎.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Dimillian applied @codex suggestions

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@codex review

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.

Reviewed commit: 1c1850cffc

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

@Dimillian Dimillian changed the title Fix: windows threads and terminal fix: windows threads and terminal Feb 12, 2026
@Dimillian
Copy link
Owner

I'll look into it soon

@Dimillian
Copy link
Owner

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

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

@Dimillian Dimillian merged commit 02fe50f into Dimillian:main Feb 12, 2026
9 checks passed
Blueemi pushed a commit to Blueemi/CodexMonitor that referenced this pull request Feb 12, 2026
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
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.

2 participants