Skip to content

Keep compaction and Structured Outputs checks across the getter migration - #1371

Merged
dpiet-oai merged 3 commits into
nextfrom
next-compaction-getter-fixtures
Nov 10, 2026
Merged

dpiet-oai merged 3 commits into
nextfrom
next-compaction-getter-fixtures

Conversation

@dpiet-oai

@dpiet-oai dpiet-oai commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Keep the archived compaction and Structured Outputs compatibility checks executable when Java next adopts optional primary getters and throwing accessors.

The compaction helper retains the historical GA and beta output assertions and the trigger tag assertion. The Structured Outputs detector keeps the current baseline. On pull requests and merge groups targeting next, loss of a listed getter requires the complete successor getter profile from the trusted base. It checks the generic public declaration and JVM descriptor for both accessors and the raw constant readers. The proposed manifest still has to match the compiled classes exactly.

The compiled Structured Outputs inventory changes from 654 descriptors to 724 across the same 15 classes. Five wrappers account for all 22 replacements and 92 additions. The other 632 descriptors remain required. The 37 policy tests passed. An artifact replay checked five branch/event modes, rejected individual removals of all 135 successor declarations, and checked populated, absent and null values through a real structured wrapper. The compaction tests also rejected wrong GA and beta IDs and a wrong trigger tag.

@dpiet-oai
dpiet-oai requested a review from a team November 10, 2026 22:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T23:21:59.653782Z b3be793 New commits
🔒 Security Review ✅ Completed 2026-11-10T23:22:21.006916Z b3be793 New commits
ℹ️ 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" or "@codex security review".

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
jbeckwith-oai previously approved these changes Nov 10, 2026

@jbeckwith-oai jbeckwith-oai 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.

Approved after coordinator and independent static review. Reviewed all three changed files and the compatibility-policy caller. Migration remains restricted to next and matching old/new list-accessor transitions; both the policy and selected patch come from the trusted base. The optional-getter adaptation preserves message IDs, exact list cardinality and the compaction trigger assertion through JsonValue normalization. Archived staging and symlink checks remain intact, and regressions preserve working/proposed fixtures while rejecting candidate-supplied patch content. No actionable findings.

Reviewed commit: a8d4b8a. Hosted CI: 4 in_progress, 2 success. No candidate code, generators, patch replay or local tests executed.

@dpiet-oai
dpiet-oai requested a review from a team November 10, 2026 23:20
@dpiet-oai dpiet-oai changed the title Keep archived compaction assertions across the getter migration Keep compaction and Structured Outputs checks across the getter migration Nov 10, 2026

@jbeckwith-oai jbeckwith-oai 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.

Reviewed b3be793. The next-only getter migration now checks exact generic declarations and JVM descriptors against the trusted baseline profile, retains unrelated compatibility failures, and preserves the prior compaction-fixture assertions. All seven authored files are unchanged by the merge from next. No actionable findings. Hosted CI currently has four successful and two in-progress checks. Static review only; no candidate code or local tests executed.

Exact commit b3be793. Coordinator and independent static review; no candidate code, builds or local tests executed. Hosted checks at publication: 5 in_progress, 3 queued, 5 success.

@dpiet-oai
dpiet-oai merged commit 7607795 into next Nov 10, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants