Skip to content

test(desktop): wait for worker route before pairing - #1093

Merged
nixuuu merged 1 commit into
devfrom
fix/repair-failed-build
Nov 21, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/repair-failed-build

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

The macOS Desktop smoke for nightly.13 observed two online workers, then lost one between reads while the remote worker switched to its Network access route.

Wait for the remote worker to save its verified route before pairing restarts it. Check both expected worker IDs in the gateway response that satisfies the readiness check.

Verification

  • All five tests in apps/desktop/test/runtime.integration.test.ts passed locally on Linux under check:tmp, using the packaged runtime from Release 44942359867.
  • Focused formatting and lint passed.
  • The next scheduled Release that builds Desktop will exercise the revised smoke on macOS. The rerun of nightly.13 passed with the original test.

Related run: https://github.com/itsoltech/canopy/actions/runs/44942359867

@nixuuu
nixuuu enabled auto-merge (squash) November 21, 2026 20:24
@nixuuu
nixuuu merged commit 6a5b71e into dev Nov 21, 2026
9 checks passed
@nixuuu
nixuuu deleted the fix/repair-failed-build branch November 21, 2026 20:26
nixuuu added a commit that referenced this pull request Nov 22, 2026
Stable v0.6.0 packaging built Linux ARM64 into `linux-arm64-unpacked`,
but the release workflow looked for the runtime under `linux-unpacked`.
The missing archive also failed the downstream ARM64 smoke job.

- Archive the Linux ARM64 runtime from the architecture-specific
Electron Builder output.
- Verify the notices produced by the prepared build. Current builds must
package both generated notices. The historical v0.6.0 build must package
its Markdown notice.
- Run Desktop smoke tests against source from `EXPECTED_SHA`. The
runtime tests import Desktop controller code, so the source and packaged
sidecars must be from the same revision. Testing the v0.6.0 artifact
with the newer controller produced a cross-origin 403 that the matching
stable source did not reproduce.

After merge, dispatch Release from `dev` against the existing stable
SHA. The Mac smoke retry retains the tests of that revision. Nightly
builds that include #1093 exercise its worker-route readiness fix.

Related: #1050

[Failed stable
release](https://github.com/itsoltech/canopy/actions/runs/45037782422)

## Verification

- Ran the archive step against Linux ARM64, Linux x64 and macOS ARM64
runtime directories and verified the contents.
- Inspected the v0.6.0 Linux build artifact and confirmed it contains
the Markdown notice and predates both generated files.
- Nine packaging verification tests passed under `check:tmp`. Focused
formatting, lint and diff checks passed.
- Verified that the recovery dry run selects the existing v0.6.0 tag and
passes the public beta SHA check.
- GitHub CI and stable recovery cover the remaining native checks and
publication.
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