Skip to content

Install the platform-matching devpanel CLI - #316

Open
darrenoh wants to merge 4 commits into
mainfrom
cursor/platform-devpanel-binary-a776
Open

darrenoh wants to merge 4 commits into
mainfrom
cursor/platform-devpanel-binary-a776

Conversation

@darrenoh

@darrenoh darrenoh commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The original base/bin/devpanel binary is github.com/devpanel/cli/cmd/devpanel-client, from devpanel/cli. The devpanel/dp-cli releases are a different program (github.com/devpanel/devpanel-cli) and do not provide the devpanel version command the image build runs.

Image builds copy the committed platform binary and run devpanel version.

Affected images

Every variant built from the shared base stage, on linux/amd64 and linux/arm64:

  • devpanel/php:<version>-base
  • devpanel/php:<version>-secure
  • devpanel/php:<version>-advance

Changes

  • Copy base/bin/devpanel-${TARGETARCH} and run devpanel version.
  • Restored the original amd64 CLI. devpanel version prints v0.0.1 / go1.16.7.
  • Removed the devpanel/dp-cli download from image builds.

The workflow that rebuilds these binaries is in a separate pull request. The arm64 binary is still absent here, so an arm64 image build fails at the COPY of bin/devpanel-arm64 until that workflow commits it.

Verification

  • The restored base/bin/devpanel-amd64 blob matches the binary that has been in this repository since 2023, and go version -m reports github.com/devpanel/cli/cmd/devpanel-client.
  • devpanel version succeeds on that binary.
  • YAML, shell, and Dockerfile lint match the existing baselines.
Open in Web Open in Cursor 

Download the amd64 or arm64 release from devpanel/dp-cli before each
publish build and copy bin/devpanel-$TARGETARCH into the image. Native
runners no longer register QEMU; cross-architecture builds still do.

Co-authored-by: Darren Oh <darrenoh@users.noreply.github.com>
@darrenoh
darrenoh force-pushed the cursor/platform-devpanel-binary-a776 branch from 1ddba27 to f24e694 Compare November 5, 2026 17:08
cursoragent and others added 3 commits November 5, 2026 18:03
Download the latest devpanel/dp-cli release when GHCR_TOKEN is set, and
verify the committed fallback binaries with devpanel cli:version.

Co-authored-by: Darren Oh <darrenoh@users.noreply.github.com>
The original base/bin/devpanel executable is github.com/devpanel/cli/cmd/devpanel-client.
Stop downloading devpanel/dp-cli releases and rebuild both platform binaries
when that repository changes.

Co-authored-by: Darren Oh <darrenoh@users.noreply.github.com>
Image builds keep the platform-matching devpanel/cli binaries. The
workflow that rebuilds those binaries will land in its own pull request.

Co-authored-by: Darren Oh <darrenoh@users.noreply.github.com>
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