Skip to content

Fix OutboundIdleShutdownSpec harmless quarantine setup#3322

Merged
He-Pin merged 1 commit into
apache:mainfrom
He-Pin:fix/outbound-idle-quarantine-flake
Jul 11, 2026
Merged

Fix OutboundIdleShutdownSpec harmless quarantine setup#3322
He-Pin merged 1 commit into
apache:mainfrom
He-Pin:fix/outbound-idle-quarantine-flake

Conversation

@He-Pin

@He-Pin He-Pin commented Jul 10, 2026

Copy link
Copy Markdown
Member

Motivation

Pekko 2.0 changed pekko.remote.artery.propagate-harmless-quarantine-events to default to off, but OutboundIdleShutdownSpec still expects a harmless quarantine to publish ThisActorSystemQuarantinedEvent. The spec therefore waits for an event that the default configuration deliberately suppresses.

Modification

Explicitly enable harmless quarantine event propagation for OutboundIdleShutdownSpec.

HarmlessQuarantineSpec continues to use the production default and cover the suppression behavior.

Result

The two specs again cover both directions:

  • legacy propagation enabled: the remote system observes ThisActorSystemQuarantinedEvent
  • production default disabled: harmless quarantine does not propagate the event

No production configuration or runtime behavior changes.

References

Refs #2430

Motivation:
OutboundIdleShutdownSpec still expects harmless quarantine events to propagate, but Pekko 2.0 changed the production default to off. The test therefore waits for an event that cannot be emitted.

Modification:
Enable propagate-harmless-quarantine-events explicitly for OutboundIdleShutdownSpec while leaving the production default and HarmlessQuarantineSpec unchanged.

Result:
The spec continues to cover legacy propagation, while HarmlessQuarantineSpec covers the default suppression behavior.

Tests:
- remote focused harmless echo test: passed 3 consecutive runs
- OutboundIdleShutdownSpec and HarmlessQuarantineSpec: 10 tests passed
- sbt checkCodeStyle: passed
- sbt +headerCheckAll: passed
- git diff --check: passed

References:
Refs apache#2430
@He-Pin He-Pin added this to the 2.0.0-M4 milestone Jul 11, 2026

@pjfanning pjfanning 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

@He-Pin He-Pin merged commit d50f1ac into apache:main Jul 11, 2026
10 checks passed
@He-Pin He-Pin deleted the fix/outbound-idle-quarantine-flake branch July 11, 2026 10:16
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