Skip to content

Avoid redundant memory enable notice#18580

Merged
etraut-openai merged 2 commits intomainfrom
etraut/memory-warning
Apr 19, 2026
Merged

Avoid redundant memory enable notice#18580
etraut-openai merged 2 commits intomainfrom
etraut/memory-warning

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

Summary

Fixes #18554.

The /experimental menu can submit the full experimental feature state even when the user presses Enter without toggling anything. Previously, Codex showed Memories will be enabled in the next session. whenever the submitted updates included Feature::MemoryTool = true, so sessions where Memories were already enabled could show a redundant warning on a no-op save.

This change records whether Feature::MemoryTool was enabled before applying feature updates and only emits the next-session notice when Memories actually transitions from disabled to enabled.

Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai left a comment

Choose a reason for hiding this comment

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

Replicated and confirmed the fix.

@etraut-openai etraut-openai merged commit ce0e28e into main Apr 19, 2026
25 checks passed
@etraut-openai etraut-openai deleted the etraut/memory-warning branch April 19, 2026 20:48
@github-actions github-actions bot locked and limited conversation to collaborators Apr 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/experimental shows redundant "Memories will be enabled in the next session" warning when Memories is already enabled

2 participants