Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
995176c
Add meeting_notes_trial_uses table
richiemcilroy Nov 17, 2026
67c9736
Rate limit helpers for cost-weighted meeting budgets
richiemcilroy Nov 17, 2026
01f52b3
Desktop meeting endpoints: capabilities, transcribe, notes, ask
richiemcilroy Nov 17, 2026
ac30972
Desktop subscribe defaults to the monthly plan
richiemcilroy Nov 17, 2026
c8e8731
Free meeting claims settle in the database
richiemcilroy Nov 17, 2026
f318f41
Meetings: Ask has its own switch, speech calls end at the deadline
richiemcilroy Nov 17, 2026
bfc6e5f
Meetings: a free meeting is saved before done, kept once notes arrive
richiemcilroy Nov 17, 2026
cca1f46
Merge remote-tracking branch 'origin/main' into feat/meeting-notes-api
richiemcilroy Nov 17, 2026
6ae622d
Meetings: pass vocabulary to Ask and keep speaker labels exact in notes
richiemcilroy Nov 18, 2026
4a44751
Meetings transcribe: optional speaker session for farm speaker labels
richiemcilroy Nov 19, 2026
c80cefb
Merge remote-tracking branch 'origin/main' into feat/meeting-notes-api
richiemcilroy Nov 20, 2026
b6c6469
chore: keep the meeting trial migration meta tab formatted
richiemcilroy Nov 20, 2026
3963e45
feat(desktop): add the Cap Notes crates for notes, calendars, meeting…
richiemcilroy Nov 20, 2026
e4687da
feat(desktop): record meetings with live transcription and speaker la…
richiemcilroy Nov 20, 2026
00da13f
feat(desktop): add the Cap Notes window, settings, setup, tray entrie…
richiemcilroy Nov 20, 2026
ba49538
chore(desktop): drop an unused Cap AI helper and a needless mut
richiemcilroy Nov 20, 2026
348e0b4
feat(desktop): open a note's audio in the editor or download it
richiemcilroy Nov 20, 2026
865e77e
feat(desktop): credit the speaker models in Notes settings
richiemcilroy Nov 20, 2026
f3d6ef5
chore(desktop): format the calendar test fixtures with Biome
richiemcilroy Nov 20, 2026
47c33ea
test(web): await the twelfth audio budget check instead of polling fo…
richiemcilroy Nov 20, 2026
8c307c9
feat(desktop): live captions hear only the audio after the words they…
richiemcilroy Nov 20, 2026
384fa5c
feat(desktop): offer a live caption every second of new speech
richiemcilroy Nov 20, 2026
b2c65af
feat(desktop): say what happens to the audio when Keep the audio is off
richiemcilroy Nov 20, 2026
57e6762
fix(desktop): keep app tests out of the developer's own Cap profile
richiemcilroy Nov 20, 2026
fe2e0c8
fix(desktop): put the Notes tray rows above Previous on every OS
richiemcilroy Nov 20, 2026
4621565
fix(desktop): take the field's view at render so drawing without a vi…
richiemcilroy Nov 20, 2026
4761df9
ci: run the speaker label crate's tests with the other Notes crates
richiemcilroy Nov 20, 2026
bdbeb27
perf(desktop): map the Parakeet encoder's weights from disk
richiemcilroy Nov 20, 2026
4b0dffd
feat(desktop): read meeting app speaker labels and call pages through…
richiemcilroy Nov 20, 2026
102e862
feat(desktop): name speakers from meeting apps on Windows, behind a s…
richiemcilroy Nov 20, 2026
5fe511a
fix(desktop): keep a widened meeting indicator on screen at the right…
richiemcilroy Nov 20, 2026
897cc83
ci: run a scripted meeting through the real app on Linux and Windows
richiemcilroy Nov 20, 2026
0bbc514
style: format the meeting fixture's truth with Biome
richiemcilroy Nov 20, 2026
7154d50
chore(desktop): match the text field's view capture to the notes bran…
richiemcilroy Nov 20, 2026
3503b17
fix(desktop): refuse rooted audio part paths on Windows too
richiemcilroy Nov 20, 2026
57fcacf
test(desktop): close the scratch audio writer before dropping its folder
richiemcilroy Nov 20, 2026
f57e01b
test(desktop): let the stand-in cloud hear words in every part of a b…
richiemcilroy Nov 20, 2026
fef49d9
fix(desktop): keep a newer note's unknown fields in order when the ap…
richiemcilroy Nov 20, 2026
c10c431
fix(desktop): write calendar tokens and feed addresses owner-only fro…
richiemcilroy Nov 20, 2026
bda2811
fix(desktop): let a free meeting's notes be rewritten after the last …
richiemcilroy Nov 20, 2026
b395cb2
fix(desktop): only place the indicator itself on X11 when no window m…
richiemcilroy Nov 20, 2026
5687375
ci: meetings on Windows with the microphone allowed, the indicator un…
richiemcilroy Nov 20, 2026
bf4a28f
Merge remote-tracking branch 'origin/main' into feat/meeting-notes-api
richiemcilroy Nov 20, 2026
71de152
fix(desktop): name new meetings in the app's language and clock
richiemcilroy Nov 20, 2026
201f682
fix(desktop): say the free Cap AI notes are used without a count
richiemcilroy Nov 20, 2026
f6bb20e
fix(desktop): raise the open notes window instead of opening another
richiemcilroy Nov 20, 2026
5711a82
ci: check the notes window stays one window on Linux and Windows
richiemcilroy Nov 20, 2026
6132c52
fix(desktop): after Stop, repair a track that ends early with the aud…
richiemcilroy Nov 20, 2026
58ff3b4
fix(desktop): stop retrying a meeting repair that never fills after t…
richiemcilroy Nov 20, 2026
1254c28
fix(desktop): show Cap's note templates in the app's language
richiemcilroy Nov 20, 2026
2f084c6
fix(desktop): fit the French start notes button
richiemcilroy Nov 20, 2026
f408eac
test(desktop): run the notes window tests on macOS and Windows too
richiemcilroy Nov 20, 2026
5498d0e
fix(desktop): say what went wrong when Cap AI's notes fail
richiemcilroy Nov 20, 2026
63cd34a
fix(desktop): fit the board template's name in German and Spanish
richiemcilroy Nov 20, 2026
457822c
fix(desktop): kick the display link only for a window that has one
richiemcilroy Nov 20, 2026
63b17a6
fix(desktop): keep what is typed while a note is still loading
richiemcilroy Nov 20, 2026
1c9dd4b
fix(desktop): write notes only after the edits just made are saved
richiemcilroy Nov 20, 2026
926cec8
fix(desktop): give the page room for the trial line and banner over t…
richiemcilroy Nov 20, 2026
e7b4ae6
perf(desktop): draw the note page's header as its own view and skip i…
richiemcilroy Nov 20, 2026
6ffb142
fix(desktop): never save over a note whose saved text has not loaded yet
richiemcilroy Nov 20, 2026
f451869
fix(desktop): give the sign-in and calendar pages Cap's look
richiemcilroy Nov 20, 2026
562cf3a
feat(desktop): tell a finished note how much of its meeting wasn't re…
richiemcilroy Nov 20, 2026
ac086c7
Merge remote-tracking branch 'origin/main' into feat/meeting-notes-api
richiemcilroy Nov 20, 2026
3f2d946
fix(desktop): bring Cap Notes forward when its shortcut or tray item …
richiemcilroy Nov 20, 2026
7f61f0e
Merge remote-tracking branch 'origin/feat/meeting-notes-api' into fea…
richiemcilroy Nov 20, 2026
691bd2d
Merge remote-tracking branch 'origin/main' into feat/meeting-notes-api
richiemcilroy Nov 20, 2026
0cf2fa0
fix(desktop): show the notes sidebar until the person hides it
richiemcilroy Nov 20, 2026
8d77581
feat(desktop): a clearer Cap AI card with a one-line pitch and the fr…
richiemcilroy Nov 20, 2026
7b6f609
fix(desktop): stop promising a number of free Cap AI meetings when si…
richiemcilroy Nov 20, 2026
9537f2b
Merge remote-tracking branch 'origin/main' into feat/meeting-notes-api
richiemcilroy Nov 20, 2026
464e264
Merge remote-tracking branch 'origin/feat/meeting-notes-api' into fea…
richiemcilroy Nov 20, 2026
505ca88
fix(desktop): give each meeting speaker the same colour live and afte…
richiemcilroy Nov 20, 2026
6b3a40f
fix(desktop): repair a short tail gap with the audio just before it
richiemcilroy Nov 20, 2026
845cc15
chore(desktop): a debug-only hook that hangs the UI thread for reliab…
richiemcilroy Nov 20, 2026
53391b2
Merge remote-tracking branch 'origin/main' into feat/meeting-notes-api
richiemcilroy Nov 20, 2026
addb074
fix(desktop): route Notes speaker names through app control on macOS …
richiemcilroy Nov 20, 2026
0e6eb9c
fix(desktop): never record a meeting without the call's audio quietly…
richiemcilroy Nov 20, 2026
fd87f49
fix(desktop): never let a live caption's echo delete the final line
richiemcilroy Nov 20, 2026
582686f
fix(desktop): only treat Zoho's own domains as Zoho meeting links
richiemcilroy Nov 20, 2026
d20cad8
fix(desktop): let the tap decide missing call audio on macOS 27.3
richiemcilroy Nov 20, 2026
e63bf71
feat(desktop): add smart folder rules and a safe library file for the…
richiemcilroy Nov 20, 2026
6755d26
feat(desktop): add the library window with list and magazine layouts
richiemcilroy Nov 20, 2026
92038dc
feat(desktop): index meeting speakers so library rules can match them
richiemcilroy Nov 20, 2026
88f6b51
feat(desktop): translate the library window, refresh it live and add …
richiemcilroy Nov 20, 2026
7e8358a
test(desktop): count library strings with the other new surfaces
richiemcilroy Nov 20, 2026
80a361b
test(desktop): pin the coming-up test to local noon
richiemcilroy Nov 20, 2026
7f30a8d
fix(desktop): give a smart folder rule its text box back when its fie…
richiemcilroy Nov 21, 2026
c68f742
fix(desktop): never drop library folder memberships from a partial scan
richiemcilroy Nov 21, 2026
ba86a09
test(desktop): run the unreadable screenshots folder test on Unix only
richiemcilroy Nov 21, 2026
00a5316
chore(desktop): check library folder members with the demo library to…
richiemcilroy Nov 21, 2026
c3485ca
fix(desktop): read the library's folder list once so a failed read ne…
richiemcilroy Nov 21, 2026
ba8f6b7
fix(desktop): match the library window's corner to the window frame
richiemcilroy Nov 21, 2026
daa25ba
fix(web): keep a free meeting claimed when the app hangs up early
richiemcilroy Nov 21, 2026
90ad622
fix(desktop): read repair audio across a failed writer's files
richiemcilroy Nov 21, 2026
d6fd229
test(web): wait on the notes stream instead of a fixed sleep
richiemcilroy Nov 21, 2026
5d3b637
feat(desktop): make Ask's suggested questions read as buttons and kee…
richiemcilroy Nov 20, 2026
346e89f
feat(desktop): fold the note page's transcript to its heading
richiemcilroy Nov 20, 2026
bbd524f
feat(desktop): put the notes sidebar on the window's glass
richiemcilroy Nov 20, 2026
99e2628
fix(desktop): speaker colours that read at 4.5:1 in both themes
richiemcilroy Nov 20, 2026
7059f0b
perf(desktop): draw library cards from small cached thumbnails and ke…
richiemcilroy Nov 21, 2026
fed9c92
perf(desktop): save the library layout and smart folders off the main…
richiemcilroy Nov 21, 2026
72202de
chore(desktop): let the library screenshot hook open the trash
richiemcilroy Nov 21, 2026
26fae36
fix(desktop): keep the user's words when the call leaks into the micr…
richiemcilroy Nov 20, 2026
586c9d1
fix(desktop): match a titled window's material to its frame's corners
richiemcilroy Nov 21, 2026
2790df4
fix(desktop): fetch calendar feeds over https unless they are on this…
richiemcilroy Nov 21, 2026
feea4f3
fix(desktop): keep meeting audio readable by its owner only
richiemcilroy Nov 21, 2026
3c2dc2e
fix(desktop): keep the smart folder sheet open until its save lands a…
richiemcilroy Nov 21, 2026
aba755d
fix(desktop): remove the mic listeners on audio objects that went away
richiemcilroy Nov 21, 2026
9b319ba
Merge remote-tracking branch 'origin/main' into HEAD
richiemcilroy Nov 21, 2026
e9d8607
chore(desktop): keep event and device ids out of test and example output
richiemcilroy Nov 21, 2026
e84b38d
fix(desktop): never take the call's own words for the user sent back
richiemcilroy Nov 20, 2026
5b1869b
chore(desktop): drop the notes sidebar wash override now the wash is …
richiemcilroy Nov 21, 2026
15bced6
fix(desktop): keep You on the user when the late speaker pass splits …
richiemcilroy Nov 21, 2026
5c17f06
fix(desktop): repair a meeting's segments without audio from before them
richiemcilroy Nov 21, 2026
08a60eb
docs(desktop): say the system audio prompt still appears on macOS 27.3
richiemcilroy Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ jobs:
cargo +1.95.0 test --manifest-path apps/desktop-gpui/Cargo.toml --locked --target ${{ matrix.settings.target }} -p cap-gpui-kernels
cargo +1.95.0 test --manifest-path apps/desktop-gpui/Cargo.toml --locked --target ${{ matrix.settings.target }} -p cap-glass
cargo +1.95.0 test --manifest-path apps/desktop-gpui/Cargo.toml --locked --target ${{ matrix.settings.target }} -p cap-i18n-build
cargo +1.95.0 test --manifest-path apps/desktop-gpui/Cargo.toml --locked --target ${{ matrix.settings.target }} -p cap-notes -p cap-calendar -p cap-meetings -p cap-meeting-platform -p cap-notes-ui -p cap-diarize

# Cap only builds gpui's crates as dependencies, so their own tests never run
# in the app jobs above. Run the ones covering Cap's patches against real
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/infra-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- "apps/web/app/api/developer/**"
- "apps/web/app/api/cron/developer-storage/**"
- "apps/web/lib/user-preferences-sql.ts"
- "apps/web/lib/meetings/trial.ts"
- "apps/web/lib/media-input-policy-strikes.ts"
- "apps/web/lib/organization-member-removal.ts"
- "packages/web-backend/src/Spaces/**"
Expand Down Expand Up @@ -44,6 +45,7 @@ on:
- "apps/web/app/api/developer/**"
- "apps/web/app/api/cron/developer-storage/**"
- "apps/web/lib/user-preferences-sql.ts"
- "apps/web/lib/meetings/trial.ts"
- "apps/web/lib/media-input-policy-strikes.ts"
- "apps/web/lib/organization-member-removal.ts"
- "packages/web-backend/src/Spaces/**"
Expand Down Expand Up @@ -141,4 +143,4 @@ jobs:
CAP_INFRA_TEST_DATABASE_URL: mysql://root@127.0.0.1:3306/cap_infra_tests
CAP_INFRA_ROUND_TRIPS_DATABASE_URL: mysql://root@127.0.0.1:3306/cap_infra_tests
CAP_PASSKEYS_TEST_DATABASE_URL: mysql://root@127.0.0.1:3306/cap_infra_tests
run: bun run vitest run __tests__/integration/infra-*-database.test.ts __tests__/integration/user-preferences-database.test.ts __tests__/integration/space-creator-membership-database.test.ts __tests__/integration/dashboard-library-database.test.ts __tests__/integration/messenger-poll-database.test.ts __tests__/integration/passkeys-database.test.ts __tests__/integration/email-change-database.test.ts
run: bun run vitest run __tests__/integration/infra-*-database.test.ts __tests__/integration/user-preferences-database.test.ts __tests__/integration/space-creator-membership-database.test.ts __tests__/integration/dashboard-library-database.test.ts __tests__/integration/messenger-poll-database.test.ts __tests__/integration/passkeys-database.test.ts __tests__/integration/email-change-database.test.ts __tests__/integration/meetings-trial-database.test.ts
252 changes: 252 additions & 0 deletions .github/workflows/meetings-reliability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,252 @@
name: Meetings reliability (real app)
# Runs a scripted two minute meeting (apps/desktop-gpui/tests/fixtures/meetings) through the real
# app on Linux and Windows and checks what it made: both sides recorded through the OS audio stack,
# the transcript against the script, one voice per person with the user as You, notes written, a
# question answered through the Ask bar, a Cloud meeting's clips, and the live indicator's banner
# staying on screen. The account is a Pro account against a local stub of the meeting endpoints
# (scripts/ci/meetings/stub_server.py); nothing reaches a Cap server or an AI provider. On Windows
# the call's voices must also be named after the call page's tiles, read through UI Automation.

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "apps/desktop-gpui/src/meetings.rs"
- "apps/desktop-gpui/src/meetings/**"
- "apps/desktop-gpui/src/meetings_ui/**"
- "apps/desktop-gpui/src/transcription.rs"
- "apps/desktop-gpui/src/transcription/**"
- "apps/desktop-gpui/meetings/**"
- "apps/desktop-gpui/meeting-platform/**"
- "apps/desktop-gpui/diarize/**"
- "apps/desktop-gpui/tests/fixtures/meetings/**"
- "scripts/ci/meetings/**"
- ".github/workflows/meetings-reliability.yml"
schedule:
- cron: "10 5 * * *"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: meetings-reliability-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
# Release speed for live transcription, with the debug assertions the scripted-meeting hooks need.
CARGO_PROFILE_RELEASE_DEBUG: "0"
CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS: "true"

jobs:
linux:
name: Meetings on Linux (real app)
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 75
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Linux desktop dependencies
uses: ./.github/actions/install-desktop-deps

- name: Install the meeting harness tools
run: |
sudo apt-get install -y -qq --no-install-recommends xvfb x11-utils xdotool imagemagick dbus \
pulseaudio pulseaudio-utils libasound2-plugins ffmpeg openssl openbox > /dev/null
if ! command -v google-chrome > /dev/null; then
curl -fsSL -o "$RUNNER_TEMP/chrome.deb" https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install -y -qq "$RUNNER_TEMP/chrome.deb" > /dev/null
fi
google-chrome --version

- name: Rust setup
uses: dtolnay/rust-toolchain@1.95.0
with:
targets: x86_64-unknown-linux-gnu

- uses: ./.github/actions/setup-rust-cache
with:
target: x86_64-unknown-linux-gnu
prefix-key: v1-rust-meetings
workspaces: apps/desktop-gpui -> target

- name: Run setup
run: node scripts/setup.js
env:
RUST_TARGET_TRIPLE: x86_64-unknown-linux-gnu

- name: Prepare GPUI dependency
run: |
node scripts/sync-desktop-versions.mjs
./scripts/prepare-gpui-dependency.sh

- name: Build the app
run: cargo +1.95.0 build --manifest-path apps/desktop-gpui/Cargo.toml --locked --release --bin cap-gpui

