fix: validate the default Forgejo squash subject #15
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/forgejo-squash-subject"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checks the default squash subject including Forgejo's appended PR number, so a title cannot pass the 100-character limit and produce an overlong subject after merging. Regenerated with published Align 17.3.13 from the shared fix.
Review
01M60NJZF2ZJM5EZR30SN8R8XA— head337e905bc9e5af12076e9e171e9ea263eb1d4cc0Review — j4k-oss/askpplx @
d8ed1e4dd2Scope: diff against base tree
48e66dac3bd6Review finished: 3 succeeded, 0 failed, 7 skipped by dispatch
Triage: settled
Facts: current review-wide projection
Computed under:
Findings (1)
low — Bare-title check comment reads as change history and refers to a suffix not yet introduced
01M60NMF83P2STYV4D93ACJFG2.forgejo/workflows/commit-msg.yml(snippet)01M60NN03W6X8YRTPJRJF1DHXG· valid: Grounded (exact): the comment reads '# Keep the bare-title check: the suffix could hide an empty subject.' On its own line, 'the suffix' is undefined; per the reviewer's quotes, the next block introduces it ('Forgejo's default squash subject appends the pull request number'). The reviewer also reports, from the diff, that the old label 'Squash: the PR title becomes the target branch's subject.' was removed while '# Rebase: the PR's individual commits land on the target branch.' stayed. So the step now labels the rebase path but not the squash path, which breaks the parallel structure and drops the stated reason for validating the PR title as a commit subject. These quotes are not grounded, but they hang together and match the anchored line's forward reference, so the defect holds. The 'Keep' imperative is the weakest part of the claim. It works as a standing maintainer directive that gives the reason for a non-obvious check, which counts as current fact, not narration of a removed version. On its own it would not show change history. The proposed replacement keeps the rationale (the suffix could hide an empty subject), restores the squash label, and resolves the forward reference ('the suffix below'), so it loses no needed meaning. A smaller fix also works: restore the 'Squash:' label and name the suffix ('the PR-number suffix'). Severity low is right: the code is unaffected and the cost is a moment of reader confusion.Other claims
Coverage
Coverage pass: 01M60NJZF7JS2Q3VXRSGK4P14V
Accounting: complete (all slots terminal; see slot results for failures)
Slot health: healthy
@ -94,3 +95,3 @@base_ref=$(cat "$pr_fields/ref")# Squash: the PR title becomes the target branch's subject.# Keep the bare-title check: the suffix could hide an empty subject.low — Bare-title check comment reads as change history and refers to a suffix not yet introduced
lens
writing-quality· armdefault· tally 1 valid / 0 invalid / 0 uncertainclaim
01M60NMF83P2STYV4D93ACJFG2of review01M60NJZF2ZJM5EZR30SN8R8XAThe immediately adjacent block explicitly says that Forgejo’s default squash subject appends the pull request number, then constructs that suffix. It supplies both the squash context and the meaning of the forward reference locally, so neither explanation is missing. “Keep” is durable maintenance guidance against removing an apparently redundant check; the triage itself recognizes this. Restoring a parallel Squash label or naming the suffix earlier is optional polish, rather than an actionable clarity defect. The suggested claim that the PR title becomes the target branch subject also omits the number this change checks. Independent inspection of this exact generated workflow confirms the local context; no source correction is required.