Skip to content

Replace glob with fast glob#3235

Merged
AndreasArvidsson merged 9 commits intomainfrom
fastGlob
Mar 20, 2026
Merged

Replace glob with fast glob#3235
AndreasArvidsson merged 9 commits intomainfrom
fastGlob

Conversation

@AndreasArvidsson
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

@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

const files = await glob("*.jsonl", {
cwd: this.dir,
});

P2 Badge Sort command-history files before analyzing them

Because fast-glob returns matches in arbitrary order, getEntries() is no longer deterministic here. analyzeCommandHistory() later renders month sections in first-seen order via Object.entries(groupBy(entries, getMonth)) in packages/lib-engine/src/CommandHistoryAnalyzer.ts, so anyone with more than one cursorlessCommandHistory_YYYY-MM.jsonl file can now get month blocks in a random order instead of chronological order. Sorting the filenames before reading them preserves the previous report layout.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@AndreasArvidsson
Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@AndreasArvidsson AndreasArvidsson merged commit e123a73 into main Mar 20, 2026
16 checks passed
@AndreasArvidsson AndreasArvidsson deleted the fastGlob branch March 20, 2026 07:30
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