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
SCM Decorations missing #100524
Comments
Does this repo consistently? Otherwise you can enable |
This is just in one window, right? The |
OK it seems I can't get 100% repro but I'm more on 50% now. It's also irrelevant to the error decoration, as I am able to repro without that decoration. After enabling trace logging, that message doesn't show up for those decorations at all. Will dig deeper. |
Oh man, it's related to the ignore decorator. When I comment that one out, not only git decorations come much faster but also the bug does not reproduce. |
Caught it:
If two I've fixed it in fad4d8d and now I can't repro no more! 💪 |
Hmmm... You saw this in source or actually for real? The refetch while pending fetch shouldn't happen and it would be pretty horrible if it does. |
I think what's more likely is that this is happening because the we don't honour the cancellation token that is passed to the provide call. Internally we cancel requests re-fetching them while they are in flight |
Saw it running out of sources, but I have some users reporting similar issues: #98241, #53260, #93701
Makes sense! Should we still do some work in the core in case people don't respect the token? (Remember you implemented the original ignore decoration provider 😆) |
We do which makes me wonder how this reproduced... I'll need to step through this to get a repo and an understanding |
OK I was able to find 100% repro steps out of sources on
master
. I can't repro on Insiders tho... 🙈There's a bit of setup:
file.json
should appear as untracked with the letterU
file.json
and it will open a diff editor, now in the SCM view it appears as1,U
due to the JSON syntax error🐛 It only shows
1
instead ofU
. As soon as you hitRefresh
on the repository, theU
appears!This could also very well be an issue in Git and not decorations. @jrieken Can you check whether the decorations are reaching your model at least?
The text was updated successfully, but these errors were encountered: