Skip to content

fix(stream): frame guard verdict liveness + release upload guard - #2

Merged
HowmationFr merged 2 commits into
mainfrom
fix/frame-guard-liveness
Jul 11, 2026
Merged

fix(stream): frame guard verdict liveness + release upload guard#2
HowmationFr merged 2 commits into
mainfrom
fix/frame-guard-liveness

Conversation

@HowmationFr

@HowmationFr HowmationFr commented Jul 11, 2026

Copy link
Copy Markdown
Owner

The frame guard could keep a tab 'pending' forever: setTimeout can fire up to 1 ms early (libuv rounds to ms), so the settle timer's own callback landed with the window not quite expired, cleared itself, and nothing re-armed it. Every subframe was covered yet the iframes stayed hidden for the whole stream. Not a leak (it fails closed), but the page is broken. evaluateNow now always re-schedules when the verdict hangs on the settle window alone. Reproduced 1 in 15 runs on a loaded single core; 0 in 45 after the fix.

release.yml: electron-builder silently SKIPS uploading into a published release when it is configured to publish drafts, so the whole run went green with zero assets attached. The draft job now fails loudly on a hand-created release, and a new verify job asserts every installer plus the three latest*.yml are attached.

HowmationFr and others added 2 commits July 11, 2026 14:36
The frame guard could keep a tab 'pending' forever: setTimeout can fire up to
1 ms early (libuv rounds to ms), so the settle timer's own callback landed with
the window not quite expired, cleared itself, and nothing re-armed it. Every
subframe was covered yet the iframes stayed hidden for the whole stream. Not a
leak (it fails closed), but the page is broken. evaluateNow now always
re-schedules when the verdict hangs on the settle window alone.
Reproduced 1 in 15 runs on a loaded single core; 0 in 45 after the fix.

release.yml: electron-builder silently SKIPS uploading into a published release
when it is configured to publish drafts, so the whole run went green with zero
assets attached. The draft job now fails loudly on a hand-created release, and a
new verify job asserts every installer plus the three latest*.yml are attached.
@HowmationFr
HowmationFr merged commit 058be77 into main Jul 11, 2026
4 checks passed
@HowmationFr
HowmationFr deleted the fix/frame-guard-liveness branch July 11, 2026 12:47
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