Skip to content

Sync upstream 2026-12-01 (971 commits) - #32

Merged
hjescalona merged 1219 commits into
smgfrom
sync/upstream-20261201-0132
Dec 1, 2026
Merged

hjescalona merged 1219 commits into
smgfrom
sync/upstream-20261201-0132

Conversation

@hjescalona

Copy link
Copy Markdown

Merges 971 upstream commits from CapSoftware/Cap:main into smg.

Database migrations

This sync adds migrations. They run when Cap Web starts, and rolling back the image does not roll back the schema, so it does not auto-merge.

  • packages/database/migrations/0066_meeting_notes_trial_uses.sql
  • packages/database/migrations/0067_meeting_audio_usage.sql
  • packages/database/migrations/meta/0066_snapshot.json
  • packages/database/migrations/meta/0067_snapshot.json
  • packages/database/migrations/meta/_journal.json

Read the migrations. Take a MySQL backup before merging, then merge by hand.

Upstream commits

  • 2bfc718 fix(notes): an open note shows its audio once Keep audio settles it
  • 3c8bf99 fix(notes): retry audio Keep audio could not settle, and settle at launch
  • f00238f perf(mobile): read accessible organizations through indexes (perf(mobile): read accessible organizations through indexes CapSoftware/Cap#4693)
  • 8c27d60 fix(notes): Keep audio follows the setting when the note finishes
  • cc823b2 fix(media-server): let a finishing prefetch complete on a full worker
  • efa206a fix(media-server): bound the process job's reads of the prefetch
  • be89ffb fix(web): delete prefetch files only after the prefetch settles
  • 99ce310 fix(media-server): stop prefetches when the worker needs room for jobs
  • 69fd939 fix(media-server): cap prefetch part size while reading
  • 3a48630 feat(web): start the media server's prefetch for browser recordings
  • 37e0b36 feat(media-server): encode a recording while its upload is still in progress
  • 0af98d3 refactor(media-server): decide the process encode before running it
  • ba4822a fix(notes): keep a note's microphone when the main window releases inputs
  • 092543e chore(web): drop narrating comments from the share page strip and toolbar
  • 1f5c162 fix(web): give the share page reaction bar a phone layout
  • 2224094 fix(web): redesign the share page stats strip
  • b232ce9 fix(notes): judge exact zeros early only on the built-in microphone
  • 2c6a17c fix(notes): ask for an input's kind again when the audio system can't say
  • 385ede2 test(notes): judge the zero count after the worker takes the input's kind
  • 1d80a48 fix(notes): flag a cut-off microphone after 3 s of exact zeros on macOS
  • 63a1c1f test(desktop): cover queued link start resume, cancel and expiry
  • 3c573ea docs(desktop-gpui): state only the measured software preview difference
  • e0064ab fix(notes): every Linux sound server question waits until the meeting stops
  • 3c7e01d test(rendering): draw the editor live-change test from the buffer it writes
  • 631a772 fix(notes): a slow Linux sound server is waited for until the meeting stops
  • b6fd554 fix(desktop-gpui): keep the editor preview as images on a CPU renderer
  • 9268b09 fix(notes): a Linux meeting opens computer audio once the sound server answers
  • 70ff1a8 perf(rendering): give the editor preview the plain composite pipeline on software renderers
  • 7c26a4c perf(rendering): give every Direct3D 12 and Metal adapter the plain composite pipeline
  • 5ff63bc perf(rendering): compile the full composite pipeline on first use when an export can't need it
  • 3073749 perf(rendering): compile the plain composite pipeline from stand-ins for the layer filters
  • 91af3f3 fix(notes): a Linux look the sound server does not answer changes nothing
  • c939567 fix(desktop): wait for device enumeration before a confirmed link recording starts
  • a8e96a4 fix(notes): give up on a Linux sound server that does not answer within a second
  • 81449e3 perf(rendering): keep the plain composite pipeline to measured adapters
  • f866454 fix(notes): never hold the app on a Linux first look when a meeting is dropped
  • cae5d37 fix(notes): a Linux meeting with no microphone waits for computer audio's first open
  • 3dfd7af fix(notes): wait for a Linux first look on stop so its capture never outlives the meeting
  • d786b63 fix(notes): start Linux computer audio off the app's thread
  • c06f2a6 ci: retry the libva body read from the Azure mirror too
  • 6c26416 ci: fall back to the Azure Ubuntu mirror in the Linux desktop harness
  • 07cb098 perf(rendering): give only export renderers the plain composite pipeline
  • 216723c test(notes): drop a comment that restates the fixture
  • 65653ee fix(notes): retry a Windows screen-reader capture only when it failed fast
  • 9ad79ad fix(notes): a stuck screen-reader capture no longer holds back the Windows default audio open
  • 5a12167 fix(rendering): save the composite pipeline cache to the path resolved at startup
  • 13c0050 test(rendering): compare both composite pipelines across grading, camera and cutout draws
  • 801fd5f fix(rendering): keep zoom blur draws on the full composite pipeline
  • c2160c4 perf(rendering): compile the full composite pipeline off the startup path
  • b3b8231 perf(rendering): compile the two composite pipelines side by side
  • b58b132 fix(rendering): spell the layer filter test without negated float comparisons
  • 2ddcda8 perf(rendering): draw layers no filter changes through a plain composite pipeline
  • 8f1b630 fix(desktop): keep the stalled save notice true when the save still completes
  • 1bee903 fix(recording): never judge a late stop whose muxers report no progress source
  • eff66f8 feat(recording): count a disk space query that has not returned as waiting on storage
  • 7188186 fix(gpui): stage only small atlas writes on Windows software rendering
  • 1d42363 fix(recording): count an audio write that has not returned as waiting on storage
  • 07c0c7c fix(notes): a late refusal leaves a newer meeting's planner state alone
  • d5bf528 fix(desktop): limit the seen-present rule to default and count a reopened mic as seen
  • 8a371ba fix(notes): a refused start from a calendar event leaves no empty note
  • 9353609 fix(desktop): only warn on Linux about a microphone the recording has seen present
  • bbdbaea test(notes): a late no-mic refusal is told and lets automatic starts come again
  • 00d8399 fix(notes): look at the Linux sound graph every few seconds too while the screen reader is left out
  • 4b36c95 fix(notes): read the same transcript words again when they repeat
  • e4d6c3e fix(notes): subscribe to the Linux sound server before the first look at its graph
  • d542f55 fix(notes): tell a Windows no-mic start that fails late, and let automatic starts come again
  • c980b1f fix(desktop-gpui): write the settings file with a plain write outside Unix
  • 71c842f fix(gpui): show a window without focus only when it asks to, as the Notes bring-up does
  • 6819319 fix(notes): a meeting with a summary is never a false start
  • 94ab755 fix(notes): a summary on disk makes a recovered folder a meeting
  • 7724cf4 fix(notes): a recovered meeting keeps its summary
  • 0bbb641 fix(recording): follow the display refresh only where its delivery rate is measured
  • 9befb17 fix(recording): hold the nearest-deadline gate to the frame rate at every source rate
  • 1b8dc7b fix(scap-direct3d): leave a frame whose time cannot be read to the callback
  • 598ffde fix(recording): give a late Studio stop five seconds without progress
  • 04c8cb0 feat(recording): count a segment write in flight as progress of a late Studio stop
  • 0c5b928 feat(enc-ffmpeg): mark a segment write that has not returned on Windows
  • 8f73c95 feat(recording): count audio muxed after a Studio stop began as progress
  • 0cec5f6 feat(recording): log when a late Studio stop is given up for showing no progress
  • cba8ac1 fix(notes): defer takes the app context
  • a780018 fix(notes): try a held Windows audio open afresh after 10 s
  • ff9fcd1 fix(notes): open Replace notes? after the click that asked for it
  • 9804e10 fix(notes): a refused no-mic start trashes its note only when nothing in it is the person's
  • d3fd497 test(notes): seed an edited summary the way a person edits it
  • b0ed4b4 fix(notes): keep the update reminder until new notes land
  • 6126937 fix(desktop): drop a comment that restates the stall check
  • ea33083 fix(cli): drop a comment that restates the stall check
  • 8b2645e fix(notes): a Windows meeting with no microphone starts only once computer audio opens
  • ac00d3a fix(notes): cap held Windows audio opens and tell the meeting when the call's output is held
  • 00f3a3e test(notes): seed the summary as Cap's own
  • 73c3afe fix(recording): offer every refresh to window captures on any display
  • 857f5c7 test(notes): wait for queued saves before checking Update notes
  • 55598c8 fix(notes): open Windows meeting audio off the app thread, bounded
  • 4368573 feat(recording): count a Windows Studio audio muxer's finish as a storage stage
  • b8b0cd2 fix(notes): ask before Update notes replaces an edited summary
  • f29a1b6 feat(desktop): say when a late Studio save stopped making progress
  • e2d1f7e fix(desktop): hand the app back when a late Studio stop shows no progress
  • 29e6c9d fix(cli): stop waiting for a late Studio stop that shows no progress
  • 84ff994 feat(recording): tell a stalled late Studio stop from a slow one
  • 73252b5 feat(recording): report what a stopping Windows Studio recording is doing
  • 0dde6ee chore(notes): log when a refused screen-reader capture stops the running one first
  • a3b9796 fix(notes): never run the call output watch in a remote desktop session
  • 7fc913c perf(notes): read the process tree again only when the processes a look asks about change
  • 2724c49 Test deleting a recording right after its stop
  • 8cce75e fix(notes): try a refused screen-reader capture again soon, once, and stop the running one first
  • e502c4b test(notes): close the list wrap test the main merge left open
  • 555ed29 Pin the recording-in-progress message in the surface test
  • 04efc8c perf(web): read the video once in the share page's server actions
  • e37778e perf(web): run the notifications list and count queries together
  • 674ce1e perf(web): drop unused share page queries for signed-in viewers
  • 0e9e3e7 perf(web): count space Cap comments with subqueries
  • ecc84ad perf(web): count Cap comments with subqueries instead of a fan-out join
  • d4e45dd fix(web): apply the license code only when it is entered on the card
  • e748e00 fix(notes): a browser's meeting moves to the link's own app when the browser lets go
  • f911e46 fix(web): return focus to Add code when the license code is removed
  • 5d589ff fix(web): open the Pro card when the Cap Friday link is followed
  • bcad9c3 Remove stale recording locks only while holding them
  • 07d9f5d fix(web): return focus after the license code form closes
  • 769254d fix(web): show the discounted price in the collapsed license card summary
  • 0b71746 fix(notes): one voice recount per action that edits a finished meeting's lines
  • 3a40797 fix(notes): a browser's call is handed over only inside the join window
  • 6cdbbf5 test(notes): deleting a voice's lines updates the notes list's count
  • a5cdeea fix(notes): a finished meeting's voice count follows line edits
  • 0c59879 fix(notes): the link's own app takes the meeting's call over from a browser
  • 6be1ffd feat(web): apply the Cap Friday code on the pricing page from a link
  • 2102b78 feat(web): add a Cap Friday banner above the site header
  • 6de091b fix(web): keep the license card total row at its original height
  • 3cb03c3 feat(web): accept the Cap Friday code on the Desktop License card
  • 571082e Take the recording lock on the file that is at its path
  • 9c9fb0e fix(notes): keep the call output look at its usual pace while only the call is read
  • a029def Clear recording locks that nobody holds
  • 15f0cb0 Hold the recording lock through startup and shutdown, and check it before opening
  • 5c984cc Keep recording locks out of sight and robust to path spellings
  • d165c5a fix(notes): leave the call's other output out only while it is heard there, and look faster then
  • 15425a2 Keep the recording lock field private
  • 1b45302 Fix recording lock test assertions
  • 954ef9f chore(scripts): confirm desktop link recording starts (chore(scripts): confirm desktop link recording starts CapSoftware/Cap#4586)
  • d096d27 fix(notes): the notes list reloads after the late speaker labels
  • 2d10664 fix(notes): a finished meeting's voice count follows transcript edits
  • f556c09 fix(recording): treat Microsoft's no-GPU adapters as measured for refresh pacing
  • 339ec0f Hold a recording lock while a project is being recorded
  • 574d11d fix(notes): without the call output watch read only the default output
  • be60a51 fix(notes): read only the default output in a remote session or when the meeting audio stays silent
  • 8a8d1b3 fix(library): the date rule's fixed operator is not a button
  • 85467e7 fix(web): use the post title as the search title on the Mac system audio guide
  • 82c2dab fix(web): drop the quality claim from the speed controller description
  • 02858b2 fix(web): bring back the previous search titles on three pages
  • b843ca3 fix(notes): give every line of the user's the same label
  • ed685e7 fix(recording): follow the display refresh only on measured Windows setups
  • 684a7da fix(notes): the Cap Pro row keeps its count while the same account's server is asked again
  • 6e1038b fix(library): screen readers reach the pinned items and smart folder controls
  • 5968381 fix(notes): the Cap Pro row builds on main's Notes palette
  • 2709a64 test(recording): pin the update interval below a frame for any reported refresh
  • 3676d9c test(enc-ffmpeg): drop the held frames' packets instead of leaving them queued
  • 3e5f13a fix(recording): set the Windows update interval half a refresh from any clash
  • 1297068 test(notes): the Windows call check expects no names from the meeting app, even with the setting stored on
  • f6954b2 fix(notes): naming speakers from meeting apps starts off
  • c872763 fix(notes): offer speaker names from meeting apps only where a call app is known to say who is talking
  • 773b41e fix(notes): a meeting note without a call app lists the voices it heard
  • 58aef92 fix(notes): after Join and take notes, only the link's app or a browser is the meeting's call
  • c7de659 fix(notes): a call joined from its meeting's link ends the notes however short
  • 08b7e28 fix(notes): name the user by the label their lines carry
  • 03e9974 fix(notes): tell Ask which speaker is the user
  • 61782d3 fix(notes): long list items in Ask answers wrap instead of running past the card
  • 868beb9 fix(notes): Cap AI and Cap Pro never split across the Cap Pro row's lines
  • b12493c test(notes): a long list item in an Ask answer wraps like the lines around it
  • d8d22cc fix(notes): the Cap Pro row talks about Cap AI notes, and is the one count
  • d631313 fix(notes): the sidebar list fades out above the Cap Pro row
  • 8d63ec7 fix(notes): nothing in the dock rides up over the page when Ask answers
  • f55a0bf feat(notes): a quiet Cap Pro row on every Notes screen
  • 4fcfdc9 fix(notes): signing out or refreshing the plan redraws Notes
  • 6ed66cb fix(notes): a server without Cap AI never offers Cap Pro for it
  • 27652e9 fix(notes): a sign-in keeps notes this run already started for the next launch
  • 6f1ed89 fix(notes): read the default output when the call also plays on another one
  • d17c7e1 fix: recover a failed capture only after its stop is confirmed, and test the recovery paths
  • 640dbd2 test(enc-ffmpeg): hold frames in the codec when the switch drain fails
  • 42b53ae fix(recording): track the applied hidden sink windows before falling back
  • 7fcf888 fix(recording): retry a failed hidden sink move, then fall back to main's filter
  • 9186fa5 fix(recording): keep audio-only recordings out of the hidden sink exclusion
  • 6b074e2 fix(recording): record frames lost when the hardware encoder fails at the switch
  • c5ae7d8 fix(recording): refuse surplus Windows frames before they are copied
  • 863642d test(meetings): wrap placeholder test lines
  • 08e4718 fix: recover a Studio recording whose capture failed part way in the CLI
  • d6322c0 fix(meetings): Ask never leaves a name placeholder in a draft
  • 8b4917b fix: report the low space warning before a first-check stop
  • 15c741d fix(recording): keep nearest-deadline admission to Windows capture
  • bc991c3 fix(recording): take the source frame nearest each cadence deadline
  • c3780a3 fix(meetings): Ask writes as the person who recorded the meeting
  • 7a11032 test(enc-ffmpeg): opening without rate analysis keeps duration and streams
  • d2c163a test(desktop-gpui): drop the fixed wait in the replaced real-app case
  • d7043cd fix(recording): skip frame rate analysis when opening files for finalize probes
  • 277d226 test(recording): model refreshes landing early, including 59.94 Hz displays
  • 43475f1 chore(desktop-gpui): drop a comment that restates recording_time_left
  • ab3875c fix(recording): stop Windows capture refusing refreshes it needs below the display rate
  • 5062386 fix(desktop): check sign-in state and confirm link recordings (fix(desktop): check sign-in state and confirm link recordings CapSoftware/Cap#4577)
  • fe5e01f fix(notes): keep the capture restarts a dead capture needs after a quiet call
  • 8560713 style(web): sort desktop root imports
  • 29a1af9 style: rustfmt
  • a623a1c fix(desktop-gpui): lift the recording limit when the server says it no longer applies
  • e02af35 feat(web): say whether a desktop recording's limit still applies
  • …and 771 more

…re-and-empty-lane-4467

fix(recording,editor): keep keyboard polling active when cursor shape is absent
…-no-placeholder

fix(meetings): Ask never leaves a name placeholder in a draft
… the switch

The frames the hardware encoder still held are counted as lost in the
encoder, the manifest is marked encoder_tail_lost, and EncoderTailLost is
emitted, as for a failed flush at stop.
…nto HEAD

# Conflicts:
#	apps/desktop-gpui/src/upload/real_app_tests.rs
A free account on a server other than cap.so whose capabilities carry no
free note count now reads as Cap AI unavailable.
Notes redraws its Cap AI offers from the stored account right away instead
of on its next unrelated change.
Everyone not on Cap Pro sees one line and one button at the foot of the
Notes sidebar, or in a strip under the page when the sidebar is hidden:
free notes left with Get Cap Pro, or Sign in when signed out. It keeps
the last count while the server is asked again and never shows for Cap Pro
or where Cap AI is not sold.
The free-notes line under a write-up goes (the Cap Pro row carries the count
and the offer), and a line stacked over the dock bar waits while Ask's
answer is open above it.
When the list runs past the row it fades into the sidebar instead of
ending mid-line, the way the page fades under its dock.
…count

The row says how many Cap AI notes are left free, or that Cap AI notes are
part of Cap Pro, and keeps two lines of room in every state and language.
The note's Write my notes card no longer repeats the count.
Ask now sends the label the transcript gives the user's lines, and a plain
participant list for notes marks the user too.
A renamed "Me" voice or microphone track labels the user's lines with the
new name, so Ask's selfName and the notes' isSelf follow that label.
…ver short

The session started by Join and take notes, or the call app the linked
event's link opens in, is the meeting's own call: it gets the ending
countdown instead of the joined-late speech bar.
The notes list said Just you for any meeting note with no names and no
call app. The stop now saves how many voices the transcript heard, and
the list shows that count when it is two or more.
…pp is known to say who is talking

Zoom on macOS and Windows, in the app and in the browser, gives no speaking cue the reader understands, so the settings row, its macOS setup row, the post-call offer and the twice-a-second window read stay off on every platform.
richiemcilroy and others added 26 commits November 30, 2026 15:06
…site-plain-software

perf(rendering): plain composite pipeline for the editor preview on software renderers
fix(desktop): start link recordings once devices are listed
…tats-reactions

fix(web): share page stats strip and phone reaction bar
…ic-flag

fix(notes): flag a cut-off built-in microphone within seconds on macOS
…-getpart-processing

feat: encode browser recordings while they upload
…ndow-close

fix(notes): keep a note's microphone when the main window releases inputs
…udio-at-finish

fix(notes): Keep audio follows the setting when the note finishes
@hjescalona hjescalona added upstream-sync has-migrations migrations-approved A human reviewed the migrations and took a MySQL backup labels Dec 1, 2026
@hjescalona
hjescalona merged commit 03fd0d2 into smg Dec 1, 2026
10 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-migrations migrations-approved A human reviewed the migrations and took a MySQL backup upstream-sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants