Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
890fff8
Fix waiter for room to be ready
backspace Apr 9, 2026
cb74ce8
Add CI hack to repeatedly exercise test
backspace Apr 9, 2026
5e18850
Increase test timeout and fix report merge for repeated CI runs
backspace Apr 9, 2026
391b1be
Upload blob reports from all repeats and flatten before merge
backspace Apr 9, 2026
a9a2709
Use test.setTimeout() for per-test timeout (fixes Playwright API usage)
backspace Apr 9, 2026
92bf035
Add empty commit
backspace Apr 9, 2026
716d2e8
Add empty commit
backspace Apr 10, 2026
2f087f6
Skip default skills loading when creating fallback room after deletion
backspace Apr 10, 2026
8bfa6db
Fix stale localStorage causing createNewSession to enter deleted room
backspace Apr 10, 2026
1c81359
Add formatting autofix
backspace Apr 10, 2026
3a707a5
Remove test timeout bandaids now that the app bug is fixed
backspace Apr 10, 2026
176b8ec
Skip default skills loading when creating fallback room after deletion
backspace Apr 10, 2026
0be3449
Only defer default skills loading in the doLeaveRoom fallback path
backspace Apr 10, 2026
3295e62
Add formatting autofix
backspace Apr 10, 2026
86ad32b
Increase waitUntil budget to 45s for room creation polling
backspace Apr 10, 2026
6723e68
Add empty commit
backspace Apr 10, 2026
a11da6e
Increase test timeout to 90s for room deletion/creation test
backspace Apr 10, 2026
5342ad0
Add empty commit
backspace Apr 11, 2026
4aaacec
Give room creation test generous timeouts (120s test, 60s polling)
backspace Apr 11, 2026
3a50867
Filter out rooms the user has left from aiSessionRooms
backspace Apr 11, 2026
6123706
Add empty commit
backspace Apr 11, 2026
344ce4b
Add empty commit
backspace Apr 11, 2026
fb34b49
Track deleted rooms locally to prevent zombie room re-entry
backspace Apr 11, 2026
4bc3cc9
Bypass command system for fallback room creation after deletion
backspace Apr 11, 2026
526570c
Add empty commit
backspace Apr 11, 2026
87ce075
Add 30s timeout to fallback room creation to prevent indefinite hang
backspace Apr 13, 2026
d0c9c2b
Merge remote-tracking branch 'origin/main' into matrix/flaky-room-cre…
backspace Apr 13, 2026
3d63088
Retry room creation in-test when error UI appears instead of restarting
backspace Apr 13, 2026
61c8adf
Add empty commit
backspace Apr 13, 2026
99046df
Add diagnostic logging to room creation polling loop
backspace Apr 13, 2026
5c50c9c
Navigate to new room before leave/forget to prevent hanging
backspace Apr 13, 2026
979d282
Add diagnostic logging to doLeaveRoom/createNewSession/createFallback…
backspace Apr 13, 2026
d15d784
Add empty commit
backspace Apr 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,9 @@ jobs:
matrix:
shardIndex: [1, 2, 3]
shardTotal: [3]
repeat: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
concurrency:
group: matrix-client-test-${{ matrix.shardIndex }}-${{ github.head_ref || github.run_id }}
group: matrix-client-test-${{ matrix.shardIndex }}-r${{ matrix.repeat }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down Expand Up @@ -366,58 +367,58 @@ jobs:
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ !cancelled() }}
with:
name: matrix-test-realm-server-log-${{ matrix.shardIndex }}
name: matrix-test-realm-server-log-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: /tmp/server.log
retention-days: 30
- name: Upload worker manager log
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ !cancelled() }}
with:
name: matrix-test-worker-manager-log-${{ matrix.shardIndex }}
name: matrix-test-worker-manager-log-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: /tmp/worker-manager.log
retention-days: 30
- name: Upload prerender server log
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ !cancelled() }}
with:
name: matrix-test-prerender-server-log-${{ matrix.shardIndex }}
name: matrix-test-prerender-server-log-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: /tmp/prerender-server.log
retention-days: 30
- name: Upload prerender manager log
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ !cancelled() }}
with:
name: matrix-test-prerender-manager-log-${{ matrix.shardIndex }}
name: matrix-test-prerender-manager-log-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: /tmp/prerender-manager.log
retention-days: 30
- name: Upload icon server log
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ !cancelled() }}
with:
name: matrix-test-icon-server-log-${{ matrix.shardIndex }}
name: matrix-test-icon-server-log-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: /tmp/icon-server.log
retention-days: 30
- name: Upload host-dist log
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ !cancelled() }}
with:
name: matrix-test-host-dist-log-${{ matrix.shardIndex }}
name: matrix-test-host-dist-log-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: /tmp/host-dist.log
retention-days: 30

- name: Upload blob report to GitHub Actions Artifacts
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: blob-report-${{ matrix.shardIndex }}
name: blob-report-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: packages/matrix/blob-report
retention-days: 1

- name: Upload Playwright traces
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: playwright-traces-${{ matrix.shardIndex }}
name: playwright-traces-${{ matrix.shardIndex }}-r${{ matrix.repeat }}
path: packages/matrix/test-results/**/trace.zip
retention-days: 30
if-no-files-found: ignore
Expand Down Expand Up @@ -455,10 +456,16 @@ jobs:
with:
path: all-blob-reports
pattern: blob-report-*
merge-multiple: true

- name: Flatten blob reports into a single directory
run: |
mkdir -p all-blob-reports-flat
i=0; for f in all-blob-reports/**/*.zip; do
cp "$f" "all-blob-reports-flat/$((i++))-$(basename "$f")"
done

- name: Merge blobs into one single report
run: pnpm exec playwright merge-reports --reporter html ./all-blob-reports
run: pnpm exec playwright merge-reports --reporter html ./all-blob-reports-flat

- name: Upload HTML report
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
4 changes: 2 additions & 2 deletions packages/host/app/commands/create-ai-assistant-room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default class CreateAiAssistantRoomCommand extends HostBaseCommand<

// Run room creation and module loading in parallel
const [roomResult, commandModule] = await Promise.all([
await matrixService.createRoom({
matrixService.createRoom({
preset: matrixService.privateChatPreset,
invite: [aiBotFullId],
name: input.name,
Expand Down Expand Up @@ -134,7 +134,7 @@ export default class CreateAiAssistantRoomCommand extends HostBaseCommand<
},
],
}),
await this.loadCommandModule(),
this.loadCommandModule(),
]);

const { room_id: roomId } = roomResult;
Expand Down
Loading
Loading