Skip to content

Export Guardian prompt cache key helper#24892

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

Export Guardian prompt cache key helper#24892
jif-oai merged 1 commit into
mainfrom
jif/guardian-module-cache-key-export

Conversation

@jif-oai

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

Copy link
Copy Markdown
Collaborator

Split from the Guardian prompt cache key change. This PR only updates codex-rs/core/src/guardian/mod.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:33

@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: 7e191176f1

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

pub(crate) use review::routes_approval_to_guardian;
pub(crate) use review::spawn_approval_request_review;
pub(crate) use review_session::GuardianReviewSessionManager;
pub(crate) use review_session::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 Add the helper before re-exporting it

This re-export makes codex-core fail to compile when this split PR is built by itself: repo-wide search in this commit finds no prompt_cache_key_override_for_review_session definition in review_session (or elsewhere), so Rust reports an unresolved import here. If the helper lives in a companion PR, this commit needs to include that definition or avoid exporting it until the dependency lands.

Useful? React with 👍 / 👎.

@jif-oai jif-oai merged commit bf4978a into main May 28, 2026
12 of 29 checks passed
@jif-oai jif-oai deleted the jif/guardian-module-cache-key-export 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