Skip to content

fix(state): tie backends to their cluster - #1897

Merged
FlorentinDUBOIS merged 5 commits into
mainfrom
fix/backends-owned-by-cluster
Oct 15, 2026
Merged

FlorentinDUBOIS merged 5 commits into
mainfrom
fix/backends-owned-by-cluster

Conversation

@FlorentinDUBOIS

@FlorentinDUBOIS FlorentinDUBOIS commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Reject AddBackend for an unknown cluster in both configuration state and workers before creating or mutating a backend bucket. Preserve the existing RemoveCluster cascade and frontend independence. Update examples and two end-to-end fixtures to declare their clusters before adding backends, retaining their strict HTTP and metric assertions.

Validation: command/state and worker suites, example RED/GREEN checks, and both formerly failing end-to-end cases observed red under the ownership contract and green with valid setup. Independent production and fixture delta reviews approved the current head. The full GitHub Actions matrix must succeed before merge.

Closes #996

@FlorentinDUBOIS
FlorentinDUBOIS marked this pull request as ready for review October 15, 2026 15:00
@FlorentinDUBOIS
FlorentinDUBOIS marked this pull request as draft October 15, 2026 15:36
@FlorentinDUBOIS
FlorentinDUBOIS marked this pull request as ready for review October 15, 2026 17:11
@FlorentinDUBOIS
FlorentinDUBOIS merged commit 8953343 into main Oct 15, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Focus the state on clusters, prevent orphan frontends and backends

1 participant