-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue sync progress is not accurate during synchronization #74
Comments
If the total count changes during sync, that should be correctly reflected in the await publish(
"issue.synced",
{
"expected": repository.open_issues, Also, any ideas on how to trigger a restart in the midst of syncing? I've seen cases when the total disappears ("6 / issues fetched"), but can't make that happen now. |
For the PRs in the total count, I propose one of two solutions:
I think I'm team 2, it'd be weird if the total number decreases as syncing progresses |
Not sure if it's what you meant with "trigger a restart amidst syncing", but you can trigger a new sync to ease development with
Re: Count of issues to sync. Hm, unless we can easily get and subtract the PR count (w.o unnecessary additional complexity), I'd propose a third option of just updating the design to be "syncing x / y issues and PRs"? WDYT? |
No, was referring to one of the tasks in the issue, and the fact that I don't really know what it means. :)
Yeah, that's what I've settled at (even if the syncing for the PRs don't really do anything at this point, we just skip them) |
Got it, now I'm following what you meant 😅 I've noticed at times that the progress bar can go to say 4/10 (as an example) issues synced and then suddenly start over again from 0/10. This has happened during a proper installation vs. sync via the Github script. Thus not caught before during development since the script was always used to ease development of the feature. It's possible it's no longer an issue as changes have been made. So unless you experience this, I think we can extract this as a separate issue (task) with low priority or even remove it entirely. It will resurface again as we build/polish if it remains an actual issue today.
Awesome 👍 Yeah, it's not "perfect", but it comes down to the strange dynamic of how Github treats PRs as issues and includes them in the count & paginated list. So given our reality, I think it's an acceptable compromise at least in an alpha. |
#145 made it so any changes to a repo's I'll close this issue, I think we can add another issue if we find the restarting happening again. |
Some issues have emerged with the issue sync progress in onboarding. Likely due to some changes with issue edited signals and what the frontend expects in terms of the data.
Issues
The text was updated successfully, but these errors were encountered: