Skip to content

feat: add notify deploy_name and environment overrides - #267

Merged
joshua-temple merged 1 commit into
mainfrom
feat/notify-deploy-name-override
Jun 24, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
feat/notify-deploy-name-override

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Problem

Build-only satellites derive the cross-repo notify dispatch deploy_name from their local build name and environment from dev, which the parent rejects when it knows the satellite under a different external-deploy name and environment. The fleet coverage gate surfaced this: artifact-a (build named shared, no environments) dispatched deploy_name=shared/environment=dev, which primary rejects as an unknown external deploy, failing every notify run.

Fix

Adds two optional notify fields, deploy_name and environment, so a satellite can dispatch the parent-recognized names. Both are additive and omitempty; when unset, generation is byte-identical to today and schema_version is unchanged. Covered by config round-trip tests, a generator test asserting the overrides are emitted, and an off-state byte-identical test; docs and the manifest JSON Schema (all 3 synced copies) updated.

Follow-up: set notify.deploy_name/environment in the artifact-a/b example manifests so the next repin produces valid dispatches.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple enabled auto-merge (squash) June 24, 2026 01:58
@joshua-temple
joshua-temple merged commit 9b725b9 into main Jun 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant