Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new codex_release tool package under tool/codex_release to automate building, validating, and releasing the Dart and Flutter Codex plugin zip. The package includes scripts for building, releasing, and validating the plugin against OpenAI's package rules, along with comprehensive unit tests. Feedback on the changes suggests improving error handling and efficiency: specifically, caching the parsed manifest in Release to avoid redundant parsing and catching potential format or file system exceptions during manifest reading to prevent unhandled crashes.
Share one manifest reader between build and release that reports a missing file, invalid JSON, or a non-object as a BuildException, and parse the manifest once per release run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds tooling to build, validate, and release the zip for the Dart and Flutter Codex plugin, which is uploaded to the OpenAI plugin submission portal. This implements the "Codex Plugin Release Packaging" design doc.
The zip is a skills-only build of the plugin.
What's included
tool/codex_release/: a new workspace package (same layout as tool/generator/).
The zip only contains committed skill files and the images the manifest references. Entries have a fixed timestamp, so rebuilding a commit in CI produces an identical zip.
--dry-run runs the checks, then builds and validates locally without creating a tag.
.github/workflows/release_codex_plugin.yaml
Releasing
Then upload dist/dart-flutter-codex-.zip in the portal, resolve any findings, submit for review, and publish after approval. See tool/codex_release/README.md.
Testing
End-to-end run on my fork (keertip/agent-plugins) with a test version, 1.0.7-rc1, from a branch:
--dry-run passed;
the real run pushed codex-plugin-v1.0.7-rc1, the workflow built and validated the zip, and the script downloaded it;
the downloaded zip has the expected 34 files and passes validation, and its manifest has no MCP references.
A build from main passes validation, including the square logo and 30-character short description from #254.
Not covered yet
A "Releasing the Codex plugin" section for CONTRIBUTING.md will follow in a separate PR, after the first release.
Failure issues aren't assigned to anyone until release owners are named.