Skip to content

Add pre-fetch guard to Impeccable Skills Reviewer - #51099

Merged
pelikhan merged 3 commits into
mainfrom
copilot/add-pre-fetch-guard
Aug 7, 2026
Merged

Add pre-fetch guard to Impeccable Skills Reviewer#51099
pelikhan merged 3 commits into
mainfrom
copilot/add-pre-fetch-guard

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Impeccable Skills Reviewer had a high failure rate when expected pre-fetched PR artifacts were unavailable. The workflow prompt now fails closed with a clear noop instead of continuing without required PR context.

  • Pre-fetch validation
    • Verifies required PR metadata and diff files exist and are non-empty before review work begins.
    • Stops early with a clear diagnostic when pre-fetch data is missing.
test -s /tmp/gh-aw/agent/pr-meta.json && test -s /tmp/gh-aw/agent/pr-diff.patch
  • Workflow compilation
    • Recompiled generated workflow lockfiles to keep markdown sources and executable workflows in sync.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add pre-fetch guard to reduce run failure rate Add pre-fetch guard to Impeccable Skills Reviewer Aug 7, 2026
Copilot AI requested a review from pelikhan August 7, 2026 14:52
@pelikhan
pelikhan marked this pull request as ready for review August 7, 2026 15:39
Copilot AI balanced review requested due to automatic review settings August 7, 2026 15:39
@pelikhan
pelikhan merged commit f48767b into main Aug 7, 2026
1 check passed
@pelikhan
pelikhan deleted the copilot/add-pre-fetch-guard branch August 7, 2026 15:41

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.

Pull request overview

Adds a fail-closed pre-fetch guard to prevent reviews without required PR context.

Changes:

  • Validates PR metadata and diff artifacts before review.
  • Calls noop with a clear diagnostic when artifacts are unavailable.
  • Regenerates workflow lock files.
Show a summary per file
File Description
.github/workflows/impeccable-skills-reviewer.md Adds the pre-fetch validation process.
.github/workflows/impeccable-skills-reviewer.lock.yml Updates compiled workflow metadata.
.github/workflows/smoke-cursor.lock.yml Captures canonical recompilation output.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.86.1

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.

Impeccable Skills Reviewer: add pre-fetch guard to reduce ~31% run failure rate

3 participants