Load the working tree, not an installed arti-pack #9

Merged
benvin merged 1 commits from benvin/hermetic-test-harness into main 2026-09-12 12:54:45 +10:00
Member

Neovim's runtimepath searcher outranks package.path, so make test on a machine with arti-pack installed tests the installed copy instead of the working tree.

  • Give the repository the first package loader slot in the test harness
  • Run the suite under nvim --clean so site packages stay off the runtimepath
  • Assert every module resolves inside the repository, even with a copy on the runtimepath
Neovim's runtimepath searcher outranks package.path, so `make test` on a machine with arti-pack installed tests the installed copy instead of the working tree. - Give the repository the first package loader slot in the test harness - Run the suite under `nvim --clean` so site packages stay off the runtimepath - Assert every module resolves inside the repository, even with a copy on the runtimepath
unkin-agent added 1 commit 2026-09-12 12:53:06 +10:00
Load the working tree, not an installed arti-pack
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
1568334840
Neovim's runtimepath searcher outranks package.path, so `make test` on a
machine with arti-pack installed tests the installed copy.

- Give the repository the first package loader slot in the test harness
- Run the suite under `nvim --clean` so site packages stay off the rtp
- Assert modules resolve inside the repository, even with a copy on the rtp
unkin-agent force-pushed benvin/hermetic-test-harness from c9c5b717b6 to 1568334840 2026-09-12 12:53:06 +10:00 Compare
benvin merged commit f9cfe081c8 into main 2026-09-12 12:54:45 +10:00
benvin deleted branch benvin/hermetic-test-harness 2026-09-12 12:54:46 +10:00
Sign in to join this conversation.