Skip to content

Run typed cluster tests with classic remoting in PR validation - #3745

Merged
pjfanning merged 3 commits into
apache:mainfrom
pjfanning:ci/classic-remoting-cluster-typed
Nov 2, 2026
Merged

pjfanning merged 3 commits into
apache:mainfrom
pjfanning:ci/classic-remoting-cluster-typed

Conversation

@pjfanning

@pjfanning pjfanning commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Motivation

BasicClusterConfigSpec broke under classic remoting (#3741) and was only caught by the nightly build, because PR validation does not run cluster-typed/test or cluster-sharding-typed/test with -Dpekko.remote.artery.enabled=off.

Modification

Add cluster-typed/test cluster-sharding-typed/test as a separate matrix entry in the Pekko Classic Remoting Tests job (matching the nightly job's entry), so it runs in parallel with the existing entry rather than lengthening it.

Result

Classic remoting regressions in the typed cluster modules are caught on PRs.

Tests

  • Not run locally - CI workflow change; this PR's own Pekko Classic Remoting Tests (cluster-typed/test cluster-sharding-typed/test) check exercises it.

References

Refs #3741, Refs #3742

@pjfanning pjfanning changed the title Run cluster-typed tests with classic remoting in PR validation Run typed cluster tests with classic remoting in PR validation Nov 2, 2026
Motivation:
BasicClusterConfigSpec broke under classic remoting (apache#3741) and was only
caught by the nightly build, because PR validation does not run
cluster-typed/test with Artery disabled.

Modification:
Add cluster-typed/test as a separate matrix entry in the Pekko Classic
Remoting Tests job.

Result:
Classic remoting regressions in cluster-typed are caught on PRs.

Tests:
- Not run locally - CI workflow change; this PR's checks exercise it

References:
Refs apache#3741, Refs apache#3742
…idation

Motivation:
The nightly classic remoting job runs cluster-sharding-typed/test
alongside cluster-typed/test; PR validation should match.

Modification:
Add cluster-sharding-typed/test to the cluster-typed matrix entry.

Result:
PR validation covers the same typed cluster modules as the nightly job.

Tests:
- Not run locally - CI workflow change; this PR's checks exercise it

References:
Refs apache#3741
@pjfanning
pjfanning force-pushed the ci/classic-remoting-cluster-typed branch from d47d520 to 42e536a Compare November 2, 2026 12:55
@He-Pin

He-Pin commented Nov 2, 2026

Copy link
Copy Markdown
Member

Thanks for this.

@pjfanning
pjfanning requested a review from He-Pin November 2, 2026 13:03

@He-Pin He-Pin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Motivation:
With classic remoting, BasicClusterConfigSpec "init cluster" was flaky.
The first seed waits the default 5s seed-node-timeout before forming the
cluster, and the other node retries InitJoin every 5s. A retry that lands
just before the first seed forms the cluster pushes the join to ~10s,
which races the 10s eventually timeout.

Modification:
Set pekko.cluster.seed-node-timeout = 1s in the per-port test config,
which is not part of the docs snippet.

Result:
The two nodes form a cluster within a few seconds instead of up to ~10s.

Tests:
- Not run locally - CI runs cluster-typed tests with classic remoting

References:
Refs apache#3745
@pjfanning
pjfanning merged commit 0b963c4 into apache:main Nov 2, 2026
11 checks passed
@pjfanning
pjfanning deleted the ci/classic-remoting-cluster-typed branch November 2, 2026 14:06
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.

2 participants