Skip to content

Drop single-process and multi-process deployment modes; keep only standalone#109

Merged
ppenna merged 1 commit into
nanvix/v2.12.9from
copilot/drop-single-multi-process-support
Jul 10, 2026
Merged

Drop single-process and multi-process deployment modes; keep only standalone#109
ppenna merged 1 commit into
nanvix/v2.12.9from
copilot/drop-single-multi-process-support

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown

Removes the single-process and multi-process Nanvix deployment modes from the build/CI tooling, leaving standalone as the only supported mode.

Changes

  • .nanvix/nanvix.toml — Build matrix modes = ["standalone"].
  • .github/workflows/nanvix-ci.ymlprocess-modes and skip-full-test-modes set to ["standalone"] in both the ci and ci-scheduled jobs.
  • .nanvix/z.py
    • test() — dropped the non-standalone else branch that routed multi/single-process modes through the Makefile test targets; non-Windows now always runs the standalone functional test.
    • _run_tests_windows() — removed the "skip if not standalone" guard and the docstring naming the dropped modes.

Intentionally untouched

.nanvix/Makefile.nanvix uses a generic $(PROCESS_MODE) (now always standalone), never names the dropped modes, and is still used by the build/install targets. Removing its now-unused test targets would orphan the generic PLATFORM/PROCESS_MODE/MEMORY_SIZE required vars, which are unrelated to the modes being dropped.

Notes

deployment_mode defaults to standalone in nanvix-zutil, and the standalone Linux/Windows test paths already bypass the Makefile, so CI (Linux + Windows) and local ./z build / ./z test behavior for standalone is unchanged.

Copilot AI review requested due to automatic review settings July 10, 2026 15:56
Copilot AI removed the request for review from Copilot July 10, 2026 15:56
@ppenna
ppenna marked this pull request as ready for review July 10, 2026 15:59
Copilot AI review requested due to automatic review settings July 10, 2026 15:59

Copilot AI left a comment

Copy link
Copy Markdown

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 Nanvix build/CI integration to remove the single-process and multi-process deployment modes from the repo’s configuration and CI matrix, leaving standalone as the only intended execution path.

Changes:

  • Restricts the Nanvix build matrix to modes = ["standalone"].
  • Updates the GitHub Actions Nanvix CI workflow inputs to run only standalone.
  • Simplifies .nanvix/z.py test execution to always run the standalone functional test path.
Show a summary per file
File Description
.nanvix/z.py Removes non-standalone test routing and simplifies Windows test logic for the standalone-only workflow.
.nanvix/nanvix.toml Drops single-process and multi-process from the build matrix, leaving only standalone.
.github/workflows/nanvix-ci.yml Updates CI workflow inputs (process-modes, skip-full-test-modes) to only include standalone.

Review details

Tip

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

  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Low

Comment thread .nanvix/z.py
Comment on lines +174 to +175
self._validate_test_targets()
self._run_functional_standalone()
Comment thread .nanvix/z.py
)
return

sysroot_path = Path(self._get_sysroot())
@ppenna
ppenna merged commit 26496cd into nanvix/v2.12.9 Jul 10, 2026
14 checks passed
@ppenna
ppenna deleted the copilot/drop-single-multi-process-support branch July 10, 2026 16:32
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