Skip to content

chore(release): release v1.7.0 into main#134

Merged
EtienneLescot merged 3 commits into
mainfrom
release/v1.7.0-sync
Jul 19, 2026
Merged

chore(release): release v1.7.0 into main#134
EtienneLescot merged 3 commits into
mainfrom
release/v1.7.0-sync

Conversation

@EtienneLescot

@EtienneLescot EtienneLescot commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Sync main with the released snapshot (RC + cherry-picked bugfixes + version bump). Rebase-merged via PAT; bypass applies because EtienneLescot is a ruleset bypass actor.

Summary by CodeRabbit

  • Chores
    • Updated the application version to 1.7.0.

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a1fd4b44-206a-41e8-863b-0ab050361653

📥 Commits

Reviewing files that changed from the base of the PR and between 1074a89 and ead9ffd.

📒 Files selected for processing (1)
  • package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

📝 Walkthrough

Walkthrough

The application version in package.json is updated from 1.6.0 to 1.7.0.

Changes

Release metadata

Layer / File(s) Summary
Package version update
package.json
Updates the application version from 1.6.0 to 1.7.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is too sparse and omits the template sections for summary, issue reference, type, release impact, platform impact, screenshots, and testing. Fill in all template sections, including a summary, issue link, change type, release and desktop impact, screenshots if relevant, and testing details.
Docstring Coverage ⚠️ Warning Docstring coverage is 45.45% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the v1.7.0 release being merged into main.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v1.7.0-sync

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
electron/native/wgc-capture/src/main.cpp (1)

616-623: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Restore the pause gate in the encoder loop

wait_for(..., 100ms) now wakes while paused, and this loop still falls through to captureVideoSample on the frozen latestFrameTexture. Because pausedDurationHns() subtracts the paused interval from the timestamp, each timeout emits a duplicate freeze-frame with a new timestamp instead of stalling until resume.

Suggested fix
                if (control.stopRequested || encodeFailed) {
                    break;
                }
+               if (control.paused.load()) {
+                   continue;
+               }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@electron/native/wgc-capture/src/main.cpp` around lines 616 - 623, Update the
encoder loop around the condition variable wait and the
control.stopRequested/encodeFailed check to restore the pause gate: after
wake-up, continue waiting or skip capture while control.paused is true, and only
call captureVideoSample when resumed with a valid latestFrameTexture. Preserve
immediate exit for stop requests and encoding failures.
🧹 Nitpick comments (1)
src/components/video-editor/timeline/TimelineEditor.tsx (1)

323-340: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low value

Re-evaluate the dependency array to handle late prop binding.

Since the useEffect uses an empty dependency array [] and checks getPlaybackTimeMsRef.current on mount, the requestAnimationFrame loop will never start if getPlaybackTimeMs is initially undefined and provided later.

Consider adding !!getPlaybackTimeMs to the dependency array to ensure the loop kicks off if the getter becomes available after the component has mounted.

♻️ Proposed fix
-	useEffect(() => {
-		if (!getPlaybackTimeMsRef.current) {
-			return;
-		}
-
+	useEffect(() => {
+		if (!getPlaybackTimeMs) {
+			return;
+		}
+
 		let rafId: number;
 		const tick = () => {
 			const getter = getPlaybackTimeMsRef.current;
 			if (getter) {
 				const latest = getter();
 				setLiveTimeMs((previous) => (previous === latest ? previous : latest));
 			}
 			rafId = requestAnimationFrame(tick);
 		};
 		rafId = requestAnimationFrame(tick);
 
 		return () => cancelAnimationFrame(rafId);
-	}, []);
+	}, [!!getPlaybackTimeMs]);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/components/video-editor/timeline/TimelineEditor.tsx` around lines 323 -
340, Update the useEffect managing the requestAnimationFrame loop to depend on
the availability of getPlaybackTimeMs, using !!getPlaybackTimeMs in its
dependency array so the loop starts when the getter is bound after mount.
Preserve the existing cleanup and live-time update behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/launch/LaunchWindow.test.tsx`:
- Around line 476-479: Update the afterEach cleanup in LaunchWindow tests to
remove every HTMLElement.prototype property added by beforeEach, restoring the
shared jsdom environment before calling the existing global cleanup. Delete the
specific manually mutated properties directly, without introducing any or
changing unrelated teardown behavior.

In `@src/lib/exporter/audioEncoder.ts`:
- Around line 342-360: Replace the legacy demuxer.readAVPacket call in the
packetStream setup with the web-demuxer v4 readMediaPacket API, passing the
audio media type and equivalent start/end range arguments in the new signature.
Preserve the existing reader loop and timestamp/duration scaling.

---

Outside diff comments:
In `@electron/native/wgc-capture/src/main.cpp`:
- Around line 616-623: Update the encoder loop around the condition variable
wait and the control.stopRequested/encodeFailed check to restore the pause gate:
after wake-up, continue waiting or skip capture while control.paused is true,
and only call captureVideoSample when resumed with a valid latestFrameTexture.
Preserve immediate exit for stop requests and encoding failures.

---

Nitpick comments:
In `@src/components/video-editor/timeline/TimelineEditor.tsx`:
- Around line 323-340: Update the useEffect managing the requestAnimationFrame
loop to depend on the availability of getPlaybackTimeMs, using
!!getPlaybackTimeMs in its dependency array so the loop starts when the getter
is bound after mount. Preserve the existing cleanup and live-time update
behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 328febf1-fafb-4436-b623-97d15363d4a1

📥 Commits

Reviewing files that changed from the base of the PR and between 8b4a118 and 1074a89.

⛔ Files ignored due to path filters (1)
  • tests/fixtures/sample-dual-audio.mp4 is excluded by !**/*.mp4
📒 Files selected for processing (23)
  • .gitignore
  • electron/native/wgc-capture/src/main.cpp
  • electron/native/wgc-capture/src/mf_encoder.cpp
  • electron/native/wgc-capture/src/mf_encoder.h
  • electron/native/wgc-capture/src/wgc_session.cpp
  • package.json
  • src/components/launch/LaunchWindow.test.tsx
  • src/components/launch/LaunchWindow.tsx
  • src/components/video-editor/VideoEditor.tsx
  • src/components/video-editor/VideoPlayback.tsx
  • src/components/video-editor/timeline/TimelineEditor.tsx
  • src/components/video-editor/types.test.ts
  • src/components/video-editor/types.ts
  • src/components/video-editor/videoPlayback/rafCoalescer.test.ts
  • src/components/video-editor/videoPlayback/rafCoalescer.ts
  • src/components/video-editor/videoPlayback/videoEventHandlers.ts
  • src/components/video-editor/videoPlayback/zoomRegionUtils.test.ts
  • src/lib/exporter/audioEncoder.test.ts
  • src/lib/exporter/audioEncoder.ts
  • src/lib/exporter/audioMixExport.browser.test.ts
  • src/lib/exporter/streamingDecoder.ts
  • src/lib/exporter/videoExporter.test.ts
  • src/lib/exporter/videoExporter.ts

Comment thread src/components/launch/LaunchWindow.test.tsx
Comment thread src/lib/exporter/audioEncoder.ts
@EtienneLescot
EtienneLescot merged commit 46bf3eb into main Jul 19, 2026
1 of 2 checks passed
@EtienneLescot
EtienneLescot deleted the release/v1.7.0-sync branch July 19, 2026 22:39
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