Skip to content

Conversation

johanbrandhorst
Copy link
Collaborator

The build-ui-ifne target is responsible for deciding whether the UI assets already exist on disk, or need to be built by cloning the UI repo and running its build scripts.

The old configuration would check whether the UI
repo folder existed, and assume that as long as this folder exists, it can be used to embed the UI assets. However, if the clone or ui build fails at any point, the Makefile target isn't able to retry the script.

Correct the path that is checked for to be the path that is actually included in the assets.go file. This way, the Makefile script will retry building the UI until a dist folder is created.

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

The build-ui-ifne target is responsible for deciding
whether the UI assets already exist on disk, or need
to be built by cloning the UI repo and running its build
scripts.

The old configuration would check whether the UI
repo folder existed, and assume that as long as this
folder exists, it can be used to embed the UI assets.
However, if the clone or ui build fails at any point, the
Makefile target isn't able to retry the script.

Correct the path that is checked for to be the path that
is actually included in the assets.go file. This way, the
Makefile script will retry building the UI until a dist
folder is created.
@johanbrandhorst johanbrandhorst requested a review from a team as a code owner October 7, 2025 15:34
@johanbrandhorst johanbrandhorst added this to the 0.21.x milestone Oct 7, 2025
@johanbrandhorst johanbrandhorst requested a review from tmessi October 9, 2025 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant