Skip to content

Fix API sync agent workflow after DynamicData rename#20

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-agent-github-actions-job
Draft

Fix API sync agent workflow after DynamicData rename#20
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-agent-github-actions-job

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

The agent job in the weekly API sync workflow was failing because the prompt and safe-output allowlist still referenced the pre-rename R3.DynamicData path, and the agent instructions encouraged broad repository reads that drove token usage into the hard limit. This change aligns the workflow with the current repo layout and narrows the agent’s decision path.

  • Workflow path alignment

    • Update the API sync prompt front matter to allow edits under R3Ext.DynamicData/**/*.cs
    • Mirror the same path fix in the generated safe-outputs config embedded in api-sync-check.lock.yml
  • Prompt scope reduction

    • Tell the agent to noop early when recent upstream changes do not affect public API surface
    • Instruct the agent to inspect only targeted files/snippets tied to candidate upstream changes instead of reading large areas of the repo
  • Repository context refresh

    • Replace stale R3.DynamicData/ references in the workflow prompt with R3Ext.DynamicData/ so the agent reasons about the current project structure
safe-outputs:
  create-pull-request:
    allowed-files:
      - "R3Ext/**/*.cs"
      - "R3Ext.DynamicData/**/*.cs"

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'agent' Fix API sync agent workflow after DynamicData rename Jun 15, 2026
Copilot AI requested a review from michaelstonis June 15, 2026 18:17
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.

2 participants