gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings

← Pull requests

#18approvals follow-up: live Merge after status writes, helpers (#52)

mergedw52b-approval-followup → mainby Gitoria · head c01e66c6

  • successKunibert: kunibertKunibert review

Verdicts

  • Kunibertcommented

People’s approvals

Reviews

  1. Kunibertappcommentedc01e66c6 · current head · 2026-11-15 19:33:51 UTC

    The status refresh can leave outdated check results beside an updated Merge button. The helper extraction also duplicates a date formatter contrary to L16.

    Correctness (1 new, 0 still open)

    One minor UI inconsistency: the PR page refreshes merge eligibility without refreshing status badges.

    Spec (0 new, 0 still open)

    No spec findings, as instructed for this review.

    Standards (1 new, 0 still open)

    One L16 violation: the extracted helper copies existing shared date formatting.

    Gates: not run

Threads

  1. components/pull.hl:253Kunibert

    1. Kunibert2026-11-15 19:33:51 UTC

      🔹 Minor · Correctness: no rule: Refresh status badges with Merge eligibility

      After a pending-to-success PUT, this handler enables Merge while the PR's status badge still says pending. approvalStateFor returns no statuses, and applyApprovalState never updates them. Return and apply current-head status badges and hasStatuses alongside merge eligibility.

  2. lib/approvals-helpers.hl:20Kunibert

    1. Kunibert2026-11-15 19:33:51 UTC

      🔹 Minor · Standards: L16: Share the timestamp formatter instead of copying it

      This copies the formatter retained at lib/prpage.hl:46. .kunibert/HL-STANDARD.md L16 says “never copy them” and “shared env/date/path helpers belong in lib/util.hl once.” Move the formatter to lib/util.hl and call it from both places.

Conversation

Nobody has written here yet.

Only the owner and the members of this repository can comment here.