- name: Restore the meeting models
uses: actions/cache@v4
with:
path: ${{ runner.temp }}/meeting-models
key: meeting-models-v1-${{ hashFiles('scripts/ci/meetings/models.sh') }}

- name: Download the meeting models
run: bash scripts/ci/meetings/models.sh "$RUNNER_TEMP/meeting-models"

- name: Scripted meetings on Xvfb
run: |
env -u WAYLAND_DISPLAY XDG_SESSION_TYPE=x11 \
LD_LIBRARY_PATH="$GITHUB_WORKSPACE/target/native-deps/lib" \
ORT_DYLIB_PATH="$GITHUB_WORKSPACE/target/native-deps/onnxruntime/lib/libonnxruntime.so" \
CAP_MEETINGS_MODELS="$RUNNER_TEMP/meeting-models" \
dbus-run-session -- bash scripts/ci/meetings/linux.sh \
"$GITHUB_WORKSPACE/apps/desktop-gpui/target/release/cap-gpui" "$RUNNER_TEMP/meetings"

- name: Upload the runs
if: always()
uses: actions/upload-artifact@v4
with:
name: meetings-reliability-linux
path: |
${{ runner.temp }}/meetings/*/check.txt
${{ runner.temp }}/meetings/*/score.json
${{ runner.temp }}/meetings/*/stub.jsonl
${{ runner.temp }}/meetings/*/page_started.log
${{ runner.temp }}/meetings/*/app.log
${{ runner.temp }}/meetings/*/shots/*.png
${{ runner.temp }}/meetings/indicator/indicator.png
retention-days: 7

build-windows:
name: Build for Windows meetings
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: blacksmith-8vcpu-windows-2025
timeout-minutes: 75
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Rust setup
uses: dtolnay/rust-toolchain@1.95.0
with:
targets: x86_64-pc-windows-msvc

- uses: ./.github/actions/setup-rust-cache
with:
target: x86_64-pc-windows-msvc
prefix-key: v1-rust-meetings
workspaces: apps/desktop-gpui -> target

- name: Run setup
shell: bash
run: node scripts/setup.js
env:
RUST_TARGET_TRIPLE: x86_64-pc-windows-msvc

- name: Prepare GPUI dependency
shell: bash
run: |
node scripts/sync-desktop-versions.mjs
./scripts/prepare-gpui-dependency.sh

- name: Build the app
shell: bash
run: cargo +1.95.0 build --manifest-path apps/desktop-gpui/Cargo.toml --locked --release --bin cap-gpui

# The build compiles GPUI's shaders at startup from its source tree in ../zed-cap, by
# absolute path: the run job puts them back there (as picker-smoke.yml does).
- name: Stage the app
shell: bash
run: |
stage="$RUNNER_TEMP/stage"
mkdir -p "$stage/gpui-windows-shaders"
cp apps/desktop-gpui/target/release/cap-gpui.exe "$stage/"
cp ../zed-cap/crates/gpui_windows/src/*.hlsl "$stage/gpui-windows-shaders/"
printf '%s' "$GITHUB_WORKSPACE" > "$stage/build-workspace.txt"
printf '%s' "$(cd ../zed-cap && pwd -W)" > "$stage/build-zed.txt"

- uses: actions/upload-artifact@v4
with:
name: meetings-windows-app
path: ${{ runner.temp }}/stage
retention-days: 1

windows:
name: Meetings on Windows (real app)
needs: build-windows
runs-on: windows-2022
timeout-minutes: 45
steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: meetings-windows-app
path: ${{ runner.temp }}/app

- name: Put the build's source files back at its paths
shell: pwsh
run: |
$app = "$env:RUNNER_TEMP\app"
$workspace = (Get-Content "$app\build-workspace.txt" -Raw).Trim()
if ($workspace -ne $env:GITHUB_WORKSPACE) {
New-Item -ItemType Directory -Force (Split-Path $workspace) | Out-Null
cmd /c mklink /J "$workspace" "$env:GITHUB_WORKSPACE"
if ($LASTEXITCODE -ne 0) { throw "mklink failed" }
}
$shaders = Join-Path (Get-Content "$app\build-zed.txt" -Raw).Trim() "crates\gpui_windows\src"
New-Item -ItemType Directory -Force $shaders | Out-Null
Copy-Item "$app\gpui-windows-shaders\*.hlsl" $shaders

# FFmpeg and ONNX Runtime DLLs, next to the app.
- name: Run setup
shell: bash
run: node scripts/setup.js
env:
RUST_TARGET_TRIPLE: x86_64-pc-windows-msvc

- name: Virtual sound card
shell: pwsh
run: scripts/ci/meetings/setup_audio.ps1

- name: Harness tools
shell: pwsh
run: |
if (-not (Get-Command ffmpeg -ErrorAction SilentlyContinue)) { choco install ffmpeg -y --no-progress | Out-Null }
ffmpeg -version | Select-Object -First 1

- name: Restore the meeting models
uses: actions/cache@v4
with:
path: ${{ runner.temp }}/meeting-models
key: meeting-models-v1-${{ hashFiles('scripts/ci/meetings/models.sh') }}

- name: Download the meeting models
shell: bash
run: bash scripts/ci/meetings/models.sh "$RUNNER_TEMP/meeting-models"

- name: Scripted meetings
shell: pwsh
run: |
$bin = "$env:RUNNER_TEMP\app\cap-gpui.exe"
Copy-Item "$env:GITHUB_WORKSPACE\target\release\*.dll" "$env:RUNNER_TEMP\app\"
$env:CAP_MEETINGS_MODELS = "$env:RUNNER_TEMP\meeting-models"
& scripts/ci/meetings/windows.ps1 -Bin $bin -Work "$env:RUNNER_TEMP\meetings"
exit $LASTEXITCODE

- name: Upload the runs
if: always()
uses: actions/upload-artifact@v4
with:
name: meetings-reliability-windows
path: |
${{ runner.temp }}/meetings/*/check.txt
${{ runner.temp }}/meetings/*/score.json
${{ runner.temp }}/meetings/*/stub.jsonl
${{ runner.temp }}/meetings/*/page_started.log
${{ runner.temp }}/meetings/*/app.log
${{ runner.temp }}/meetings/*/shots/*.png
${{ runner.temp }}/meetings/indicator/indicator.png
retention-days: 7
Loading
Loading