Skip to content

[sdk] F: Use required build image type#329

Merged
ppenna merged 1 commit into
mainfrom
fix/sdk-only-image-type
Jul 13, 2026
Merged

[sdk] F: Use required build image type#329
ppenna merged 1 commit into
mainfrom
fix/sdk-only-image-type

Conversation

@ppenna

@ppenna ppenna commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Remove the unreachable optional SDK image guard under zutils v0.16.1. Pyright and Black pass.

Remove the unreachable optional guard now that canonical SDK manifests are mandatory.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3a354ddf-0f65-44b2-a2cb-81d4662a3587
Copilot AI review requested due to automatic review settings July 13, 2026 08:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 simplifies the SDK build-image selection logic in the Nanvix Python build script by removing a now-unreachable None guard for the SDK Docker image reference (per the updated zutils behavior noted in the PR description).

Changes:

  • Removed the sdk_image is None fatal guard before invoking docker run for bytecode precompilation.
Show a summary per file
File Description
.nanvix/src/build.py Removes an unreachable validation branch and relies on the toolchain’s required SDK build image reference when running the SDK container.

Review details

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@ppenna ppenna merged commit e2f95d8 into main Jul 13, 2026
12 checks passed
@ppenna ppenna deleted the fix/sdk-only-image-type branch July 13, 2026 08:23
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