Skip to content

app-server-protocol: export flat v2 schema bundle#13324

Merged
apanasenko-oai merged 2 commits intomainfrom
anton_panasenko_prepare_export
Mar 3, 2026
Merged

app-server-protocol: export flat v2 schema bundle#13324
apanasenko-oai merged 2 commits intomainfrom
anton_panasenko_prepare_export

Conversation

@apanasenko-oai
Copy link
Collaborator

Summary

  • add an --experimental flag to the export binary and thread the option through TypeScript and JSON schema generation
  • flatten the v2 schema bundle into a datamodel-code-generator-friendly codex_app_server_protocol.v2.schemas.json export
  • retarget shared helper refs to namespaced v2 definitions, add coverage for the new export behavior, and vendor the generated schema fixtures

Validation

  • cargo test -p codex-app-server-protocol (71 unit tests and bin targets passed locally; the final schema fixture integration target was revalidated via fresh schema regeneration and a tree diff)
  • ./target/debug/write_schema_fixtures --schema-root <tmpdir>
  • diff -rq app-server-protocol/schema <tmpdir>

Tickets

  • None

@apanasenko-oai apanasenko-oai marked this pull request as ready for review March 3, 2026 03:44
@apanasenko-oai apanasenko-oai force-pushed the anton_panasenko_prepare_export branch from 43ae230 to 68eeaed Compare March 3, 2026 03:46
Copy link
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: 43ae230d2b

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

@apanasenko-oai apanasenko-oai force-pushed the anton_panasenko_prepare_export branch from 68eeaed to 2c5f735 Compare March 3, 2026 04:11
@apanasenko-oai
Copy link
Collaborator Author

@codex

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. Hooray!

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

@apanasenko-oai apanasenko-oai merged commit 8da7e4b into main Mar 3, 2026
91 of 97 checks passed
@apanasenko-oai apanasenko-oai deleted the anton_panasenko_prepare_export branch March 3, 2026 18:25
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 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