Skip to content

fix(start): wait for Microcks server readiness before returning#455

Merged
Harsh4902 merged 1 commit into
microcks:masterfrom
Caesarsage:fix/start-readiness-wait
Jun 12, 2026
Merged

fix(start): wait for Microcks server readiness before returning#455
Harsh4902 merged 1 commit into
microcks:masterfrom
Caesarsage:fix/start-readiness-wait

Conversation

@Caesarsage

Copy link
Copy Markdown
Contributor

Description

microcks start returns as soon as the container process is up: ~20–40s before the Microcks server inside actually serves traffic, so chained microcks import/test calls intermittently fail with connection-refused.

This polls GET /api/keycloak/config until it returns 200 before printing success.

New flags: --ready-timeout (default 60s) and --no-wait for fire-and-forget.

Unit tests cover the ready, retry, and timeout paths.

Related issue(s)

#255

Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
@Caesarsage

Copy link
Copy Markdown
Contributor Author

cc
@Harsh4902 @Vaishnav88sk

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

@Harsh4902 Harsh4902 added this to the Next milestone Jun 12, 2026
@Harsh4902 Harsh4902 merged commit e4df4fe into microcks:master Jun 12, 2026
8 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.

2 participants