Skip to content

memories: bump rollout summary slug cap to 60#12167

Merged
jif-oai merged 2 commits intomainfrom
zuxin/slug-length
Feb 18, 2026
Merged

memories: bump rollout summary slug cap to 60#12167
jif-oai merged 2 commits intomainfrom
zuxin/slug-length

Conversation

@zuxin-oai
Copy link
Contributor

Summary

Increase the rollout summary filename slug cap from 20 to 60 characters in memory storage.

What changed

  • Updated ROLLOUT_SLUG_MAX_LEN from 20 to 60 in:
    • codex-rs/core/src/memories/storage.rs
  • Updated slug truncation test to verify 60-char behavior.

Why

This preserves more semantic context in rollout summary filenames while keeping existing normalization behavior unchanged.

Testing

  • just fmt
  • cargo test -p codex-core memories::storage::tests::rollout_summary_file_stem_sanitizes_and_truncates_slug -- --exact

@jif-oai jif-oai enabled auto-merge (squash) February 18, 2026 18:01
@jif-oai jif-oai merged commit 82d82d9 into main Feb 18, 2026
73 of 77 checks passed
@jif-oai jif-oai deleted the zuxin/slug-length branch February 18, 2026 19:15
@github-actions github-actions bot locked and limited conversation to collaborators Feb 18, 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.

2 participants