Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 31, 2025

Campaign workflow run #20621396134 failed in push_repo_memory job. The campaign spec had inconsistent glob patterns: memory-paths used go-file-size-reduction-project64/** while metrics-glob used go-file-size-reduction-project64-*/metrics/*.json (with -* wildcard). This mismatch confused file-glob extraction and prevented validation from finding required campaign state files.

Changes

Pattern consistency (.github/workflows/go-file-size-reduction-project64.campaign.md)

  • Remove -* wildcard from metrics-glob to match memory-paths pattern

Documentation clarity (pkg/campaign/prompts/orchestrator_instructions.md)

  • Add explicit JSON schemas for cursor.json and metrics snapshots
  • Add directory structure diagram with exact file paths
  • Clarify files should be written to /tmp/gh-aw/repo-memory/campaigns/{campaign-id}/

Context

Campaign mode validation (actions/setup/js/push_repo_memory.cjs:370-382) requires:

{campaign-id}/
├── cursor.json          # Campaign checkpoint
└── metrics/
    └── YYYY-MM-DD.json  # At least one snapshot

Pattern mismatch prevented agents from understanding correct directory structure. Without required files, validation fails with "Missing required campaign cursor file" or "Missing required campaign metrics snapshots" errors.

Additional Finding

Legacy file exists at memory/default/go-file-size-reduction-20610415309/metrics/2025-12-31.json from before PR #8283 path fixes. Currently skipped with warning (per PR #8286), but recommend cleanup of memory/default/ directory from memory/campaigns branch.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/githubnext/gh-aw/actions/runs/20621396134/artifacts
    • Triggering command: /usr/bin/curl curl -sL REDACTED (http block)
  • https://api.github.com/repos/githubnext/gh-aw/actions/runs/20621396134/jobs
    • Triggering command: /usr/bin/curl curl -s -H Accept: application/vnd.github+json REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Analyze failed campaign run: https://github.com/githubnext/gh-aw/actions/runs/20621396134/job/59224043813


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Analyze failed campaign run in GitHub Actions Fix campaign metrics-glob pattern mismatch causing push_repo_memory failures Dec 31, 2025
Copilot AI requested a review from mnkiefer December 31, 2025 15:51
@mnkiefer mnkiefer closed this Dec 31, 2025
@mnkiefer
Copy link
Contributor

No longer needed.

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