docs: don't duplicate the scope's notification channel for the container-scope-override - #3
Merged
sebastiancorrea81 merged 1 commit intoJul 21, 2026
Conversation
…ing agent association The scope_channel_association example created a second scope_definition_agent_association-based module call pointed at the same scope_specification_id/slug as the scope's existing channel. Both resources end up with identical filters (built only from slug/id), so every action notification for that scope fires both channels, duplicating the base entrypoint execution. Documents adding enabled_override/override_repo_path/ overrides_service_path to the existing module call instead, when one exists.
sebastiancorrea81
deleted the
fix/scope-channel-association-duplicate-notification-channel
branch
July 21, 2026 19:12
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.
Summary
scope_channel_association) registers a secondscope_definition_agent_association-based module call pointed at the samescope_specification_id/scope_specification_slugas the scope's existing agent-association channel.filtersare built solely fromscope_specification_slug/scope_specification_id(seenullplatform/scopes'sk8s/specs/notification-channel.json.tpl).enabled_overrideonly appends--overrides-path=...to thecmdline— it doesn't change the filter.nullplatform_notification_channelresources with identical filters: every action notification fires both, duplicating the base entrypoint execution (one of the two additionally runs the override sync).Change
enabled_override/override_repo_path/overrides_service_pathdirectly to the scope's existingscope_definition_agent_associationmodule call, when one already exists in the project.scope_channel_association(for_each) example for the case where the target scope has no existing agent association yet.Docs-only change, found while wiring path-router into a scope that already had its own agent association.
Test plan