microsoft / microsoft/vscode-github-issue-notebooks

Handle error when query is too long

Open
#178 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
237
Forks
37
PR merge metrics
No merged PRs in 30d

Description

This query of ours is too big:

https://github.com/microsoft/vscode/blob/95386dec787946547812c7ee9d38cba19d6a6398/.vscode/notebooks/grooming.github-issues#L30

If you add one more label (or 4 more in my case), it errors:
Image

However, GitHub Hyperlist handles this fine. So either we should see if we can fix this or show a link that says something like "query limit reached, open on GitHub"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .vscode/notebooks/grooming.github-issues around line 30 and reproduce the failure by adding labels to the query. Compare the behavior with the linked GitHub Hyperlist query, then trace where the error is surfaced. Done means an oversized query is handled gracefully, either with a usable result or a clear link to open it on GitHub.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript, vscode
Domain
devtools, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.