Skip to content

fix(pr-pipeline): stop check-signed-commits failing the report job when its escalation label write returns 403 #9055

Closed

Description

@github-actions

Filed by the lane sweep (run) from slice A. A model wrote the fenced text below from CI data, which can carry text written to steer it; every cited line was checked against main when filed. Rewrite the issue in your own words before marking it agent-ready.

Problem

Both pr-unblock fix-docs runs (39723818999 for PR 9023, 39723816377 for PR 9021) failed in job 'fix-docs / report', step 'Check the lane's commits are signed'. The run job gated no head: RUN_HEAD, CALLER_HEAD, EVENT_HEAD and SINCE_SHA were all empty, so only API_HEAD was set. The action spent about 64s re-reading the PR (duration_ms 64268 and 64859), then warned 'could not verify the lane's commits (the PR's head never matched its branch)'. It then tried to escalate, and POST /issues/<n>/labels returned 403. Escalation failure returns exit code 1, so the job is red. Nothing was verified, so the failure carries no signal about the PR's commits. The label and comment were not posted, so the PR gets no needs-human marker either. The step also ran although the run job had produced no head (the 'Note that no check is posted without a head SHA' step then printed 'The run job gated no head SHA').

Root cause

The 'Check the lane's commits are signed' step is gated only on forged == 'false'. The 'Choose the head' step sets forged=false with an empty sha when the run job has no head, so check-signed-commits runs with no since-sha and no gated head. Its main() maps any escalation write error, including a 403 on the label POST, to exit code 1. A failure to write the label is therefore reported as a red lane job, instead of the unverifiable-commits condition it was trying to escalate.
.github/actions/check-signed-commits/check-signed-commits.mjs:192:         log(`::error::check-signed-commits: escalation failed (${errorDetail(error)})`);
.github/workflows/pr-run-activity-read.yml:2581:           && steps.head.outputs.forged == 'false'

Proposed fix

Skip the signed-commits step when steps.head.outputs.sha is empty, since no lane commit was gated. In check-signed-commits.mjs, catch the label POST 403 separately: still post the comment, or log a warning and return 0 with all-verified=false already written, so the failure is not conflated with a lane failure. Also find why the 403 happens when the caller grants issues: write. Check whether the lanes token is scoped for labels on these PRs.

Where

workflow .github/workflows/pr-unblock.yml
job fix-docs / report

Activity

  1. added
    needs-triage
    on Oct 22, 2026
  2. added
    status: confirmed
    and removed
    needs-triage
    on Oct 24, 2026
  3. kyle-sexton commented on Oct 24, 2026

    @kyle-sexton
    Member

    Triaged (Issue Triage session): confirmed lane defect, priority high, owner: Automation Lanes. Owner rule 2026-10-24: conveyor-stopping blockers are fixed ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: confirmed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions