Fix campaign orchestrator worker discovery and field updates #8498
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Campaign orchestrators were yielding no-op instead of discovering worker-created issues and populating missing project board fields.
Root Causes
Missing workflows in template context: The
CampaignPromptDatastruct lacked aWorkflowsfield, so worker IDs were never passed to the orchestrator template. The agent received instructions to search "for each worker inworkflows" but the variable was undefined.Missing field update logic: No instructions existed to check existing board items for missing custom fields (e.g.,
worker_workflowfor swimlane grouping).Changes
Add workflows to template data
Workflows []stringtoCampaignPromptDatastructspec.Workflowswhen building orchestrator inBuildOrchestrator()Explicitly list workers in discovery step
Add field update instructions
worker_workflow)worker_workflowwhen adding new itemsExample template update (
orchestrator_instructions.md):Both campaign orchestrators recompiled with updated instructions.
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/20643324972/artifacts/usr/bin/curl curl -sL -H Authorization: token -H Accept: application/vnd.github+json REDACTED(http block)https://api.github.com/repos/githubnext/gh-aw/actions/runs/20643324972/jobs/usr/bin/curl curl -s -H Authorization: token REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.