Skip to content

[codex] Expose workflow artifact flags on build#92

Open
KickNext wants to merge 2 commits into
ardera:mainfrom
KickNext:codex/expose-github-artifact-build-flags
Open

[codex] Expose workflow artifact flags on build#92
KickNext wants to merge 2 commits into
ardera:mainfrom
KickNext:codex/expose-github-artifact-build-flags

Conversation

@KickNext
Copy link
Copy Markdown

@KickNext KickNext commented Apr 20, 2026

This wires the existing workflow-artifact path through to flutterpi_tool build.

The cache layer already knows how to resolve artifacts from a specific GitHub Actions run via the github-artifacts-* settings, but the build command never exposed those options on the CLI. In practice that meant issue #89 was real: the plumbing existed, but there was no way to reach it from build.

This change keeps the scope narrow:

  • add the github-artifacts-repo, github-artifacts-runid, github-artifacts-engine-version, and github-artifacts-auth-token options to flutterpi_tool build
  • add a regression test covering a build invocation that pins workflow artifacts

I did not extend this into an offline or Yocto/meta-flutter workflow. This patch is only about making the existing workflow-backed artifact selection usable from build.

Validation was split by environment. On Windows I ran the targeted build command tests plus dart analyze. For the full suite, I verified the branch in a real WSL/Linux Flutter environment and dart test passes there end-to-end. I am calling that out because the current Windows runtime still has unrelated path-separator expectation failures in test/app_builder_test.dart, and this patch does not change that behavior.

@KickNext KickNext marked this pull request as ready for review April 20, 2026 00:58
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