[framework-bug/tooling][p3-low] pr-review.sh: tea pr approve/tea pr reject pass unsupported --comment flag → durable approval RoR fails closed
#835
Reference in New Issue
Block a user
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?
Type: framework-bug / tooling · Priority: LOW (p3) · Fails CLOSED (errored approve, NOT a silent false-approve — not a security hole).
Defect
packages/mosaic/framework/tools/git/pr-review.shGitea approval path passes a flagteav0.11.1 does not define:tea pr approve "$PR_NUMBER" $(get_gitea_repo_args) ${COMMENT:+--comment "$COMMENT"}tea pr reject "$PR_NUMBER" $(get_gitea_repo_args) --comment "$COMMENT"tea pr approve/tea pr rejecthave no--commentoption in tea v0.11.1, so any durable formal APPROVE / REQUEST-CHANGES review through the wrapper errors with:This blocks the durable formal-review RoR path fleet-wide (it is a root reason the durable-issue-comment workaround exists).
Impact
Scope of fix
--commentfrom thetea pr approve(L88) andtea pr reject(L96) invocations.tea comment/ issue-comment and verify by provider read-back (the same pattern #812 applies to thecommentaction).Relationship to #812 (IMPORTANT — keep separate)
#812 is a DISTINCT code path: the
commentaction (L87–110,tea pr comment→tea comment+ read-back). Verified by diffd801d6c4...fix/812-pr-review-comment: it touches ONLY thecommentaction; the approve/reject lines (L87–96) are unchanged. So #812 does NOT fix this defect, and this defect does NOT block #812. They are independent and independently schedulable — do not fold this into the parked #812 (that would hide real debt behind a park).CO-FIX note: same script, same defect class (tea flag incompatibility). Whoever next opens a
pr-review.shPR — either this issue or #812 unparking — should fix BOTH tea-flag paths in ONE PR to avoid churning the same file twice. They remain SEPARATE issues so neither blocks the other.Cross-ref: #812 (comment-action read-back, parked) · #789 (surfaced-on, homelab-owned).
Filed by MS-LEAD after root-causing the homelab #789 bus report. Repo label taxonomy is not provisioned (only
fleet-enhancementexists), so type/priority are encoded in the title.