Skip to content

Increase audit workflow repo-memory patch budget to prevent push_repo_memory failures#34120

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-agentic-workflow-audit-agent
May 22, 2026
Merged

Increase audit workflow repo-memory patch budget to prevent push_repo_memory failures#34120
pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-agentic-workflow-audit-agent

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 22, 2026

The Agentic Workflow Audit Agent scheduled run failed in push_repo_memory because the default memory snapshot exceeded the repo-memory patch limit. This change raises the patch budget for that workflow’s memory writes so routine audit rollups can be persisted.

  • Scope

    • Updates only the audit workflow’s repo-memory configuration.
    • Keeps existing memory layout/branching behavior intact.
  • Workflow change

    • In .github/workflows/audit-workflows.md, overrides the shared repo-memory import input:
      • max-patch-size: 51200 (from default 10240).
  • Compiled lockfile update

    • Regenerates .github/workflows/audit-workflows.lock.yml to reflect the new repo-memory constraint in generated safe-output/job config.
imports:
  - uses: shared/repo-memory-standard.md
    with:
      branch-name: "memory/audit-workflows"
      description: "Historical audit data and patterns"
      max-patch-size: 51200

Copilot AI linked an issue May 22, 2026 that may be closed by this pull request
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Agentic Workflow Audit Agent failure due to memory limit Increase audit workflow repo-memory patch budget to prevent push_repo_memory failures May 22, 2026
Copilot AI requested a review from pelikhan May 22, 2026 22:21
@pelikhan pelikhan marked this pull request as ready for review May 22, 2026 22:28
Copilot AI review requested due to automatic review settings May 22, 2026 22:28
@pelikhan pelikhan merged commit 6ef03d8 into main May 22, 2026
@pelikhan pelikhan deleted the copilot/aw-fix-agentic-workflow-audit-agent branch May 22, 2026 22:29
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

This PR updates the audit workflow’s repo-memory configuration to raise the maximum allowed repo-memory patch size, preventing push_repo_memory failures when routine audit rollups exceed the default limit.

Changes:

  • Override the shared repo-memory-standard import input in .github/workflows/audit-workflows.md to set max-patch-size: 51200 (50 KB).
  • Regenerate the compiled workflow lockfile so the rendered constraints and safe-output push_repo_memory config reflect the new max_patch_size.
Show a summary per file
File Description
.github/workflows/audit-workflows.md Overrides repo-memory import input to increase max-patch-size for the audit workflow’s memory branch.
.github/workflows/audit-workflows.lock.yml Regenerated compiled workflow output reflecting the new max patch size in constraints/env and safe-outputs config.

Copilot's findings

Tip

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

  • Files reviewed: 2/2 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.

[aw] Agentic Workflow Audit Agent failed

3 participants