Skip to content

Fix repo-memory patch size and cache-memory miss in daily workflows#35202

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-cgo-build-failures
May 27, 2026
Merged

Fix repo-memory patch size and cache-memory miss in daily workflows#35202
pelikhan merged 2 commits into
mainfrom
copilot/fix-cgo-build-failures

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 27, 2026

Two daily workflows were generating failure issues: the Community Attribution Updater was exceeding the default 10KB repo-memory patch limit, and Step Name Alignment was reporting spurious cache_memory_miss failures on first run (empty cache).

Daily Community Attribution Updater — max-patch-size (#35105)

The full contributors list exceeds the 10KB default. Raised max-patch-size to 100KB (the allowed maximum):

repo-memory:
  wiki: true
  description: "All-time Community Contributors list"
  max-patch-size: 102400  # 100KB; default (10KB) is too small for the full contributors list

This propagates into the compiled lock file's MAX_PATCH_SIZE env var and the push_repo_memory safe-outputs handler config.

Step Name Alignment — cache-memory miss (#35135)

The system-level cache_memory_prompt.md instructs agents to call missing_data with reason: cache_memory_miss whenever no cached data is found. On first run the cache is legitimately empty, but handle_agent_failure.cjs treats any cache_memory_miss signal as a misconfiguration and creates a failure issue.

Added an explicit override in the prompt:

First run (empty cache): If no cache file exists yet, that is expected and normal. Do not call missing_data. Simply proceed as if no previous history is available, then save a new cache entry at the end of your run.

Both .lock.yml files recompiled after the frontmatter/body changes.

Copilot AI linked an issue May 27, 2026 that may be closed by this pull request
- Fix #35105: Increase max-patch-size for Daily Community Attribution
  Updater from 10KB to 100KB so the full contributors list can be saved
- Fix #35135: Add first-run guidance to Step Name Alignment prompt to
  prevent spurious cache_memory_miss failures on empty cache

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CGO build failures causing CI confidence degradation Fix repo-memory patch size and cache-memory miss in daily workflows May 27, 2026
Copilot AI requested a review from gh-aw-bot May 27, 2026 12:35
@pelikhan pelikhan marked this pull request as ready for review May 27, 2026 12:39
Copilot AI review requested due to automatic review settings May 27, 2026 12:39
@pelikhan pelikhan merged commit 13b8d06 into main May 27, 2026
@pelikhan pelikhan deleted the copilot/fix-cgo-build-failures branch May 27, 2026 12:39
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

Fixes two recurring daily-workflow failure issues by adjusting workflow frontmatter and an embedded prompt instruction, then recompiling the corresponding lock files.

Changes:

  • Raise repo-memory.max-patch-size to 102400 bytes (100KB) in daily-community-attribution.md so the full contributors list can be pushed.
  • Add an explicit "first run / empty cache" instruction to step-name-alignment.md telling the agent not to emit missing_data: cache_memory_miss on an empty cache.
  • Recompile both .lock.yml files to reflect the source changes (hashes, MAX_PATCH_SIZE env, push_repo_memory config, prompt heredoc tags).
Show a summary per file
File Description
.github/workflows/daily-community-attribution.md Adds max-patch-size: 102400 to the repo-memory config.
.github/workflows/daily-community-attribution.lock.yml Recompiled lock; MAX_PATCH_SIZE and push_repo_memory.max_patch_size updated to 102400; regenerated heredoc tags and metadata hash.
.github/workflows/step-name-alignment.md Adds first-run guidance to skip missing_data when no cache exists yet.
.github/workflows/step-name-alignment.lock.yml Recompiled lock; updated body_hash to reflect the prompt change.

Copilot's findings

Tip

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

  • Files reviewed: 4/4 changed files
  • Comments generated: 0

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.

Workflow Health Dashboard — 2026-05-27

4 participants