Repository navigation
Build the Store client before the packaged e2e in a release rehearsal - #256
Merged
Merged
Conversation
The Release workflow builds @modex/store-desktop before running e2e against the packaged app, but the rehearsal step in release-signing.md did not. scripts/release-mac.sh and the desktop build never build the client, so in the v0.1.0 rehearsal the Store specs waited out the 90-second launch timeout and failed. The rehearsal step now builds it first, as the workflow does. The Store specs get the client's directory from storeClientDir(), which fails at once with the command to run when the client's built entry point is missing. Coven-Harness: Claude Code / claude-opus-5-5
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
The
Releaseworkflow builds@modex/store-desktopbefore it runs e2e against the packaged app (release.yml, "E2E against the packaged app"). The local rehearsal step indocs/release-signing.mddid not.scripts/release-mac.shand the desktop build never build the Store client, so in the v0.1.0 rehearsal every Store spec waited out its 90-second launch timeout and failed.MODEX_PACKAGED_APP=… pnpm test:e2e, as the workflow does, and says why.store-demo,store-desktopandworkspace-storeget the client directory from a newstoreClientDir()ine2e/support.ts. It throws at once with the command to run when the client's built entry point (mainin itspackage.json) is missing.Verified locally
store-demo.spec.tsfails in 3.4 s with "The Store client is not built. Runpnpm --filter @modex/store-desktop buildfirst." Before, it waited out the launch timeouts.pnpm --filter @modex/store-desktop build, all 10 cases in the three Store specs pass.pnpm build && pnpm test: script tests 107/107, desktop 1,419 passed and 16 skipped, desktop extras 21/21, site 10/10, Store desktop 16/16. The one exception isdemo waits for a slow turn…, a 5-second-budget test that timed out at a load average of about 45 and passes when rerun alone.Coven-Harness: Claude Code / claude-opus-5-5