Skip to content

ci: remove dead OS conditional in release workflow#198

Merged
askpt merged 1 commit intomainfrom
repo-assist/fix-release-dead-code-195-419636f91409c0d9
Mar 12, 2026
Merged

ci: remove dead OS conditional in release workflow#198
askpt merged 1 commit intomainfrom
repo-assist/fix-release-dead-code-195-419636f91409c0d9

Conversation

@askpt
Copy link
Owner

@askpt askpt commented Mar 12, 2026

The release job always runs on ubuntu-latest, making the
if RUNNER_OS = Linux conditional always true and the else
branch permanently unreachable. Simplify to a single
unconditional xvfb-run call.

Closes #195
Closes #196
Closes #197

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

The release job always runs on ubuntu-latest, making the
if RUNNER_OS = Linux conditional always true and the else
branch permanently unreachable. Simplify to a single
unconditional xvfb-run call.

Closes #195

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 12, 2026 09:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Simplifies the release GitHub Actions workflow by removing a permanently-unreachable OS conditional and always running VS Code extension tests under xvfb-run on Linux (the release job runs on ubuntu-latest).

Changes:

  • Removed the RUNNER_OS if/else shell block from the release workflow test step.
  • Replaced it with a single unconditional xvfb-run -a npm test invocation.

You can also share your feedback on Copilot code review. Take the survey.

@askpt askpt merged commit 960e31e into main Mar 12, 2026
14 checks passed
@askpt askpt deleted the repo-assist/fix-release-dead-code-195-419636f91409c0d9 branch March 12, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants