Skip to content

fix(build): add top level links to binaries#1382

Merged
mvachhar merged 1 commit intomainfrom
pr/daniel-noland/fix-cli
Mar 24, 2026
Merged

fix(build): add top level links to binaries#1382
mvachhar merged 1 commit intomainfrom
pr/daniel-noland/fix-cli

Conversation

@daniel-noland
Copy link
Collaborator

It seems that we need dataplane, init, and the cli available from /

It seems that we need dataplane, init, and the cli available from /

Signed-off-by: Daniel Noland <daniel@githedgehog.com>
@mvachhar mvachhar marked this pull request as ready for review March 24, 2026 16:07
@mvachhar mvachhar requested a review from a team as a code owner March 24, 2026 16:07
@mvachhar mvachhar requested review from Copilot and sergeymatov and removed request for a team March 24, 2026 16:07
@mvachhar mvachhar enabled auto-merge March 24, 2026 16:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Nix build output layout so key executables are reachable from the filesystem root (/) in addition to /bin, matching environments/tools that expect those paths.

Changes:

  • Add root-level symlinks for dataplane, cli, and dataplane-init in the tarball staging directory.

ln -s "${workspace.cli}/bin/cli" "$tmp/bin/cli"
ln -s "${workspace.init}/bin/dataplane-init" "$tmp/bin/dataplane-init"
ln -s "${workspace.dataplane}/bin/dataplane" "$tmp/dataplane"
ln -s "${workspace.cli}/bin/cli" "$tmp/dataplane-cli"
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

confidence: 9
tags: [logic]

The PR description says the CLI should be available from "/", but the new top-level symlink is named "dataplane-cli" while the actual binary is "cli" (and there are no other references to a "/dataplane-cli" path in the repo). This likely won’t satisfy callers expecting "/cli".

Consider linking the CLI to "$tmp/cli" (or otherwise align the top-level filename with the intended contract) to make the CLI available at the expected path.

Copilot uses AI. Check for mistakes.
@mvachhar mvachhar added this pull request to the merge queue Mar 24, 2026
Merged via the queue into main with commit a722b5d Mar 24, 2026
22 checks passed
@mvachhar mvachhar deleted the pr/daniel-noland/fix-cli branch March 24, 2026 16:48
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.

3 participants