Skip to content

Add extra config to StoredThread, leave empty for now#27092

Merged
kumquatexpress merged 1 commit into
mainfrom
add-extra-config-empty
Jun 9, 2026
Merged

Add extra config to StoredThread, leave empty for now#27092
kumquatexpress merged 1 commit into
mainfrom
add-extra-config-empty

Conversation

@kumquatexpress

Copy link
Copy Markdown
Contributor

No description provided.

@kumquatexpress kumquatexpress requested a review from a team as a code owner June 9, 2026 00:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

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: 211daa85d0

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

permission_profile_from_metadata_value(&metadata.sandbox_policy, metadata.cwd.as_path());
StoredThread {
thread_id: metadata.id,
extra_config: None,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Badge Preserve extra config in local thread reads

When a caller starts a session with config.extra_config = Some(...), Session now passes it into CreateThreadParams, but the default local store reconstructs every StoredThread with extra_config: None. That makes the new StoredThread.extra_config field observable only in the in-memory test store and drops it for real persisted threads after any read/list/resume path, so consumers cannot rely on the field surviving thread creation.

Useful? React with 👍 / 👎.

@bolinfest bolinfest self-requested a review June 9, 2026 00:24
@kumquatexpress kumquatexpress enabled auto-merge (squash) June 9, 2026 00:24
@kumquatexpress kumquatexpress disabled auto-merge June 9, 2026 00:24
@kumquatexpress kumquatexpress enabled auto-merge (squash) June 9, 2026 00:24
@kumquatexpress kumquatexpress merged commit e127a0c into main Jun 9, 2026
31 checks passed
@kumquatexpress kumquatexpress deleted the add-extra-config-empty branch June 9, 2026 00:38
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 9, 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