Handle fork PR desktop perf runs and harden trace shutdown

- Run desktop perf tests on forked pull requests without posting PR summaries
- Restrict PR summary posting to same-repo pull requests
- Add timeout-wrapped trace stop logic and guarded cleanup to avoid hangs
This commit is contained in:
Julius Marminge committed 2026-02-16 08:41:15 -08:00
1 parent 7fb2051e67
commit af40c4aa5a
2 files changed
+46 -6

No files matched your search

+5 -1
View File
@@ -57,8 +57,12 @@ jobs:
if: github.event_name != 'pull_request'
run: xvfb-run -a bun run test:desktop-perf
- name: Desktop perf trace test (fork PR)
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
run: xvfb-run -a bun run test:desktop-perf
- name: Desktop perf trace test and PR summary
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
env:
GH_TOKEN: ${{ github.token }}
run: xvfb-run -a bun run test:desktop-perf:post