Skip to content

test: -cluster @absent narrowly satisfies only the missing cluster#128

Merged
orian merged 1 commit into
mainfrom
test/cluster-absent-scope
Jul 8, 2026
Merged

test: -cluster @absent narrowly satisfies only the missing cluster#128
orian merged 1 commit into
mainfrom
test/cluster-absent-scope

Conversation

@orian

@orian orian commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Locks down that -cluster NAME=@absent is narrow, not a blanket skip — it satisfies references into that one missing cluster while every other problem is still caught.

Scenario (manifest-driven mode)

A data role with four objects, validated with -cluster events_recent=@absent:

object target expected
web_stats aux / sharded_web_stats (declared) resolves
events_recent events_recent (@absent) satisfied
web_stats_gone aux / sharded_gone (missing) error
broken view posthog.nonexistent error

Asserts the two real problems (sharded_gone, nonexistent) are reported, the @absent proxy and the valid aux proxy are not, and data has exactly 2 errors — while the aux role stays clean.

Test-only; full suite green, go vet + gofmt clean.

Add a manifest-driven-mode regression test proving that -cluster NAME=@absent
is not a blanket skip: a proxy into the absent cluster passes, while every other
problem is still reported — a remote missing from a mapped cluster and a broken
view source both surface, and the valid proxy resolves. Exactly the two real
problems are found, nothing more.
@orian orian enabled auto-merge (squash) July 8, 2026 13:09
@orian orian merged commit 3374cf6 into main Jul 8, 2026
17 checks passed
@orian orian deleted the test/cluster-absent-scope branch July 8, 2026 13:10
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.

1 participant