sapling icon indicating copy to clipboard operation
sapling copied to clipboard

VS Code Extensions Errors On Getting MergeQueue

Open zengk95 opened this issue 1 year ago • 4 comments
trafficstars

Hey all, we're on an older version of Github Enterprise that doesn't have merge queue yet. When using the VS Code Extension, it's trying to fetch the mergequeue fields but it's erroring out.

image

Not sure if it's possible to just fetch it and have it be null or something. We're on a relatively new version (3.9) which is only about 6 months old.

zengk95 avatar Jan 30 '24 20:01 zengk95

This isn't a blocker per se since I can still use sl isl but it's kind of annoying.

zengk95 avatar Jan 30 '24 20:01 zengk95

This is from https://github.com/facebook/sapling/pull/718; you can downgrade the extension in the meantime to unblock too (just released in the latest version).

To fix I think it would have to retry the query without the field, or detect the GH version and avoid querying it (I think its not that it expects it to be non-null, its that your Github doesnt have that type in its graphql schema at all)

alex-statsig avatar Jan 30 '24 20:01 alex-statsig

Yea, hopefully it comes out soon. I had to downgrade to 0.1.34 for anyone else having this issue.

zengk95 avatar Jan 30 '24 22:01 zengk95

++...started seeing this a few weeks ago.

rdiers avatar Feb 05 '24 21:02 rdiers