gitoria
All repositories: gitoria
#18approvals follow-up: live Merge after status writes, helpers (#52)
mergedw52b-approval-followup → mainby · head c01e66c6
- successKunibert: kunibertKunibert review
Verdicts
- Kunibertcommented
People’s approvals
Reviews
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
components/pull.hl:253Kunibertlib/approvals-helpers.hl:20KunibertKunibert2026-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.mdL16 says “never copy them” and “shared env/date/path helpers belong in lib/util.hl once.” Move the formatter tolib/util.hland call it from both places.
Conversation
Nobody has written here yet.
Only the owner and the members of this repository can comment here.
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.
approvalStateForreturns no statuses, andapplyApprovalStatenever updates them. Return and apply current-head status badges andhasStatusesalongside merge eligibility.