Skip to content

feat(actions): codegen/android-setup/ios-setup use the prebuilt binary too - #27

Merged
stephane-segning merged 1 commit into
mainfrom
claude/binary-setup-actions
Jun 28, 2026
Merged

feat(actions): codegen/android-setup/ios-setup use the prebuilt binary too#27
stephane-segning merged 1 commit into
mainfrom
claude/binary-setup-actions

Conversation

@stephane-segning

Copy link
Copy Markdown
Contributor

What

Migrate the last three actions still on dart pub get + dart runcodegen, android-setup, ios-setup — to download the prebuilt binary via install-cli.sh, like the other nine. After this, no action invokes dart directly.

They still set up Flutter; the binary just shells out to dart/flutter/build_runner for the actual codegen. The install step is gated on the same run-codegen condition in the two setup actions.

Why

Small per-run saving (the CLI's own pub-get, ~2s) plus a uniform fleet — and it removes the last reason these actions needed the Dart SDK for the CLI itself, opening the door to future simplification.

Also

  • Add docs/RELEASING.md — developer guide covering the two artifacts (CLI binary via release-cli, action tags via release-actions), the decision matrix for what to run, the load-bearing ordering (binary before moving v0), verification, and rollback.
  • README: update the "prebuilt CLI" bullet (every action now uses the binary) and replace the inline release blurb with a link to the guide.

Release note

Action-YAML + docs only — no cli-version.txt bump and no release-cli needed (Flow B in the guide). After merge: dispatch release-actions to cut the next action version and move v0.

🤖 Generated with Claude Code

…y too

The last three actions still ran the CLI via dart pub get + dart run (left that
way because they set up Flutter anyway). Switch them to download the prebuilt
binary like the other nine, so NO action resolves the CLI at runtime. They still
set up Flutter — the binary shells out to dart/flutter/build_runner for the
actual codegen. Saves the small per-run CLI pub-get and makes the fleet uniform.

Also add docs/RELEASING.md (developer guide: the CLI-binary vs action-version
artifacts, when to run release-cli vs release-actions, ordering, verify,
rollback) and update the README accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@stephane-segning
stephane-segning merged commit d4aeac2 into main Jun 28, 2026
1 check passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the android-setup, codegen, and ios-setup GitHub Actions to use the prebuilt flutter-tools CLI binary via the install-cli.sh script, eliminating the need to run dart pub get and dart run during execution. Additionally, the README has been updated, and a comprehensive release guide has been added in docs/RELEASING.md to document the release process for both the CLI binary and action tags. I have no feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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.

1 participant