Skip to content

De-flake ShardedDaemonProcessSpec multinode spec (#8431) - #8492

Merged
Aaronontheweb merged 3 commits into
akkadotnet:v1.5from
Aaronontheweb:fix/sdps-deflake
Aug 27, 2026
Merged

De-flake ShardedDaemonProcessSpec multinode spec (#8431)#8492
Aaronontheweb merged 3 commits into
akkadotnet:v1.5from
Aaronontheweb:fix/sdps-deflake

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Member

Backport of #8431's ShardedDaemonProcessSpec rewrite to v1.5, scoped to the spec change only. The Player.cs / MultiNodeTestRunner.cs portions of #8431 were already delivered to v1.5 in the MNTR conductor reliability backport (#8488), so only the spec is picked here.

Cherry-picked from dev commit dcd9acb14 with attribution (see commit trailer).

Changes

  • task-returning TestKit methods throughout (AwaitClusterUpAsync, EnterBarrierAsync, FishForMessageAsync) - no sync-over-async
  • single cluster-wide collector probe on first so shards reallocated while the cluster settles are reported correctly
  • fish for a complete distinct-ID set instead of assuming exactly 4 messages arrive
  • raise akka.testconductor.barrier-timeout to 60s for slow CI agents
  • fix HOCON brace nesting that silently dropped keep-alive-interval

Adapted to v1.5: AwaitClusterUpAsync(CancellationToken.None, ...) to match the v1.5 TestKit signature.

Validation

  • Builds clean against latest v1.5
  • Spec passes 3/3, verified over 3 consecutive runs locally

Backport of dev commit dcd9acb to v1.5, scoped to the
ShardedDaemonProcessSpec rewrite. The Player.cs / MultiNodeTestRunner.cs
portions of akkadotnet#8431 were already delivered to v1.5 in the MNTR conductor
reliability backport (akkadotnet#8488), so only the spec change is taken here.

Rewrite the ShardedDaemonProcess multinode spec to be async and resistant
to slow-CI barrier timeouts:
- task-returning TestKit methods throughout (no sync-over-async)
- single cluster-wide collector probe on 'first' so shards reallocated
  during cluster settle are reported correctly
- fish for a complete distinct-ID set instead of assuming 4 messages
- raise testconductor barrier-timeout to 60s for slow agents
- fix HOCON brace nesting that dropped keep-alive-interval

Adapted to v1.5: AwaitClusterUpAsync(CancellationToken.None, ...) to match
the v1.5 TestKit signature.

(cherry picked from commit dcd9acb)
@Aaronontheweb
Aaronontheweb merged commit b81a46d into akkadotnet:v1.5 Aug 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant