Skip to content

flash: --build/--repo/--ref flash a build uploaded to embeddedci.com - #26

Merged
wardviaene merged 1 commit into
mainfrom
flash-uploaded-builds
Oct 12, 2026
Merged

wardviaene merged 1 commit into
mainfrom
flash-uploaded-builds

Conversation

@wardviaene

Copy link
Copy Markdown
Member

benchpod flash gets --build (id or latest), --repo, --ref, --artifact and --server-side, to flash a build uploaded to embeddedci.com instead of a --file.

  • Over embeddedci.com (--connection embeddedci:<pod>): the server runs OpenOCD through the pod, so a cloud pod can now be flashed from the CLI with no local OpenOCD. --file over the cloud still refuses, now pointing to --build.
  • Network/USB: the file is downloaded to a temp dir and flashed by the local OpenOCD, as before.
  • Local-only flags (--no-verify, --no-reset, --keep-reset-init, --openocd, -c, --openocd-arg) are refused for a server-side flash.
  • New serverapi methods: ResolveBuildArtifact, DownloadBuildArtifact, FlashDevice.

Needs the server change in embeddedci-com/embeddedci-server (flash-uploaded-builds) deployed before release. Not released.

🤖 Generated with Claude Code

`benchpod flash` can flash a build uploaded with the upload-artifact action
or the pytest build_report fixture instead of a local --file. Over
embeddedci.com (--connection embeddedci:<pod>) the server runs OpenOCD
through the pod, so a cloud pod can now be flashed from the CLI; on the
network or USB the file is downloaded and flashed by the local OpenOCD.
--artifact picks a file, --server-side forces one path. The server picks
the artifact (newest matching build; .elf, then .hex, then .bin) and an
omitted --target falls back to the one the build recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene merged commit 2cd1758 into main Oct 12, 2026
2 checks passed
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