Fix all project not showing in github integration
When you install the GitHub integration and select your repository from the dropdown to connect Huly to a project, it does not display the complete list of projects.
This issue seems to occur when you uninstall GitHub from a project and then attempt to reinstall it.
This is something I had to do since my GitHub randomly disconnected itself and stopped creating issues. I tried to reconnect again, but that project is no longer available to select from the connect dropdown.
Instead, it randomly shows that it is connected to jappleseeds.com inside the project. I have no idea what this is, but it must be something you have hard-coded. Since it thinks its still connected to a Github project (jappleseed.com) that might be why it doesn't show in the dropdown.
There's 2 problems here:
- There is a random disconnect with my GitHub, where it just stops creating new GitHub issues with every new issue I submit.
- I have not been able to reconnect the same project to GitHub again as it is missing from the dropdown. This has happened multiple times, and my fix is to archive and delete the project and create a new one. This isn't good because I keep having to tell the team to use a different project every time it disconnects itself.
Note: I think the main cause of the issue is that pressing uninstall before disconnecting doesn't fully disconnect the project.
Steps to recreate the issue:
- Connect a Github repository to a project.
- Click "Uninstall Github" in the integrations.
- Click "Install Github" and select the same Github repository; you should see that it's missing from the list.
See screenshots: https://share.cleanshot.com/Qr8Dzm8b https://share.cleanshot.com/8VgFX0w6
As you can see "Storealign App" is missing from the connect dropdown.
Connected to Huly®: UBERF-9358
I hope this can be fixed, as it's a significant issue. I'm not sure why it keeps disconnecting and then does not allow me to reconnect. It's a great app; we hoping to migrate from Linear, but this issue is preventing me from fully migrating.
Hi @Joeldorne
Uninstall Github and install it again will lead to some projects will not be available to be selected, since they are integrated with different installation Id of Github APP, this is done by design since it is not clear how to merge two projects with similar issues with similar sync data, it is about source of truth.
You should not uninstall Github APP, but instead us on community slack, so we check why new issues are not synchronised, since we have logs on service and when you provide us your workspace name will will try to discover why this not sync issue is happening.
Right now service are on high load on Huly so it could be some delays after installing new builds, while installation is checking for changes for about 1000 repositories.
Okay, I understand that if you can't reconnect to an already connected repository, there should be some form of warning about not being able to do this.
The main issue is that the project stopped creating GitHub issues, which led me to disconnect it. Even after 1-2 hours, no issues were attached. I tried creating 4-5 new issues, but none appeared on GitHub. Previously, the last 20 issues were created without problems, but then it suddenly stopped working.
From a user experience perspective, I wouldn't mind having the option to resync with an existing repository while deleting the issues within the current project instead of merging, which, as you mentioned can't happen. However, it should provide a warning that this action will occur.
I believe the main problem here is fixed: since #8842, projects whose previous GitHub integration was uninstalled are shown again in the Connect dropdown, and connecting them re-points the project to the new installation. The actively maintained continuation at https://github.com/Platform-Collective/platform contains this; the separate intermittent disconnect would need a new report with logs. If you agree, could you please close this issue?