Open xiaoxiangmoe opened 1 year ago
I think that a lot of people are running into problems because of this. Especially newcomers-it will automatically install them obsolete version.
@joaomoreno do I need to provide more info to help with this issue?
Marketplace is returning following result when asked for the latest version of this extension
When asked for all versions, MP returns following
It seems, this extension used to be a platform specific extension until 1.2.0 and afterwards it was published as normal extension. It seems to me a bug in MP api returning latest versions. It shall not return the older versions if the latest version is not a Platform Specific Extension.
CC @isidorn
Hi, @sandy081! Maybe I misunderstand something, and I am not familiar with the search protocol.
So, I doubt that this is an issue of VS Code client. With a newer version that is compatible with multiple platforms and an older version that matches the exact client system, VS Code picks up the latter one. VS Code ideally should select the newer version because it also works for the client.
Could you please let me know what is expected by VS Code client for this case? What should the protocol look like?
@sandy081 @zhhyu Is there anything I can do to help fix this bug?
Could you please let me know what is expected by VS Code client for this case? What should the protocol look like?
Sorry for not getting back on this. The protocol is that when asked for the latest version it is expected to get only one latest version. It is also expected that the client gives precedence to the target platform when asked for latest version due to the above expectation. In this case, MP is returning two latest versions that are compatible for a given platform.
CC @isidorn
Could you please let me know what is expected by VS Code client for this case? What should the protocol look like?
Sorry for not getting back on this. The protocol is that when asked for the latest version it is expected to get only one latest version. It is also expected that the client gives precedence to the target platform when asked for latest version due to the above expectation. In this case, MP is returning two latest versions that are compatible for a given platform.
CC @isidorn
Thanks! I think I know what the problem is now. I will work with the team and prioritize this issue.
@zhhyu Is there any thing I should do to help fix this issue?
@zhhyu Is there any thing I should do to help fix this issue?
Hi! This is a protocol issue and there is a need to double check APIs on the server side, rather than a change on VS Code. It may take some time to triage and prioritize this issue, but we will do our best to fix the problem asap.
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce: