Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

PR #11382 was not discovered by campaign run #21263571834 because it lacked the required campaign labels. The campaign discovery system searches by label (z_campaign_* primary, agentic-campaign fallback), not by tracker-id in PR bodies.

Changes

Worker workflows updated:

  • code-scanning-fixer.md
  • dependabot-bundler.md
  • secret-scanning-triage.md

Labels added to safe-outputs:

safe-outputs:
  create-pull-request:
    labels: [security, automated-fix, agentic-campaign, z_campaign_security-alert-burndown]
    reviewers: [copilot]  # Fixed: was string, needs array

Secret-scanning-triage also updated for create-issue safe output.

Discovery Logic

Campaign discovery (campaign_discovery.cjs):

  1. Search by campaign-specific label: z_campaign_security-alert-burndown
  2. Fallback to generic label: agentic-campaign
  3. Fallback to tracker-id text search (least reliable)

Without labels, items are invisible to the orchestrator regardless of tracker-id presence.

Original prompt

Analyze latest campaign run:
https://github.com/githubnext/gh-aw/actions/runs/21263571834
Why was this item not discovered:
#11382


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 22, 2026 20:37
Add required agentic-campaign and z_campaign_security-alert-burndown labels to all worker workflows in the security-alert-burndown campaign. This ensures that PRs and issues created by these workflows are properly discovered by the campaign orchestrator.

- code-scanning-fixer: Add campaign labels to create-pull-request
- dependabot-bundler: Add campaign labels to create-pull-request
- secret-scanning-triage: Add campaign labels to create-issue and create-pull-request
- Fix reviewers syntax to use array format [copilot] instead of string

Without these labels, the campaign discovery precomputation step cannot find campaign items since it searches primarily by the z_campaign_* label.

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
@mnkiefer mnkiefer marked this pull request as ready for review January 22, 2026 20:44
Copilot AI changed the title [WIP] Analyze latest campaign run for insights Add campaign labels to worker workflows for discovery Jan 22, 2026
Copilot AI requested a review from mnkiefer January 22, 2026 20:45
@mnkiefer mnkiefer merged commit 8684b1a into main Jan 22, 2026
83 checks passed
@mnkiefer mnkiefer deleted the copilot/analyze-latest-campaign-run branch January 22, 2026 20:47
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