Skip to content

ci(proto-sync): fix upstream-impact tracking and include actionable diagnostics #578

Description

@Verolop

Background

The workflow that tracks failed proto-sync PRs failed on #575 with HTTP 403 while trying to label the pull request. It has issues: write and pull-requests: read, but calls addLabels before creating the tracking issue.

Failed workflow: https://github.com/multigres/multigres-operator/actions/runs/32021355267

#585 introduces proto-sync-reporting.yaml for sync-creation failures. Generated-PR CI must use the same reporter so one validated upstream SHA has one issue across both stages.

Scope

Remove PR labeling; the tracking issue already links the short-lived bot PR, and granting write access to pull requests is unnecessary. Keep the existing bot login, branch, repository, and upstream-SHA identity checks before passing data to the reporter.

On failed CI, update or create the SHA-keyed issue with the PR, upstream comparison, failed jobs, and concise failure details. On recovery, close that same issue. The observer must never check out or execute pull-request content.

Acceptance criteria

  • Generated proto-sync PRs are authenticated with the existing bot, repository, branch, and SHA checks.
  • Failed and recovered CI reuse the reporter from ci(proto-sync): restore first-attempt dependency synchronization #585 and update one issue per upstream SHA.
  • Failure reports include the PR, upstream comparison, failed jobs, and useful diagnostics.
  • The workflow uses only issues: write, pull-requests: read, and the read permission needed for workflow diagnostics.
  • PR labeling and its label-bootstrap code are removed.

References

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions