Skip to content

[codex] Expose workflow artifact flags on build - #92

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

[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

@KickNext KickNext commented Apr 20, 2026

Copy link
Copy Markdown

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
@ardera

ardera commented Jul 22, 2026

Copy link
Copy Markdown
Owner

AFAICT this should work now with #96

@KickNext KickNext closed this Jul 23, 2026
@KickNext
KickNext deleted the codex/expose-github-artifact-build-flags branch July 23, 2026 15:18
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