Repository navigation
[DO NOT MERGE] Validate E2E tests on VS 17.0 (ci-ami-images#520) and VS 18.12 - #6871
sophio-japharidze-sonarsource wants to merge 2 commits into
Conversation
32ab64c to
cbc7638
Compare
d69299a to
2ec9f74
Compare
cbc7638 to
7358698
Compare
2ec9f74 to
5ef4d23
Compare
Select the target IDE and its DTE registration by the major version of E2E_EXPECTED_VS_VERSION instead of hard-coding VS 18. The VS 17.0 RTM VSIXInstaller ignores /rootSuffix with /instanceIds and installs into the normal profile, so target that release by application path and SKU, which respects the experimental profile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…8.12 Temporary matrix to validate the earliest-supported Visual Studio image from SonarSource/ci-ami-images#520 alongside the promoted VS 18.12 master image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5ef4d23 to
553a8b4
Compare
|
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findingsAdding VS 17.0-specific VSIX routing and matrix E2E jobs could install the extension into an unintended profile or miss IDE automation. Adds VS 17.0 as an E2E target by routing the harness to select the IDE by its expected major version and adding a VSIX install path for VS 17.0 that uses ✅ 1 closed✅ Bug: DTE ROT lookup still hardcodes VS 18, so VS 17 jobs can never attach
Verification Rules 2/2 metFunctional validation No results Rules 2 passed 2 not applicable
Auto-approval Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |



Do not merge. This PR only validates the VS 2022 17.0 minimum-compatibility image from ci-ami-images #520. Close it once the image is validated.
It is stacked on #6861, so it runs both E2E tests (standalone and connected mode) against:
warp-custom-sonarlint-visualstudio(promoted master image)warp-custom-pr-520-sonarlint-visualstudio-vs17-0-0-v20261112124916(#520 PR image)The VS 18.12 jobs check that the harness change below does not break the tests that already pass.
Commits
Select the E2E target IDE by its expected major version(meant to be kept). The harness only accepted VS 18 instances (StartsWith("18.")). It now takes the major version fromE2E_EXPECTED_VS_VERSION. This should move into SLVS-3097 Run extension E2E test on master and on PRs that change it #6854 or SLVS-3097 Add connected-mode extension E2E test #6861 before VS 17 coverage lands.[DO NOT MERGE] Run both E2E tests on VS 17.0 … and VS 18.12(temporary). Afail-fast: falsematrix on both jobs inextension-e2e.yml. The 17.0 runner exists only while Changed conflicts manager to only run in legacy connected mode #520 is open.The sample is an old-style (non-SDK) project, so VS 17.0 can load it without the .NET SDK integration that the minimum image leaves out.
🤖 Generated with Claude Code
Summary by Gitar
GetVsixInstallationTargetso VS 17.0 uses/appidinstallpathand/skuName, keeping the experimental profile/instanceIdsinstall pathThis will update automatically on new commits.