Skip to content

Selectively skip test that only passes for dev builds (for Nix) - #537

Merged
purcell merged 1 commit into
mainfrom
skip-version-related-test-on-dev-build
Oct 8, 2026
Merged

purcell merged 1 commit into
mainfrom
skip-version-related-test-on-dev-build

Conversation

@purcell

@purcell purcell commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

This is another case of #529: the fix in #532 wasn't actually sufficient, and if I were to update the Nix derivation to embed the release version in the built binary, the test modified in this PR would fail.

The solution, as in #532, is to skip the test when this is a dev build.

Nix builds have been blocked from automatic updates for a couple of weeks due to the other issue fixed in #534. Unfortunately I don't get notified when attempted updates fail, so I have to check them manually. The next automatic update (due in the next few days) should successfully update nixpkgs to use lstk 1.4.0. Once that has happened, the next release should also update automatically (10 days later) and include the fix in this PR. After that, I would hope to submit a fix to nixpkgs that fixes the version string embedded in the binary.

(I'm looking at adding a test for nix builds and updates here, but it involves a little bit of extra workflow machinery and I'm really not sure if it's worthwhile.)

@purcell
purcell requested review from a team and peter-smith-phd as code owners October 8, 2026 13:47
@purcell purcell added semver: patch docs: skip Pull request does not require documentation changes labels Oct 8, 2026
@purcell
purcell merged commit d9c8303 into main Oct 8, 2026
35 of 39 checks passed
@purcell
purcell deleted the skip-version-related-test-on-dev-build branch October 8, 2026 14:18
@purcell

purcell commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @anisaoshafi

@anisaoshafi

Copy link
Copy Markdown
Collaborator

Thanks @anisaoshafi

Thanks @purcell for taking care of lstk <> nix 馃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: skip Pull request does not require documentation changes semver: patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants