Skip to content

The UI for which repo to apply template is non-deterministic #2583

Closed
@kingdonb

Description

@kingdonb

WGE release: 0.19.0

Kubernetes release:
v1.26.1+k3s1

Priority

  • low
  • medium
  • high

Severity

  • low
  • medium
  • high
  • critical

Describe the bug
When I am using a template, one of the selection options is which Git Repo to apply my PR to. My cluster was bootstrapped outside of fleet-infra, I don't know if this is related, but it randomly chooses one of bootstrap-repo and fleet-infra. The order in the git repo dropdown box also randomly re-asserts itself while you are selecting your choice, if you wait just a few seconds it will do it again.

This is jarring and sort of unsettling behavior from the UI, compounded on the fact that sometimes my PR will randomly fail because it targeted the wrong repository. I do not know if it would help if I have set the repositoryUrl here:

https://github.com/kingdon-ci/fleet-infra/blob/adc7ed9a379f34f0845385a4e98ba16a66df98c6/examples/weave-gitops/weave-gitops-enterprise.yaml#L92-L96

I'm thinking there might be more than one UX issue here. Please advise.

To Reproduce
A repro is on the mccp.howard.moomboo.space instance - if there's anything unclear about the reproduction I can provide more details.

Actual behaviour

Expected behaviour
The management repo should always be selected first, and the order in the dropdown box should not rearrange while you are selecting.

Cloud provider:

  • VCluster

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions