Skip to content

fix: download luau-lsp on Linux x86_64 - #1993

Merged
lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:fix/luau-lsp-linux-x86_64-download
Nov 14, 2026
Merged

lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:fix/luau-lsp-linux-x86_64-download

Conversation

@lagergren

Copy link
Copy Markdown
Collaborator

@angelozerr, a one-line fix for 0.30.0, found by @muescha in #1961 while going through #1981.

On Linux x86_64, the luau-lsp installer downloads nothing. Since luau-lsp 1.53.0, from July 2025, that download is luau-lsp-linux-x86_64.zip instead of luau-lsp-linux.zip. The installer looks for the old name, no file matches, and it has no fallback URL. The current release, 1.70.1, has luau-lsp-linux-x86_64.zip, luau-lsp-linux-arm64.zip, luau-lsp-macos.zip and luau-lsp-win64.zip, so Linux arm64, macOS and Windows still match.

This PR only changes the name for Linux x86_64. The key stays amd64, since that's what os.arch is there. 0.21.0 has the same problem, and #1981 fixed luau-lsp's command in 0.30.0, so with this the template and its installer work on Linux x86_64 too.

InstallerTaskRegistryFileExistsTest passes locally (28 tests).

Since luau-lsp 1.53.0, from July 2025, its Linux x86_64 download is
luau-lsp-linux-x86_64.zip instead of luau-lsp-linux.zip. The installer
looked for the old name and has no fallback URL, so on Linux x86_64 it
downloaded nothing.
@lagergren lagergren added this to the 0.30.0 milestone Nov 14, 2026
@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Bug Fixes
    • Updated the Linux amd64 download asset name to match the available x86_64 package.

The Luau LSP installer template changes the Linux amd64 download asset filename from luau-lsp-linux.zip to luau-lsp-linux-x86_64.zip.

Changes: Luau LSP installer

Layer / File(s) Summary
Update Linux asset filename
src/main/resources/templates/lsp/luau-lsp/installer.json
The Linux amd64 download asset filename changes to luau-lsp-linux-x86_64.zip.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: angelozerr

Merge Risk: Minimal · up to 5825f

This updates the Linux x86_64 download name to match the current luau-lsp release asset, which fixes the installer failing to find a file on that platform. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the luau-lsp download on Linux x86_64 is fixed. The raw summary confirms the installer.json asset name change from luau-lsp-linux.zip to luau-lsp-linux-x86_64.zip. Th…
Description check Passed The description explains the cause (luau-lsp 1.53.0 renamed the Linux x86_64 asset), the fix (rename to luau-lsp-linux-x86_64.zip, key stays amd64), and the test run. It is related to the changeset.
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 states the main change: the luau-lsp download on Linux x86_64 is fixed. The raw summary confirms the installer.json asset name change from luau-lsp-linux.zip to luau-lsp-linux-x86_64.zip. The title is specific and matches the changeset.

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: 35911653-740e-4643-94ce-9bdaa7f445c3
Commits

Reviewing files that changed from the base of the PR and between 2540f24 and 5825f96.

Files selected for processing: 1

  • src/main/resources/templates/lsp/luau-lsp/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 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.96%. Comparing base (2540f24) to head (5825f96).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1993   +/-   ##
=======================================
  Coverage   48.95%   48.96%           
=======================================
  Files         812      812           
  Lines       32963    32963           
  Branches     6732     6732           
=======================================
+ Hits        16138    16141    +3     
  Misses      14276    14276           
+ Partials     2549     2546    -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 merged commit a043d48 into redhat-developer:main Nov 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant