Skip to content

feat(setup): stream versioned apply events - #226

Merged
ss-o merged 2 commits into
mainfrom
feature-225
Sep 20, 2026
Merged

ss-o merged 2 commits into
mainfrom
feature-225

Conversation

@ss-o

@ss-o ss-o commented Sep 20, 2026

Copy link
Copy Markdown
Member

This PR implements versioned streaming apply events for setup.sh.

Optional Event Artifacts & Cancellation Limit

  • When --events DIR is provided to setup.sh apply, machine-readable streaming event artifacts adhering to the zi-setup-event-v1 format are published atomically for active operations (started, succeeded, failed) into six-digit sequence directories (000001, 000002, ...). When --events is omitted, results are published only at phase completion or failure.
  • Under ordinary cancellation after an operation has started, the engine publishes a failed event, removes staging directories, and exits with status 6. In the narrow cancellation limit where a signal interrupts event publication itself, the terminal event may be omitted while cleanup and exit status 6 remain.

CI Coverage

  • Remove the Cygwin installer workflow, which duplicated the full installer suite and four install scenarios at a cost of about 7 to 8 minutes per run.
  • Linux and macOS continue to exercise the complete installer and loader suites, including ShellCheck, all installer fixtures, profile installs, and the native module smoke test.

Dependency Order

Merge consumer PRs 655, 924, and 569 first:

Closes #225

[installer-impact:cli-profile-behavior] updated here
[installer-impact:output-status-messages] updated here
[installer-impact:zshrc-setup-entrypoint] updated here
[installer-impact:companion-asset-checksum] updated here
[installer-impact:plan-apply-receipts] updated here
[installer-impact:configuration-targets] updated here

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 20, 2026

Copy link
Copy Markdown

Deploying src with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6e6435e
Status: ✅  Deploy successful!
Preview URL: https://1efc5450.zi-src.pages.dev
Branch Preview URL: https://feature-225.zi-src.pages.dev

View logs

Remove the slow duplicate Cygwin run while retaining the complete installer and loader suites on Linux and macOS.\n\nRefs: #225
@ss-o
ss-o merged commit d262ede into main Sep 20, 2026
14 checks passed
@ss-o
ss-o deleted the feature-225 branch September 20, 2026 19:33
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.

Publish structured apply progress events for Zi Setup

1 participant