Skip to content

Commit 80ff371

Browse files
committed
ci: include the chat page in the desktop gate, scope release-PR skips to this repository, give a cache-retry boot the full deadline
1 parent ddfb948 commit 80ff371

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/scripts/desktop-live-changes.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ relevant='^(apps/desktop/|apps/realtime/'\
1717
'|apps/sim/lib/api/contracts/(chats|copilot|desktop-|mothership-|upload-sessions|workspace-file)'\
1818
'|apps/sim/app/api/(desktop|mothership|copilot|files|v2/uploads|auth|users/me)/'\
1919
'|apps/sim/app/api/workspaces/\[id\]/files/'\
20-
'|apps/sim/app/workspace/\[workspaceId\]/(home/|components/|layout\.tsx)'\
20+
'|apps/sim/app/workspace/\[workspaceId\]/(home/|chat/|components/|layout\.tsx)'\
2121
'|apps/sim/app/(layout\.tsx|desktop/)'\
2222
'|apps/sim/stores/(chat|chat-panel|panel|mothership-[a-z-]+|tool-permission|terminal|copilot-terminal|browser-session)/'\
2323
'|apps/sim/hooks/(use-mothership|use-desktop|use-chat|queries/(mothership|desktop|copilot|chats))'\

‎.github/scripts/http-e2e.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ start_app() {
9999
clear_cache
100100
retried=true
101101
launch_app "$port"
102+
started=$SECONDS
102103
continue
103104
fi
104105
echo "::error::Local $label app exited during startup."

‎.github/workflows/codeql.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
timeout-minutes: 60
8888
# Not on the staging -> main release pull request: every staging push re-syncs it with code the
8989
# staging pull requests already ran this on, and main's push and schedule still run it.
90-
if: github.event.pull_request.draft != true && github.head_ref != 'staging'
90+
if: github.event.pull_request.draft != true && !(github.head_ref == 'staging' && github.event.pull_request.head.repo.full_name == github.repository)
9191
permissions:
9292
security-events: write
9393
contents: read

‎.github/workflows/desktop-e2e.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
name: e2e
6262
# Not on the staging -> main release pull request: every staging push re-syncs it with code the
6363
# staging pull requests already ran this on, and main's push and schedule still run it.
64-
if: github.event_name != 'schedule' && github.head_ref != 'staging'
64+
if: github.event_name != 'schedule' && !(github.head_ref == 'staging' && github.event.pull_request.head.repo.full_name == github.repository)
6565
runs-on: macos-26
6666
timeout-minutes: 30
6767
steps:
@@ -182,7 +182,7 @@ jobs:
182182

183183
package-smoke:
184184
name: package-smoke
185-
if: github.event_name != 'schedule' && github.head_ref != 'staging'
185+
if: github.event_name != 'schedule' && !(github.head_ref == 'staging' && github.event.pull_request.head.repo.full_name == github.repository)
186186
runs-on: macos-26
187187
timeout-minutes: 20
188188
steps:

‎.github/workflows/helm.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
name: chart
3939
# Not on the staging -> main release pull request: every staging push re-syncs it with code the
4040
# staging pull requests already ran this on, and main's push and schedule still run it.
41-
if: github.head_ref != 'staging'
41+
if: ${{ !(github.head_ref == 'staging' && github.event.pull_request.head.repo.full_name == github.repository) }}
4242
runs-on: &runner-2vcpu ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
4343
timeout-minutes: 15
4444
steps:

0 commit comments

Comments
 (0)