Fix create_project_status_update handler not loaded in campaign workflows#9169
Merged
Fix create_project_status_update handler not loaded in campaign workflows#9169
Conversation
- Fixed missing handler registration in compiler_safe_outputs_config.go - The handler was in HANDLER_MAP but not in GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG - Recompiled campaign workflow to include the handler configuration Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
- Added comprehensive tests to ensure handler is properly configured - Tests verify max field, github-token field, and handler manager integration - All tests passing Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix bug in campaign run status update
Fix create_project_status_update handler not loaded in campaign workflows
Jan 6, 2026
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 workflows configured with
create-project-status-updatewere silently failing with "No handler loaded for message type" warnings, causing incorrect fallback tocopy_projecthandler.Root Cause
The handler was registered in JavaScript
HANDLER_MAPbut missing from the Go compiler'sGH_AW_SAFE_OUTPUTS_HANDLER_CONFIGgeneration logic.Changes
pkg/workflow/compiler_safe_outputs_config.go: AddedCreateProjectStatusUpdatesconfig block toaddHandlerManagerConfigEnvVar()following the pattern of existing handlers (dispatch_workflow, hide_comment, etc.).github/workflows/docs-quality-maintenance-project67.campaign.lock.yml: Recompiled with fixpkg/workflow/create_project_status_update_handler_config_test.go: Regression tests for handler config generationExample
Before:
{"add_comment":{"max":10},"create_issue":{"max":1}}After:
{ "add_comment":{"max":10}, "create_issue":{"max":1}, "create_project_status_update":{ "github-token":"${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}", "max":1 } }Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.