Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Properly support "retired" QL tests

Open
#646 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript, vscode
Domain
testing

Research direction

Start at the extension's Test Adapter integration and compare its reload handling with the linked Test Adapter API guidance for the retire event. Trace what happens when files in a test directory change. Done means retired results are handled according to the event semantics instead of all tests being retired after every reload.

Written by the indexing model from the issue text.

Description

enhancement VSCode

Is your feature request related to a problem? Please describe.
QL tests in the Test Explorer occasionally go into the "retired" state, where the test result icon is faded. There seems to be little rhyme or reason to when this happens.

Describe the solution you'd like
We should properly implement the retire event on the Test Adapter. It was added to Test Explorer after our original implementation, so it seems to use the default behavior of retiring all tests after any reload of the test tree, which we probably do whenever any file in a test directory changes.

Additional context
See here for some basic information about how the retire event is supposed to work.

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

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.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.