Skip to content

[#861] Fail fast when the CI Test replication step hangs - #862

Merged
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:issues/861-ci-test-replication-timeout
Aug 12, 2026
Merged

[#861] Fail fast when the CI Test replication step hangs#862
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:issues/861-ci-test-replication-timeout

Conversation

@vharseko

Copy link
Copy Markdown
Member

Refs #861.

The CI Test replication step can hang indefinitely inside dsreplication enable while initializing registration information on a newly added replica — see #861 for the full analysis of https://github.com/OpenIdentityPlatform/OpenDJ/actions/runs/31506998550/job/93831146182, where the step produced its last log line 2 minutes in and then held the runner until GitHub killed the job at the default 6-hour limit.

Cap the step with timeout-minutes: 30: it normally completes in about 4 minutes across the whole matrix, so the margin is ~7x, while a hang now fails the job in 30 minutes instead of 6 hours.

This is the fail-fast mitigation only; the underlying race in dsreplication enable remains tracked in #861.

…p hangs

dsreplication enable can stall forever while initializing registration
information on a newly added replica; without a step timeout such a hang
holds the runner until the default 6-hour job limit. Cap the step at
30 minutes (normal duration is about 4 minutes).
@vharseko
vharseko merged commit 207c349 into OpenIdentityPlatform:master Aug 12, 2026
14 checks passed
@vharseko
vharseko deleted the issues/861-ci-test-replication-timeout branch August 12, 2026 06:56
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.

2 participants