@quick-window-91705 i encountered a flaky test when doing the above PR.
Indeed, that test does this:
1. It creates a project folder called my-app and connects it to a fake GitHub repo called test-org/test-repo.
2. It then looks at the little label (pill) in the app's git bar and expects it to say my-app (the folder name).
But the app is smarter than the test assumed: once it notices the folder is linked to a GitHub repo, the label switches from the folder name (my-app) to the repo name (test-org/test-repo).
So it's a race:
⢠If the test looks before the app notices the GitHub link ā label says my-app ā test passes.
⢠If it looks after ā label says test-org/test-repo ā test fails because it was only looking for my-app.
I fix for this:
https://github.com/OpenHands/agent-canvas/pull/1475
I suppose this should be merge before the other PR