we forgot to update the e2e workflow bindings when we refactored the mise tasks
- User
we forgot to update the e2e workflow bindings when we refactored the mise tasks
Assistant
Let me look at the current e2e workflow and mise task definitions.
Assistant
The e2e workflow references
mise run test:e2e:${{ matrix.agent }}(line 53), but the mise.toml has notest:e2e:*tasks defined. Let me check what e2e tasks exist.Assistant
There are mise task files. Let me check the mise-tasks directory.
Assistant
Now I see the issue. The workflow uses
mise run test:e2e:${{ matrix.agent }}(colon-separated agent names likeclaude,opencode,gemini), but the refactored task usesmise run test:e2e --agent <agent-name>with a flag. The old colon-separated tasks (test:e2e:claude,test:e2e:opencode,test:e2e:gemini) no longer exist.Let me also check the isolated workflow.
Assistant
Now I also need to check what agent names the task expects vs what the workflow matrix uses.
The workflow matrix uses
claude,opencode,geminibut the--agentflag expectsclaude-code,opencode,gemini-clibased on the README. Let me confirm.Assistant
Good. So the
E2E_AGENTvalues areclaude-code,gemini-cli,opencode. The workflow matrix uses short namesclaude,opencode,gemini. We need a mapping.Here's what needs to change in both workflows:
e2e.ymlline 53:mise run test:e2e:${{ matrix.agent }}→mise run test:e2e --agent <mapped-name>e2e-isolated.ymlline 58:mise run test:e2e:${{ inputs.agent }}→mise run test:e2e --agent <mapped-name>
The simplest fix is to update the matrix/input values to use the actual agent slugs (
claude-code,gemini-cli,opencode) and update thecasestatements accordingly. Or we can keep the short names and add a mapping step.Let me update the matrix to use the real agent slugs and fix everything consistently.
Assistant
Now fix the isolated workflow.
Assistant
Let me verify the final state of both files.
Assistant
Both files look good. Here's a summary of the changes:
Both workflows had two issues:
- Task invocation: Used old
mise run test:e2e:<agent>(colon-separated subtask) syntax, but the refactored task usesmise run test:e2e --agent <agent>(flag-based) - Agent names: Used short names (
claude,gemini) that don't match theE2E_AGENTvalues the test code expects (claude-code,gemini-cli)
Changes in
e2e.yml:- Matrix values:
claude→claude-code,gemini→gemini-cli - Case statement keys updated to match
- Concurrency limit check:
gemini→gemini-cli - Run command:
mise run test:e2e:${{ matrix.agent }}→mise run test:e2e --agent ${{ matrix.agent }}
Changes in
e2e-isolated.yml:- Input options/default:
claude→claude-code,gemini→gemini-cli - Case statement keys updated to match
- Run command: →
- Task invocation: Used old
- User
commit, push, fire the workflow
Assistant
Now let me trigger the E2E workflow on this branch.
Assistant
Done. Committed, pushed, and triggered the E2E workflow: https://github.com/entireio/cli/actions/runs/22475020830