microsoft / DevHomeAzureExtension

Dev Home Azure Extension
MIT License
68 stars 15 forks source link

QueryType OneHop is not supported #107

Closed supertx2 closed 4 months ago

supertx2 commented 5 months ago

Dev Home version

No response

Dev Home Azure Extension version

0.500.389.0

Windows build number

No response

Other software

No response

Steps to reproduce the bug

  1. Create a Query that uses direct link
  2. Use that Query on Dev Home Widget

Expected result

Widget Show Results

Actual result

Widget Says 'No results match the query'

Included System Information

No response

krschau commented 5 months ago

/logs

supertx2 commented 5 months ago

[Packages.Microsoft.DevHomeAzure.TempState.zip] [Packages.Microsoft.DevHomeAzureExtensions.TempState.zip] There you go

dkbennett commented 5 months ago

Thank you for the logs, they helped identify the problem!

The issue is not that direct link queries are not working, they were working and processed the link correctly. The issue is this particular work query format was not recognized, and so the results were not obtained.

[AzureDataManager/d0c486] WARN: Found unhandled QueryType: OneHop

There are three query types in Azure, Flat, Tree, and OneHop. We support Flat and Tree, and this is the first time we have encountered the OneHop type, which is not currently supported. Because we did not process this query type, there were no work items known so you got an empty result.

I'm marking this as P2, as this is the first time we have seen this query format and this is not a regression (it has never been functional for this type), nor is it a problem with direct link query parsing. I'm going to update the title of this issue to also be more accurate.