Enable append-only-comments for campaign orchestrators#11244
Closed
Enable append-only-comments for campaign orchestrators#11244
Conversation
…ng existing ones Enable append-only-comments for campaign orchestrator workflows to ensure full history of campaign run updates is preserved. Previously, campaign runs were updating the activation comment, replacing the previous state. Now each run creates a new comment, providing a complete audit trail. Changes: - Add Messages config with AppendOnlyComments=true to orchestrator - Add test to verify append-only-comments is enabled for campaigns - Document behavior in code comments This matches the existing behavior in campaign generator which already has append-only-comments enabled. Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Improve code organization by moving the Messages configuration to the end of all safeOutputs assignments, after dispatch_workflow. This makes the code flow more consistent and easier to read. Addresses code review feedback. Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix campaign generation message updates API usage
Enable append-only-comments for campaign orchestrators
Jan 22, 2026
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 orchestrators were updating the activation comment on each run, losing historical context. Campaign generators already use
append-only-comments: truebut orchestrators did not.Changes
Campaign orchestrator configuration (
pkg/campaign/orchestrator.go)Messagesconfig withAppendOnlyComments: truetoSafeOutputsConfigTest coverage (
pkg/campaign/orchestrator_test.go)TestBuildOrchestrator_AppendOnlyCommentsEnabledto verify configurationBehavior
Before: Each campaign run updates the same comment
After: Each campaign run creates a new comment
The JavaScript handler (
update_activation_comment.cjs) already supports append-only mode; this change enables it for campaign orchestrators.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.