GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — fix(web): settled threads no longer offer a PR watch the server refuses by saphid · Pull Request #29867 · pingdotgg/t3code Conversation
Contributor
ProblemOn web, the "…" menu on a linked pull request in a thread's Pull requests panel offers Watch for changes on settled, archived, and subagent threads. The server always refuses to start a watch on those threads ( Mobile already hides the item in these states. Change
Scope and approvalVery small, focused fix for an obvious bug, so no prior issue: a client offers an action that the server always rejects in that state, and the sibling mobile client already handles it correctly. This change brings web in line with mobile and adds no new behavior. Overlap search: no open PR touches this menu or this guard. The closest is #17224 (watch from the PR detail menu, which edits Verification
Reviewed with sol-loop: 1 round with GPT-6.1 Sol on high. Sol verdict: approved. Created with Claude Opus 5.5 in Claude Code (T3 Code). 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCo-Authored-By: Claude Opus 5.5 <[email protected]>
|
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Web PR rows now hide watch-start actions for ineligible threads, using the same eligibility helper as mobile. Existing watch-stop controls remain available, with no change to server behavior or watch defaults. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Define and test watch eligibility packages/client-runtime/src/threadPullRequestCompatibility.ts, packages/client-runtime/src/threadPullRequestCompatibility.test.ts |
Adds canStartThreadPullRequestWatch. It returns false for archived, settled, and subagent threads, and true for active threads, including those with an "active" settled override. |
Gate mobile watch actions apps/mobile/src/features/threads/useLinkedPullRequestActions.ts |
The mobile hook uses the shared eligibility check alongside its existing permission and watch-capability checks. |
Gate the web watch menu apps/web/src/components/pullRequest/ThreadPullRequestsPanel.tsx |
The panel computes eligibility from the current thread. It shows the watch menu item for an open pull request if it is already watched or the thread can start watching. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related issues
Suggested labels: bugfix
Suggested reviewers: t3dotgg
860c8The menu change lacks a regression test that exercises the affected web behavior. Add that coverage to prevent the rejected action from returning.
Explanation
The description includes complete Problem, Change, Scope and approval, and Verification sections. It explains the affected states, implementation, approval rationale, test results, and unverified real-client behavior. It does not include the before-and-after screenshots requested for UI changes.
db79fff6-e1e1-42f5-8d27-254bf4a7de61apps/mobile/src/features/threads/useLinkedPullRequestActions.tsapps/web/src/components/pullRequest/ThreadPullRequestsPanel.tsxpackages/client-runtime/src/threadPullRequestCompatibility.test.tspackages/client-runtime/src/threadPullRequestCompatibility.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Note Written by Verified in a real dev environmentverified unchanged head
server transcript from the before run: Not verifiednative ios/android and the electron shell were not run on this linux vm. archived and subagent thread menus, an already-watched settled thread, and notifications from later external pr changes were not exercised. the focused shared-helper tests cover archived and subagent eligibility. this verification covers the linked-pr menu, not the separate pr-detail entry point. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…led-threads Co-Authored-By: Claude Opus 5.5 <[email protected]>
b7e2bfc to
1e26691
Compare
EvidenceReal web app, Chromium, 1280×800, light theme, fresh isolated database and synthetic replay thread on each commit. Link #29867, open its linked-PR menu, settle the thread using the sidebar, reopen it, and open the same menu again. Proven: scenarios:prove exited 0. The base offers Watch for changes on the settled thread; the head omits it. Both offer it while the thread is active.
Not shown:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…es (pingdotgg#29867) Co-authored-by: Julius Marminge <[email protected]> (cherry picked from commit c342f3d)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.