Skip to content

fix(ci): require Windows validation before release builds - #280

Merged
hyperb1iss merged 1 commit into
mainfrom
nova/owner-publication-fixture
Sep 8, 2026
Merged

fix(ci): require Windows validation before release builds#280
hyperb1iss merged 1 commit into
mainfrom
nova/owner-publication-fixture

Conversation

@hyperb1iss

@hyperb1iss hyperb1iss commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Release builders now require the Windows test job. Previously a failed Windows run could still allow artifact publication because neither builder depended on it.

The owner-publication fixture also stops treating slow filesystem completion as an ownership failure. Its one-second deadline could unwind the test while a detached publisher still used the temporary directory. A scoped publisher now joins after lock release, preserving the directory and the existing 50ms assertion that publication stays blocked during the stop request.

An injected 1.2-second publication delay reproduces the old failure and passes with the repair. All 50 runnable owner-crate tests, Clippy, formatting, four workflow contract tests, and Actionlint pass. Independent review passed and independently reran all 25 coordinator tests plus the workflow checks.

The refreshed 0.5.0 tag passed the full Windows job: 3,998 shared tests, 32 capture/input fixtures, allocation checks, and 1,808 daemon integration tests. The owner-publication regression passed on that native runner. These repairs affect tests and CI only.

Artifact builders did not depend on the Windows test job, allowing a
failed native check to coexist with publication. Require that job for
both builders and cover the dependency in the workflow contract test.

Join the owner-publication fixture after lock release instead of giving
filesystem completion one second. A scoped publisher preserves the
store during unwind and retains the existing lock-exclusion assertion.

Co-Authored-By: Nova (GPT-6) <noreply@openai.com>
@hyperb1iss
hyperb1iss merged commit e320794 into main Sep 8, 2026
17 of 19 checks passed
@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 8ad3f4f7-b631-4f65-aa80-b1ad00fff4f7

📥 Commits

Reviewing files that changed from the base of the PR and between f911c0f and f7f6435.

📒 Files selected for processing (3)
  • .github/workflows/ci.yml
  • crates/hypercolor-macos-owner/tests/coordinator_tests.rs
  • scripts/tests/macos-ci-coverage.test.mjs

📝 Walkthrough

Walkthrough

The pull request adds Windows Rust checks to two release job prerequisites, updates coverage assertions for those dependencies, and replaces timeout-based synchronization in a macOS owner concurrency test with scoped threads and explicit publication signaling.

Changes

CI release gating

Layer / File(s) Summary
Release job prerequisite checks
.github/workflows/ci.yml, scripts/tests/macos-ci-coverage.test.mjs
build-native-app and build-release now require rust-windows. The coverage test verifies both dependencies.

Owner concurrency test

Layer / File(s) Summary
Scoped publisher synchronization
crates/hypercolor-macos-owner/tests/coordinator_tests.rs
The test uses scoped threads, joins the publisher thread, and verifies publication remains blocked during the stop request without a timeout.

Estimated code review effort: 2 (Simple) | ~10 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Comment @coderabbitai help to get the list of available commands.

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.

1 participant