Skip to content

Fix build exit status for circuit errors while retaining artifacts - #4715

Merged
seveibar merged 1 commit into
mainfrom
fix/build-error-exit-status-4707
Sep 11, 2026
Merged

Fix build exit status for circuit errors while retaining artifacts#4715
seveibar merged 1 commit into
mainfrom
fix/build-error-exit-status-4707

Conversation

@seveibar

Copy link
Copy Markdown
Contributor

Builds containing circuit errors now exit 1 and count affected circuits as failed, while retaining generated artifacts and reporting “Build completed with errors.” Artifact generation still completes before the final exit status is applied. Warnings and explicitly ignored errors continue to exit 0.

Adds regression coverage for serial and parallel builds, mixed passing/failing circuits, warnings, ignored errors, and retention of circuit JSON and PCB SVG output. Updates existing DRC expectations.

Validation: 9 regression tests pass (34 assertions, 2 snapshots); CLI build, formatting checks, and git diff --check pass.

Fixes #4707.

@seveibar
seveibar merged commit e1a7f87 into main Sep 11, 2026
10 checks passed
@seveibar
seveibar deleted the fix/build-error-exit-status-4707 branch September 11, 2026 18:05
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.

tsci build exits 0 and counts a circuit as passed when a trace targets a nonexistent component

1 participant