Repository navigation
improvement(desktop): Electron E2E for desktop tool lifetimes against a live local Sim #8697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,634
−0
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
f383b8c
improvement(desktop): Electron E2E for desktop tool lifetimes against…
waleedlatif1 5f452e2
improvement(desktop): use shared helpers, confirm Redis MONITOR, stag…
waleedlatif1 691096d
improvement(desktop): bundle the desktop app without macOS prebuilds …
waleedlatif1 b09c458
improvement(desktop): report desktop E2E failures inline and trace ru…
waleedlatif1 35c01b1
improvement(desktop): run the live desktop E2E in its own job on a la…
waleedlatif1 4e3a48d
improvement(desktop): warm the live desktop E2E routes and wait on ou…
waleedlatif1 6e3a4ec
improvement(desktop): retype and resend a message the hydrating compo…
waleedlatif1 98bcecf
improvement(desktop): run the live desktop E2E against the merged bac…
waleedlatif1 f890834
improvement(desktop): release the held read at the moment its view le…
waleedlatif1 a2099ff
improvement(desktop): read the chat body's desktop capabilities with …
waleedlatif1 93e866d
improvement(desktop): hold the read's own report across Stop, dismiss…
waleedlatif1 a23ab4e
improvement(desktop): stop the live E2E apps by their E2E_APP tags
waleedlatif1 ea86d97
improvement(desktop): deliver the claim held across Stop to Sim even …
waleedlatif1 d6dc0eb
improvement(desktop): warm every route the live E2E reaches, keep sen…
waleedlatif1 da77efd
improvement(desktop): wait with the shared sleep helper while the dev…
waleedlatif1 aa313ff
improvement(ci): detect live desktop suite changes with git, covering…
waleedlatif1 5370c79
improvement(ci): run the live desktop suite unless every change is cl…
waleedlatif1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| #!/usr/bin/env bash | ||
| # Prints `changed=false` only when every file a pull request changes is clearly unrelated to the | ||
| # live desktop suite, and `changed=true` otherwise, including when the diff cannot be worked out. | ||
| # | ||
| # Usage: desktop-live-changes.sh <base-sha> | ||
| set -u | ||
|
|
||
| unrelated='^(apps/docs/|apps/pii/|apps/sim/content/|packages/(python-sdk|ts-sdk)/)|\.mdx?$|(^|/)LICENSE$' | ||
|
|
||
| base=${1:-} | ||
| run() { | ||
| echo "changed=true" | ||
| echo "Running the live desktop suite: $1" >&2 | ||
| exit 0 | ||
| } | ||
| [ -n "$base" ] || run 'no base commit' | ||
| git fetch --quiet --depth=1 origin "$base" || run "could not fetch $base" | ||
| names=$(git diff --name-only "$base" HEAD) || run "could not diff against $base" | ||
| [ -n "$names" ] || run 'no changed files listed' | ||
| if printf '%s\n' "$names" | grep -qvE "$unrelated"; then | ||
| run 'a change may affect it' | ||
| fi | ||
| echo "changed=false" | ||
| echo 'Skipping the live desktop suite: every change is unrelated to it' >&2 |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.