feature: optional commit_id for stoke pr review
#11
Labels
No labels
attention
blocked
blocker:ci-red
blocker:conflict
blocker:drill-pending
blocker:unrequested
bug
claimed
documentation
enhancement
epic
merge-next
needs-ruling
needs-triage
offsite
post-merge
ready
release
scope:ci
scope:cli
scope:docs
scope:manifests
scope:packaging
stale
state:addressing
state:bots-reviewing
state:building
state:needs-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: heavy-duty/stoke#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
ForgejoClient.createPullRequestReviewposts only{ event, body }. The Forgejo API also accepts optionalcommit_id(CreatePullReviewOptions).Without it, reviews attach to whatever the forge chooses (usually current head). After force-pushes or when pinning feedback to a specific SHA (common in multi-bot review loops), the review can appear stale or target the wrong commit.
Proposed fix
createPullRequestReview(owner, repo, index, event, body, { commitId } = {})stoke pr review … --commit <sha>(optional)Acceptance
--commitpreserves current behavior.--commit, the request JSON includescommit_id.Audit note
Enhancement from full audit of stoke @
92a6741.