Skip to content

Wait for CodeQL standard-library tags before opening upgrade PRs - #422

Draft
data-douser with Copilot wants to merge 3 commits into
mainfrom
copilot/wait-for-codeql-tag-before-upgrade-prs
Draft

Wait for CodeQL standard-library tags before opening upgrade PRs#422
data-douser with Copilot wants to merge 3 commits into
mainfrom
copilot/wait-for-codeql-tag-before-upgrade-prs

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

What This PR Contributes

The updater could detect a new CodeQL CLI binary before its matching standard-library tag was published, causing QLT failures in generated upgrade PRs.

  • Readiness gating
    • Verifies the exact refs/tags/codeql-cli/v<version> ref in github/codeql.
    • Runs the existing PR pipeline only after both artifacts are available.
  • Deferred updates
    • Treats a missing tag as a successful deferral.
    • Reports that no PR was created and the next scheduled run will retry.
  • Failure handling
    • Preserves visible failures for API and authentication errors.
    • Fails closed on malformed API responses.

Future Works

  • Coordinating publication order between the upstream CodeQL repositories.
  • Modifying existing upgrade PRs created before this readiness gate.

Copilot AI review requested due to automatic review settings July 29, 2026 22:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 29, 2026 22:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 29, 2026 22:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

Copilot AI changed the title [WIP] Update workflow to wait for CodeQL standard-library tag before upgrades Wait for CodeQL standard-library tags before opening upgrade PRs Jul 29, 2026
Copilot AI requested a review from data-douser July 29, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wait for the CodeQL standard-library tag before opening upgrade PRs

3 participants