Repository navigation
Java Test Runner
issuelens[bot] edited this page Sep 24, 2026
·
11 revisions
These details concern the integration-test harness in microsoft/vscode-java-test, not settings imposed on users' test projects.
-
Dedicated VS Code user data:
test/index.ts::maincreates.vscode-test/user-data/Userunder the repository and writessettings.jsonbefore its tworunTestscalls. Both the Maven/JUnit workspace suite and unmanaged-folder suite receive the same directory through--user-data-dir; this is a shared test profile, not a fresh profile per suite. [1] -
AI features disabled for test launches: that settings file sets
chat.disableAIFeaturestotrue. Both launches also pass--disable-extensionforGitHub.copilot-chatandTypeScriptTeam.jsts-chat-features. [1] -
Explicit language-server Java selection: when
JAVA_HOMEis nonempty, the generated settings includejava.jdt.ls.java.homewith that value. The Linux, Windows, and macOS CI jobs install Temurin JDK 25 (replacing 21). This records the CI runtime choice, not a minimum Java target for users' projects. [1][2] -
Failure-log location: all three CI jobs collect JDT language-server logs from
.vscode-test/user-data/User/workspaceStorage/*/redhat.java/jdt_ws/.metadata/.logon failure, rather than the normal OS-specific VS Code user-data location. Use the test-profile path when investigating these integration runs. [2]
Verified against merged source commit 7e2584d2d44804999c3d06a2605e9352782d7e6b in PR #1937. Both changed files were inspected; their main file blobs matched the merged revision at maintenance time. This documents harness configuration, not a verified successful CI run or a release/deployment claim.
-
test/index.ts,mainand bothrunTestscalls. -
.github/workflows/build.yml,linux,windows, anddarwinjobs.
The following caller configuration is verified at 84fa601956f106db9c63c753c11a48acdaca91d5, the merge of microsoft/vscode-java-test PR #1936. Both changed files were inspected at that revision, also the supplied push-after and source-tip revision. This is repository automation, not Java test execution behavior.
-
Triggers and opt-in:
Update IssueLens Team Memorynow listens to pushes tomain, replacingpull_request_target: closed. Manual recovery remains available throughworkflow_dispatchwith a required stringpull_request_number. For either event, the job requiresISSUELENS_TEAM_MEMORY_ENABLED == 'true'and a ref matching the repository's current default branch. The push branch filter is explicitlymain; changing the default branch alone does not change that filter. [3] -
Concurrency: the group includes the source repository and
github.event.afterfor pushes, falling back to the manual PR number and then run ID.cancel-in-progressremainsfalse. This is not a cross-repository lock on the shared wiki; maintenance still needs destination and snapshot conflict checks. [3][4] -
Execution boundary: the job timeout is 30 minutes. Its sole step invokes
microsoft/IssueLens/.github/actions/issuelens@2b5317815e15179899014a02c41678620ce2d390withrequest-type: team-memory; there is no consumer checkout step. The caller retainscontents: read,pull-requests: read, andid-token: write, withoutput-mode: activityandsummary-mode: status. These source checks do not verify Azure federation, external action internals, or live workflow success. [3]