Skip to content

fix(macos): avoid O(n) hashing of tool output for NSCache key#25048

Merged
siddseethepalli merged 1 commit into
mainfrom
swarm/revf/task-1
Apr 12, 2026
Merged

fix(macos): avoid O(n) hashing of tool output for NSCache key#25048
siddseethepalli merged 1 commit into
mainfrom
swarm/revf/task-1

Conversation

@siddseethepalli
Copy link
Copy Markdown
Contributor

@siddseethepalli siddseethepalli commented Apr 12, 2026

Addresses Codex feedback on #24336 — cache key now derives from toolCall.id + result.count + error flag instead of hashing the full result string every render.


Open with Devin

@siddseethepalli siddseethepalli self-assigned this Apr 12, 2026
@siddseethepalli siddseethepalli merged commit 026b4f9 into main Apr 12, 2026
1 check passed
@siddseethepalli siddseethepalli deleted the swarm/revf/task-1 branch April 12, 2026 23:02
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

Here are some automated review suggestions for this pull request.

Reviewed commit: f4e471d1d1

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

siddseethepalli added a commit that referenced this pull request Apr 12, 2026
The cache key helper introduced in #25048 expects a String for toolCallID, but ToolCallData.id is a UUID. Use .uuidString to bridge the types and unbreak the macOS build + tests.
siddseethepalli added a commit that referenced this pull request Apr 12, 2026
The cache key helper introduced in #25048 expects a String for toolCallID, but ToolCallData.id is a UUID. Use .uuidString to bridge the types and unbreak the macOS build + tests.
@siddseethepalli
Copy link
Copy Markdown
Contributor Author

Addressed in #25092

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