Skip to content

Thread Guardian cache key through session#24895

Merged
jif-oai merged 1 commit into
mainfrom
jif/session-guardian-cache-key
May 28, 2026
Merged

Thread Guardian cache key through session#24895
jif-oai merged 1 commit into
mainfrom
jif/session-guardian-cache-key

Conversation

@jif-oai
Copy link
Copy Markdown
Collaborator

@jif-oai jif-oai commented May 28, 2026

Split from the Guardian prompt cache key change. This PR only updates codex-rs/core/src/session/session.rs. Validation was not run per request; this branch is expected to rely on the companion split PRs.

@jif-oai jif-oai requested a review from a team as a code owner May 28, 2026 10:34
Copy link
Copy Markdown
Contributor

@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: 5ecbbfa35b

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

Comment on lines +1038 to +1039
.with_prompt_cache_key_override(
crate::guardian::prompt_cache_key_override_for_review_session(
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.

P1 Badge Restore missing cache-key API before calling it

In this standalone commit, the new chain calls ModelClient::with_prompt_cache_key_override and guardian::prompt_cache_key_override_for_review_session, but neither symbol exists anywhere under codex-rs in this commit; git grep finds only this callsite. Any build of codex-core after applying just this split PR fails before tests, so this session-threading change cannot land independently of the companion API definitions.

Useful? React with 👍 / 👎.

@jif-oai jif-oai merged commit 4b9eda6 into main May 28, 2026
12 of 29 checks passed
@jif-oai jif-oai deleted the jif/session-guardian-cache-key branch May 28, 2026 10:36
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 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.

1 participant