Skip to content

cli: Spring Initializr metadata request has no timeout, can hang the wizard #97

Description

@marioserrano09

fetchSpringBootVersion in platform/packages/cli/src/commands/new.ts requests Spring Initializr metadata with no timeout. If that host is slow or unreachable, the call can hang well past a reasonable UX budget before the wizard shows its first prompt. Add a short abort timeout (3-5s) so a slow/dead network degrades gracefully to the hardcoded fallback version instead of stalling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions