Skip to content

paperpile: correct the wedged-tab explanation (it is not YouTube)#59

Merged
edwinhu merged 2 commits into
mainfrom
fix/wedge-attribution
Jul 21, 2026
Merged

paperpile: correct the wedged-tab explanation (it is not YouTube)#59
edwinhu merged 2 commits into
mainfrom
fix/wedge-attribution

Conversation

@edwinhu

@edwinhu edwinhu commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Correcting my own comment from #57. No code change — the fix is right; the explanation of why is wrong, and the explanation is what the next reader reasons from.

What I claimed

# tab (a playing YouTube tab reproduces this) never answers Network.getCookies

That attributes the CDP hang to YouTube, or to media playback. It was an over-specific inference from a single observation.

What is actually true

Re-probing the same browser three hours later:

target first probe 3h later
music.youtube.com/playlist hangs answers
www.youtube.com/watch hangs (closed)
wrds-www.wharton.upenn.edu/… hangs
read.readwise.io, web.morgen.so, mail.superhuman.com, chrome://newtab answer answer

The YouTube tab that hung reliably — twice, with and without Network.enable — now answers in milliseconds, and an unrelated WRDS tab hangs instead. One of six page targets is wedged at any moment and which one drifts. It tracks renderer busyness, not the site.

Why this is worth a commit

It makes the fix more clearly right rather than less. If the culprit were a known site you could special-case it — skip YouTube, prefer a "safe" tab. Because any tab can be wedged and the identity moves, avoiding page targets entirely is the only sound answer. Left as-is, the comment invites exactly the wrong fix.

Also bumps 5.70.15.70.2 so this actually reaches the version-keyed cache — per #58, a change without a bump never ships.

Verified: bash -n clean; extraction still returns 12 cookies with plack_session present; both manifests re-validated as JSON with no stray 5.70.1.

Related: edwinhu/superhuman-cli#28 fixes a live instance of this same page-target gamble.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UZvrft29zMGgks5abHVtVK

edwinhu and others added 2 commits July 16, 2026 15:29
a21a34d's comment says "a playing YouTube tab reproduces this", attributing the
CDP hang to YouTube or to media playback. That was an over-specific inference
from a single observation, and it is wrong.

Re-probing the same browser three hours later: the YouTube tab that had hung
reliably (twice, with and without Network.enable) now answers in milliseconds,
while a wrds-www.wharton.upenn.edu tab has started hanging instead. One of six
page targets hangs at any given moment, and which one drifts. It tracks
renderer busyness, not the site.

No code change — the fix was already right, and this makes it more clearly
right: if the culprit were a known site you could skip it, but since any tab
can be wedged and it moves, avoiding page targets entirely is the only sound
answer.

Worth correcting rather than leaving: the comment is what the next reader
reasons from, and "it's the YouTube tab" invites exactly the wrong fix.

Bump 5.70.1 -> 5.70.2 so this reaches the version-keyed cache — per #58, a
change without a bump never ships.

Verified: bash -n clean, extraction still returns 12 cookies with
plack_session present.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UZvrft29zMGgks5abHVtVK
The only conflict was the manifest version: this branch bumped 5.70.1 ->
5.70.2, while main advanced to 5.72.0 via #61 and #62. Resolved by taking
main's line and re-bumping to 5.72.1, so the comment correction still reaches
the version-keyed cache (per #58, a change without a bump never ships).

refresh-auth-from-dia.sh merged cleanly — main never touched it.

Added the matching CHANGELOG entry, which the branch predates.

Verified: both manifests re-validate as JSON, no stray 5.70.x or 5.72.0 refs
in .claude-plugin/, bash -n clean on refresh-auth-from-dia.sh.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XTS65gq18Rf3K98tJa3Me1
@edwinhu
edwinhu merged commit 30351bc into main Jul 21, 2026
@edwinhu
edwinhu deleted the fix/wedge-attribution branch July 21, 2026 21:25
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