Skip to content

chore: install terraform-ls 0.39.1 and fall back to perl-lsp v0.17.0 - #2083

Merged
lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:chore/refresh-pinned-installer-versions
Nov 22, 2026
Merged

lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:chore/refresh-pinned-installer-versions

Conversation

@lagergren

Copy link
Copy Markdown
Collaborator

Part of #1961.

What

  • terraform-ls: it installs 0.39.1 instead of 0.36.5. This installer has no lookup, so the fixed version is what every user gets.
  • perl-lsp and perl-dap: when the GitHub lookup finds no asset, they fall back to v0.17.0 instead of v0.15.0.
  • Asset patterns: they stay the same. Each perllsp-*-<target> pattern matches exactly one v0.17.0 asset, the one the fallback URL names.
  • The v0.17.0 archives still have one root folder, perllsp-0.17.0-<target>/, with both perllsp and perl-dap (.exe on Windows).

The ideas of #1961 for keeping these versions current by themselves aren't here.

Test

  • terraform-ls: curl -I returns 200 for all 9 URLs of 0.39.1 (Windows 386, amd64 and arm64; Linux 386, amd64, arm and arm64; macOS amd64 and arm64). Each zip has terraform-ls, or terraform-ls.exe on Windows, at its root.
  • perl-lsp: curl -IL returns 200 for all 5 URLs of v0.17.0. The archives match the release's SHA256SUMS, and their contents are as described above.
  • Tests: InstallerTaskRegistryFileExistsTest, FileExistsTaskTest, BundledTemplateCommandsTest, LanguageServerTemplateManagerTest and GitHubAssetFetcherTest pass (57 tests, 0 failures, 0 skipped).

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Updates
    • Updated the Perl language tooling installers to download version 0.17.0 across supported platforms.
    • Updated the Terraform language server installer to download version 0.39.1 across supported platforms.

The Perl DAP and LSP installer URLs now use perl-lsp v0.17.0. The Terraform Language Server installer URLs now use version 0.39.1. Platform mappings and asset names remain unchanged.

Changes: Perl Installer Updates

Layer / File(s) Summary
Perl release URLs
src/main/resources/templates/dap/perl-dap/installer.json, src/main/resources/templates/lsp/perl-lsp/installer.json
Both installer templates now use perl-lsp v0.17.0 for the five platform-specific download URLs.

Terraform Installer Update

Layer / File(s) Summary
Terraform release URLs
src/main/resources/templates/lsp/terraform-ls/installer.json
The configured platform download URLs now use Terraform Language Server 0.39.1.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Suggested reviewers: angelozerr

Merge Risk: Minimal · up to 96a6e

This updates the pinned download versions for the Perl and Terraform language server installers. No concrete problems were found, and the change is easy to revert, so it looks safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the two main changes: terraform-ls is pinned to 0.39.1, and the perl-lsp fallback moves to v0.17.0. The raw summary confirms both changes in the installer.json files. The title is a co…
Description check Passed The description matches the changeset. It explains the terraform-ls bump from 0.36.5 to 0.39.1 and the perl-lsp/perl-dap fallback change from v0.15.0 to v0.17.0. It also covers asset patterns, archive…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two main changes: terraform-ls is pinned to 0.39.1, and the perl-lsp fallback moves to v0.17.0. The raw summary confirms both changes in the installer.json files. The title is a concise, specific single sentence. The 'chore:' prefix is a conventional commit type and is acceptable.

Full details: Description check

Explanation

The description matches the changeset. It explains the terraform-ls bump from 0.36.5 to 0.39.1 and the perl-lsp/perl-dap fallback change from v0.15.0 to v0.17.0. It also covers asset patterns, archive layout, and test evidence. It references issue #1961 and states what is out of scope.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 74f8c599-e047-405c-8b8f-74830fe2fcfb
Commits

Reviewing files that changed from the base of the PR and between 8b83e2d and 96a6ebc.

Files selected for processing: 3

  • src/main/resources/templates/dap/perl-dap/installer.json
  • src/main/resources/templates/lsp/perl-lsp/installer.json
  • src/main/resources/templates/lsp/terraform-ls/installer.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.28%. Comparing base (8b83e2d) to head (96a6ebc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2083      +/-   ##
==========================================
+ Coverage   50.24%   50.28%   +0.04%     
==========================================
  Files         816      816              
  Lines       33699    33699              
  Branches     5261     5261              
==========================================
+ Hits        16931    16947      +16     
+ Misses      14127    14108      -19     
- Partials     2641     2644       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lagergren lagergren added this to the 0.30.2 milestone Nov 22, 2026
@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren
lagergren merged commit 1b44654 into redhat-developer:main Nov 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant