Skip to content

Deferred review finding: lib/pr-shots.ts:67 — pr-shots still takes origin/HEAD first, so in a GST-511 clone its before i #3733

Closed as not planned

Description

@capy-ai

Filed by /ship's pre-landing review of PR #3718 (head 1e10365). The finding is in code that PR did not change, so it was deferred here instead of being fixed there (review scope frozen after pass 1).

  • Severity: CRITICAL
  • Where: lib/pr-shots.ts:67
  • Finding: pr-shots still takes origin/HEAD first, so in a GST-511 clone its before image is the branch's own pushed tip.

Activity

  1. added
    S3
    on Nov 1, 2026
  2. capy-ai commented on Nov 16, 2026

    @capy-ai
    ContributorAuthor

    Closing. This holds findings an earlier review judged below the blocking bar and set aside. We now keep deferred review findings on the pull request where they came up, not as open issues, unless one describes a live security exposure, and none here does. #4141 fixes this one and is being taken.

  3. capy-ai commented on Nov 22, 2026

    @capy-ai
    ContributorAuthor

    Fixed in #4681 (merged as b3323f4). When origin/HEAD points at the feature branch, gstack-pr-shots --path now uses the shared default-base resolver, then falls back to main, then master, so committed changes no longer vanish from the before-and-after image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions