Repository navigation
Fix races in the native CLI package and app disconnection tests - #249
Merged
Merged
Conversation
The package test installed the CLI once and then built both starters in a single test with one timeout. On slower native runners two healthy runs failed together, and a timeout only reported the test's name. - Each starter now installs, checks, builds and deploys in its own test. - Package commands print their command line and stream their output, so a stalled install, check or build is visible. - A timed-out test aborts its running command and waits for the process to exit before removing the files it uses. - The temporary directory is resolved first, since pnpm compares its stored path literally and macOS aliases /var to /private/var. - The missing-dependency check extracts the archive by relative name, because Windows runners may use MSYS tar, which cannot read native absolute paths.
The enhanced form keeps the URL unchanged, so the test's reload could cancel the request before the server recorded the disconnection. The test now waits until the button shows the pending removal.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | a0f92a5 | Nov 20 2026, 03:24 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two test races, carried over from #188, which is being replaced by a stack. They are independent of that feature.
Native CLI package tests
/varto/private/var.App disconnection browser test


Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
This PR separates the native CLI starter tests and waits for the disconnection result before reloading.
Reviews (1) · Last reviewed commit: "Wait for the disconnection result before..." · Reviewed by Greptile