Skip to content

#372 follow-ups: deferred review findings (signed-commit rollout) #373

Open

Description

@kiwidream

Tracking issue for review findings deferred from #372 (signed commits, merge-commit merges and first-parent release checks). All are low severity or fail closed.

Release publisher

  • A shallow trusted checkout is refused with advice to run git fetch --unshallow. That doesn't clear a shallow boundary left by a fetch from another repository; the advice should also mention a fresh clone.
  • Read-only checkouts and GH_HOST: the publisher's gh reads aren't pinned to github.com, and the refusal for a checkout it can't write to could be clearer.
  • The default-branch hint in the refusal for an unprotected trusted ref could name the ruleset templates to apply.

Secret scan

  • A gitleaks ERR line marks the history scan incomplete, and gitleaks logs some harmless git warnings at that level. Watch the first nightly runs and allowlist any harmless warning.
  • Any octopus merge in scope fails every full-history run, and there's no way to accept a reviewed one.
  • shallow_history_gap loads all of git rev-list --all into memory. A merge-base check per boundary would do.
  • external_commands' optional remerge_diff and scope parameters recompute the scope as a test-only fallback, which could disagree with run_scanner's gap checks. Make them required.

Process

  • A release line carrying two unmerged operator-policy bumps fails the merge gate's previous-policy check, as it did before this change. Bump one policy at a time; document that.
  • Remerge-diff findings on conflicted merges are reported as b/<path> and under the merge's fingerprint, so existing path allowlists and triage entries don't match them. They fail toward reporting, and need triage rather than code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions