Refresh pull request checks without reloading review data #521

Closed
opened 2026-08-10 23:19:27 +00:00 by timmy · 0 comments
Owner

Problem

Refreshing CI checks in an assigned pull or requested review currently reloads files, reviews, and the full diff. A slow diff can therefore fail an otherwise healthy status refresh and repeated mobile refreshes redownload expensive immutable review data.

Scope

  • Add bounded status-only check endpoints for assigned pulls and requested reviews.
  • Refresh normalized checks and merge gates without replacing loaded review content.
  • If the head SHA changes, keep the old diff and require an explicit full reload before review or merge.
  • Preserve composer, reviewed-file progress, and inline-comment state during refresh.

Acceptance

  • Status refresh calls pull/status upstreams but never files, reviews, or diff.
  • Pending-to-success updates checks and merge eligibility in place.
  • Changed head disables consequential actions and shows reload guidance.
  • Focused backend/frontend behavioral tests and full suite pass.

This is distinct from #517, which introduced actionable checks but refreshes them through the full review-data path, and #127, which bounded the complete initial review load.

## Problem Refreshing CI checks in an assigned pull or requested review currently reloads files, reviews, and the full diff. A slow diff can therefore fail an otherwise healthy status refresh and repeated mobile refreshes redownload expensive immutable review data. ## Scope - Add bounded status-only check endpoints for assigned pulls and requested reviews. - Refresh normalized checks and merge gates without replacing loaded review content. - If the head SHA changes, keep the old diff and require an explicit full reload before review or merge. - Preserve composer, reviewed-file progress, and inline-comment state during refresh. ## Acceptance - Status refresh calls pull/status upstreams but never files, reviews, or diff. - Pending-to-success updates checks and merge eligibility in place. - Changed head disables consequential actions and shows reload guidance. - Focused backend/frontend behavioral tests and full suite pass. This is distinct from #517, which introduced actionable checks but refreshes them through the full review-data path, and #127, which bounded the complete initial review load.
timmy self-assigned this 2026-08-10 23:19:27 +00:00
timmy closed this issue 2026-08-10 23:28:27 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#521
No description provided.