Skip to content

fix(ui): prevent provider wizard modal render loop #12044

Description

@Alan-TheGentleman

Issue search

  • I have searched the existing issues and this bug has not been reported yet

Which component is affected?

Prowler UI

Cloud Provider (if applicable)

Not applicable

Steps to Reproduce

  1. Open the provider wizard in the Prowler UI.
  2. Select a provider and continue through the credentials and connection test steps.
  3. Exercise the wizard navigation or update an existing provider.
  4. Observe that the modal can repeatedly re-render or fail to advance reliably, and update mode can close before the launch step.

Expected behavior

The provider wizard should keep stable state while form controls publish footer updates, advance deterministically through the connection test, and show the launch step when appropriate.

Actual Result with Screenshots or Logs

The wizard can enter a modal render/update loop because form steps publish semantically unchanged footer configurations containing newly created callbacks. In update mode, a successful connection test closes the modal instead of reaching the launch step.

How did you install Prowler?

Cloning the repository from github.com (git clone)

Environment Resource

Workstation

OS used

macOS

Prowler version

v5.31.1

Python version

Not applicable

Pip version

Not applicable

Context

The fix adds focused UI tests for the controller, modal, and connect step; it also supplies an accessible modal description.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions