Skip to content

Prevent false cache_memory_miss failures in Repository Quality Improver#8378

Merged
Evangelink merged 3 commits into
mainfrom
copilot/aw-fix-cache-memory-miss
May 20, 2026
Merged

Prevent false cache_memory_miss failures in Repository Quality Improver#8378
Evangelink merged 3 commits into
mainfrom
copilot/aw-fix-cache-memory-miss

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 20, 2026

Repository Quality Improver runs were being flagged as failed even when the agent completed successfully, because a first-run cache miss was reported as missing_data (cache_memory_miss). This created noisy failure issues on main despite cache-memory being enabled.

  • Workflow prompt update (.github/workflows/repository-quality-improver.md)

    • Added explicit guidance in Phase 0.1 (Load Focus Area History) that missing history.json is an expected first-run condition.
    • Instructed the agent to initialize empty in-memory history and continue instead of emitting missing_data.
    • Clarified that missing_data should only be used when required analysis data is genuinely unavailable from repo/tools.
  • Behavioral intent

    • Distinguishes expected cache initialization from actual missing data conditions.
    • Reduces false-positive workflow failure handling for this workflow.
If `history.json` does not exist, treat it as an expected first-run cache miss:
- Initialize an empty in-memory history object and continue.
- **Do not** call `missing_data` for cache-memory misses.
- Only use `missing_data` when required analysis data cannot be obtained...

Copilot AI self-assigned this May 20, 2026
Copilot AI review requested due to automatic review settings May 20, 2026 11:34
Copilot AI review requested due to automatic review settings May 20, 2026 11:34
Copilot AI linked an issue May 20, 2026 that may be closed by this pull request
Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot May 20, 2026 11:46
Copilot AI changed the title [WIP] Fix cache miss issue in repository quality improver Prevent false cache_memory_miss failures in Repository Quality Improver May 20, 2026
Copilot AI requested a review from Evangelink May 20, 2026 11:55
@Evangelink Evangelink marked this pull request as ready for review May 20, 2026 12:20
Copilot AI review requested due to automatic review settings May 20, 2026 12:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Repository Quality Improver agentic workflow prompt to treat a missing history.json in cache-memory as an expected first-run condition, avoiding false missing_data / cache_memory_miss failures.

Changes:

  • Clarifies that absence of history.json should initialize empty history and continue.
  • Explicitly instructs the agent not to emit missing_data for cache-memory misses, reserving it for genuinely unavailable repo/tool data.
Show a summary per file
File Description
.github/workflows/repository-quality-improver.md Adds first-run cache-miss guidance for history.json to reduce noisy failure handling.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread .github/workflows/repository-quality-improver.md
Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
@Evangelink Evangelink merged commit d7a7397 into main May 20, 2026
17 checks passed
@Evangelink Evangelink deleted the copilot/aw-fix-cache-memory-miss branch May 20, 2026 13:16
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.

[aw] Repository Quality Improver failed

3 participants