Fail lazygit integration/component test for 0.64.1 and 0.65.0 release tarballs
Describe the bug
I'm prepared the update for Gentoo dev-vcs/lazygit-0.64.1 and -0.65.0 (guru repository) package and ran tests via build scrips with command go test ./... -short as usual and got an error message:
...
ok github.com/jesseduffield/lazygit/pkg/i18n 0.075s
ok github.com/jesseduffield/lazygit/pkg/integration/clients 0.062s
? github.com/jesseduffield/lazygit/pkg/integration/clients/injector [no test files]
2026/09/06 23:21:32 must run in lazy project folder or child folder
FAIL github.com/jesseduffield/lazygit/pkg/integration/components 0.062s
? github.com/jesseduffield/lazygit/pkg/integration/tests [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/bisect [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/branch [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/cherry_pick [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/commit [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/config [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/conflicts [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/custom_commands [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/demo [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/diff [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/file [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/filter_and_search [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/filter_by_author [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/filter_by_path [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/interactive_rebase [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/misc [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/patch_building [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/reflog [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/remote [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/shared [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/shell_commands [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/staging [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/stash [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/status [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/submodule [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/sync [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/tag [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/ui [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/undo [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/tests/worktree [no test files]
? github.com/jesseduffield/lazygit/pkg/integration/types [no test files]
? github.com/jesseduffield/lazygit/pkg/jsonschema [no test files]
? github.com/jesseduffield/lazygit/pkg/logs [no test files]
? github.com/jesseduffield/lazygit/pkg/logs/tail [no test files]
ok github.com/jesseduffield/lazygit/pkg/snake 0.049s
ok github.com/jesseduffield/lazygit/pkg/tasks 1.611s
ok github.com/jesseduffield/lazygit/pkg/theme 0.075s
? github.com/jesseduffield/lazygit/pkg/updates [no test files]
ok github.com/jesseduffield/lazygit/pkg/utils 0.022s
ok github.com/jesseduffield/lazygit/pkg/utils/yaml_utils 0.013s
FAIL
To Reproduce
Steps to reproduce the behavior:
- Get lazygit-0.65.0 Source code (tar.gz) tarball from release page, unpack and go into the
lazygit-0.65.0directory - Build the lazygit with command
go build -o "bin/lazygit" -ldflags "-X main.version=0.65.0" - Run tests with command
go test ./... -short - See the error message:
2026/09/06 23:21:32 must run in lazy project folder or child folder
FAIL github.com/jesseduffield/lazygit/pkg/integration/components 0.062sExpected behavior
All tests are passed
Version info: 0.64.1 and 0.65.0
Terminal info:
What terminal are you using, and which version? For some types of bugs this information can be relevant. I used konsole terminal.
Additional context
There is no similar error for tests with lazygit-0.64.0 or early version tarballs. When build from fetched github release-commit / latest commit master (c07f4d) there's no the same isssue. Is the message must run in lazy project folder or child folder related to this failed github.com/jesseduffield/lazygit/pkg/integration/components test? How could I skip this test or should this test is moved from "short" set?
[!NOTE] Please try updating to the latest version or manually building the latest
masterto see if the issue still occurs.
Source: jesseduffield/lazygit