Fix mise E2E activation, CI triggering, and PR plugin testing#17
Closed
Copilot wants to merge 8 commits into
Closed
Fix mise E2E activation, CI triggering, and PR plugin testing#17Copilot wants to merge 8 commits into
Copilot wants to merge 8 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job mise_e2e_tests on macos-latest
Fix macOS mise E2E activation for Elixir install
Jun 16, 2026
Member
|
@copilot The yaml should also support CI triggering |
Author
Addressed in |
Copilot
AI
changed the title
Fix macOS mise E2E activation for Elixir install
Fix macOS mise E2E activation and CI triggering
Jun 16, 2026
Member
|
@copilot 修复 CI 失败直到跑通 |
Author
已在 |
Copilot
AI
changed the title
Fix macOS mise E2E activation and CI triggering
Fix mise E2E activation, CI triggering, and PR plugin testing
Jun 16, 2026
`mise plugin add` only supports Git/zip URLs, not local directories. `mise plugins link` creates the symlink mise needs to discover the local vfox plugin. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mise strips shims from PATH when running vfox plugin hooks, so erlc is not found during Elixir compilation. Switch to `mise env` which exports actual tool bin directories. Also set fail-fast: false so both matrix jobs run independently. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mise v2026.6.10 sanitizes the environment for os.execute() in vfox plugin hooks — only declared dependencies get their bin dirs on PATH. Without this declaration, erlc is not found during Elixir compilation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mise v2026.6.10 sanitizes os.execute() environment in vfox hooks, stripping mise-managed install dirs from PATH. This makes erlc unavailable during Elixir compilation. Add find_erlang_bin() that searches for erlc on PATH first, then falls back to scanning mise install directories. Inject the found directory into the make command's PATH. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
|
Bad! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
mise_e2e_testsworkflow was failing while building Elixir on macOS becauseerlcwas not available onPATHafter activating the Erlang toolchain with mise. This updates the workflow to use shim-based activation so Erlang executables remain visible during the Elixir build, ensures workflow-only edits trigger the CI job, and makes the mise E2E run test the checked-out PR plugin instead of cloningmain.Root cause
mise activate bash, which did not exposeerlcfor the subsequentmakestep in the Elixir install.vfox-elixirfromvfox:version-fox/vfox-elixir, which cloned the plugin frommaininstead of exercising the plugin code from the PR branch.erlcfailure mode.Workflow change
mise activate bash --shimsafter selecting:vfox:version-fox/vfox-erlang@26.2.3vfox-elixir-ci@1.16.2mise plugin add vfox-elixir-ci "$GITHUB_WORKSPACE"pushandpull_requestpath filters to include:.github/workflows/mise_e2e_test.yamlEffect
PATHduring Elixir compilation in the macOS E2E path.main.