Skip to content

fix(deps): update dependencies to resolve CVEs and fix export unit test - #1

Merged
ddri merged 10 commits into
mainfrom
release-prep
Aug 4, 2026
Merged

ddri merged 10 commits into
mainfrom
release-prep

Conversation

@ddri

@ddri ddri commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Updates workspace dependencies to resolve all cargo audit CVEs and fixes export unit test assertion.

ddri added 10 commits June 12, 2026 16:38
Add escape_xml_comment helper that collapses '--' (illegal inside XML
comments) after escape_xml; apply it to all three comment-context
insertions in generate_dspreset_xml. Extend tests to assert no '--'
appears inside any comment body.

Move is_recording.store(true) to before thread::spawn in
start_recording so the consumer thread never observes false on an empty
ring and exits immediately. Add doc comment on max_recording_samples
noting interleaved sample counting, and a comment at the self-stop
early-return noting un-popped ring samples are intentionally discarded.
CancelRecording now bumps recording_generation so the in-flight worker's
RecordingFinished/RecordingError (core returns Ok(partial) on cooperative
cancel) become stale and are dropped, instead of wrongly dragging the UI
Idle->Review with a partial capture.

Also clear info_message in the RecordingError and ExportError arms so a
lingering success banner can't sit above a fresh error, and extract the
repeated generation guard into is_current_recording(). Adds unit tests for
the helper and the cancel->stale-generation invariant.
@ddri
ddri merged commit b5c4e67 into main Aug 4, 2026
1 of 2 checks passed
@ddri
ddri deleted the release-prep branch August 4, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant