Skip to content

Fix PAT pool validator CLI probe - #15087

Merged
AR-May merged 1 commit into
mainfrom
ar-may-fix-pat-validator
Oct 2, 2026
Merged

AR-May merged 1 commit into
mainfrom
ar-may-fix-pat-validator

Conversation

@AR-May

@AR-May AR-May commented Sep 21, 2026

Copy link
Copy Markdown
Member

The unsupported --effort=low flag and other non-authentication failures could mark valid PATs as invalid. Remove the flag and classify unrecognized failures as unknown instead.

Remove the unsupported reasoning-effort flag and classify only recognized authentication failures as invalid. Report all other probe failures as unknown with a credential-safe diagnostic.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 1322cf0f-678e-47be-b842-2039d223dff2
Copilot AI lite review requested due to automatic review settings September 21, 2026 12:58
@AR-May
AR-May requested a review from a team as a code owner September 21, 2026 12:58
@AR-May
AR-May temporarily deployed to copilot-pat-pool September 21, 2026 12:58 — with GitHub Actions Inactive
@AR-May
AR-May temporarily deployed to copilot-pat-pool September 21, 2026 12:59 — with GitHub Actions Inactive
@AR-May
AR-May temporarily deployed to copilot-pat-pool September 21, 2026 13:01 — with GitHub Actions Inactive

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 review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Fixes PAT pool validation by removing an unsupported CLI flag and distinguishing authentication failures from unrelated errors.

Changes:

  • Removes --effort=low.
  • Captures probe output and recognizes explicit authentication failures.
  • Classifies other failures as unknown.
File Description
.github/​workflows/​validate-pat-pool.yml Refines CLI probing and PAT status classification.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@AR-May AR-May self-assigned this Sep 21, 2026
@AR-May
AR-May temporarily deployed to copilot-pat-pool September 21, 2026 13:11 — with GitHub Actions Inactive
@AR-May
AR-May temporarily deployed to copilot-pat-pool September 21, 2026 13:13 — with GitHub Actions Inactive

@github-actions github-actions Bot 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.

# Dimension Verdict
4 Test Coverage & Completeness 🟡 1 MAJOR
6 Logging & Diagnostics Rigor 🟡 1 MODERATE

✅ 22/24 dimensions clean.

  • Test Coverage & Completeness — add deterministic coverage for each PAT-probe classification path
  • Logging & Diagnostics Rigor — preserve a safe, actionable category for unknown probe failures

Generated by Expert Code Review (on open) for #15087 · copilot · gpt56 · 391.4 AIC · ⌖ 5.7 AIC · ⊞ 18.2K

Comment thread .github/workflows/validate-pat-pool.yml Resolved
Comment thread .github/workflows/validate-pat-pool.yml Resolved
@AR-May
AR-May temporarily deployed to copilot-pat-pool September 21, 2026 13:13 — with GitHub Actions Inactive
@AR-May
AR-May merged commit 13687bb into main Oct 2, 2026
22 checks passed
@AR-May
AR-May deleted the ar-may-fix-pat-validator branch October 2, 2026 09:05

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — fdaf71ee Deployed Sep 21, 2026 by AR-May via conclusion #900
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.

3 participants