Repository navigation
test: scope the compatibility exception for session budget removal - #1416
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Implementation review: approved at 03a01da666c169eecea4d2d24dbd0d54e92f18aa. Independently verified both pinned test trees against #1414 and the exact 16-file beta/agents test migration, and consolidated a second static review. The full test-root pins and archive-attribute guard keep the migration narrow; other tracked test changes fall back to the historical baseline. Baseline support fixtures, compatibility policy, compilation and signature checks remain enforced. CI executes the target-branch detector first, so this policy must land separately before #1414 can use it, and the exception stops matching once the migrated tree becomes the base. No actionable implementation findings.
This code review does not grant the separately requested owner acceptance of the intentional alpha API break, waive failing checks, or authorize merging #1414. That decision remains outstanding; this policy does not restore source compatibility for existing callers.
Hosted checks at publication: {'SUCCESS': 7, 'IN_PROGRESS': 6}; remaining checks are pending. Static review only; no candidate code or local tests executed.
|
Thanks for the implementation review. One decision remains before landing this policy: does the SDK owner accept that existing Java code using the alpha session Could the responsible SDK owner please record an explicit accept/decline here, or identify who needs to decide? If declined, both PRs should stay open and unmerged. If accepted, the order is this policy first, then a fresh green CI run on #1414. No check bypass is requested. |
|
Recording the PR author's compatibility decision separately from the implementation review: @markstuart-oai, a member of this repository's SDK code-owner team, explicitly accepted the source break for the alpha session-budget surface, including spend controls. This covers the exact removal in #1414; callers naming those removed members will need to change. No broader compatibility exception was requested or accepted. That is the author's decision, not a claim that the implementation reviewer approved the breaking change or that the author has provided an independent second approval. If a designated non-author policy owner must also sign off, please identify that requirement here before merge. Normal CI remains required on #1414 after this policy lands. |
03a01da to
32fa9ef
Compare
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Implementation review: approved at 32fa9ef74130b648ac987a4cb37b5573b6ec5da2. Re-reviewed the refreshed test-tree pins and consolidated an independent static review. The detector differs from the previously approved implementation only in the two pinned hashes. Verified the baseline and independently reconstructed the proposed tree from the exact previously reviewed 16-file alpha agent migration; the new CSAM tests remain unchanged and covered. Archive-attribute and tracked-test guards, baseline policy/support fixtures, compilation and signature checks, and automatic expiry remain intact. No actionable implementation findings.
The author has separately recorded their compatibility acceptance; this review assesses implementation and does not grant additional policy consent or waive CI. The policy must land first, then the dependent SDK change must refresh and pass normal checks.
Hosted checks at publication: {'queued': 1, 'success': 12, 'in_progress': 1}. Static review only; no candidate code or local tests executed.
Old callers of the alpha session-budget API will stop compiling after #1414. That break is intentional; this PR asks the SDK owners to accept only that migration. It does not make the removed methods backward compatible.
The detector normally compiles test sources from the target branch against the proposed SDK. For #1414 it uses the reviewed replacements only when both the old and new test directories match their recorded Git tree IDs. Exactly 16 test files differ, all under
beta/agents. If another test changes, Git's archive rules change, or the rollback is already on the base branch, the exception does not apply. The detector still compiles the tests and runs the signature checks. No SDK code or CI workflow changes.I ran the full compatibility check locally against #1414: it passed. The compiler still rejected a deliberately broken call in the unrelated
FunctionDefinitiontest. I also verified that changing another test or adding anexport-ignorerule kept the original baseline, and that the exception stopped applying after the rollback.Merge order: review and land this policy first, then refresh #1414 and require its GitHub check to pass. CI loads its policy from the target branch, so #1414 cannot exempt itself. Keep the rule through #1414. Removing it in that PR would make CI also run the unmodified detector against the old tests and fail again. Once #1414 lands, the new baseline stops matching and a follow-up can delete the rule.