Skip to content

fix binaries create bundle-creation convenience codepath#235

Merged
lee-reinhardt merged 1 commit intomainfrom
lee-eng-1279
Feb 13, 2026
Merged

fix binaries create bundle-creation convenience codepath#235
lee-reinhardt merged 1 commit intomainfrom
lee-eng-1279

Conversation

@lee-reinhardt
Copy link
Member

No description provided.

Copy link

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 fixes the binaries create “fetch-or-create bundle” convenience path by constructing version-correct bundle creation parameters for Peridio API v1 vs v2.

Changes:

  • Split bundle param construction into create_bundle_params_v1 and create_bundle_params_v2.
  • Fix API v2 bundle creation to use binary PRNs (instead of artifact version PRNs).
  • Add unit tests covering both v1/v2 param mapping behavior; bump crate version to 1.7.1.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
src/api/binaries.rs Corrects bundle-create payload selection by API version and adds unit tests for v1/v2 param construction.
Cargo.toml Bumps CLI version to 1.7.1.
Cargo.lock Updates lockfile entry to match the new crate version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lee-reinhardt lee-reinhardt merged commit 9b7f2d7 into main Feb 13, 2026
7 checks passed
@lee-reinhardt lee-reinhardt deleted the lee-eng-1279 branch February 13, 2026 16:57
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