Skip to content

fix: wait_for_pods_ready() can hang indefinitely with no timeout #132

@aditya-8787

Description

@aditya-8787

Hey

Found an issue in src/deployer/core.sh in the wait_for_pods_ready() function.

The function loops forever waiting for pods to stabilise if any pod gets
stuck in CrashLoopBackOff or a broken state, STABLE_COUNT keeps resetting
to 0 and the deployment just hangs with no way out and no error message.

Every other wait function in the codebase (wait_for_fineract_api_ready,
generateMifosXandVNextData) already uses the startup_timeout config value
to bail out gracefully — this one is the only outlier.

Real impact: CI/CD pipelines block indefinitely with no feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions