Skip to content

Add e2e tests for external agents#700

Merged
nodo merged 4 commits intomainfrom
nodo/e2e-external-agents
Mar 16, 2026
Merged

Add e2e tests for external agents#700
nodo merged 4 commits intomainfrom
nodo/e2e-external-agents

Conversation

@nodo
Copy link
Copy Markdown
Contributor

@nodo nodo commented Mar 16, 2026

Add some simple tests to our e2e suite using our test external agent https://github.com/entireio/roger-roger

nodo added 2 commits March 16, 2026 11:39
Entire-Checkpoint: 832b6659f697
Entire-Checkpoint: 8521d1323a05
@nodo nodo requested a review from a team as a code owner March 16, 2026 11:00
Copilot AI review requested due to automatic review settings March 16, 2026 11:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the E2E harness to cover “external agent” integrations (via the external agent protocol) by adding a deterministic test agent (roger-roger) and associated E2E scenarios, and wiring it into CI.

Changes:

  • Add a roger-roger external agent implementation and a mise task to run its E2E suite locally.
  • Update E2E repo setup to pre-enable external_agents in settings when running against an external agent.
  • Add new E2E test cases and update CI workflows to include a roger-roger matrix entry.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
mise-tasks/test/e2e/roger-roger New local task to build roger-roger binaries and run E2E tests with artifacts.
e2e/testutil/repo.go Pre-writes .entire/settings.json enabling external_agents for external-agent runs before entire enable.
e2e/tests/external_agent_test.go New E2E tests intended to validate external-agent flows and checkpoint metadata.
e2e/agents/roger_roger.go Registers and runs the roger-roger external agent if binaries are present on PATH.
e2e/agents/agent.go Adds an ExternalAgent optional interface for agent-type detection in the harness.
.github/workflows/e2e.yml Adds roger-roger to the E2E matrix, installs its binaries, and filters tests for that job.
.github/workflows/e2e-isolated.yml Adds roger-roger as an isolated workflow option and installs its binaries.

@nodo nodo force-pushed the nodo/e2e-external-agents branch from 9be897b to c743873 Compare March 16, 2026 11:40
Entire-Checkpoint: f318a6ef2c2c
@nodo nodo force-pushed the nodo/e2e-external-agents branch from c743873 to f5d87c1 Compare March 16, 2026 11:46
Soph
Soph previously approved these changes Mar 16, 2026
Copy link
Copy Markdown
Collaborator

@Soph Soph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add it to e2e:canary ? I feel it's also fine to run this always... but I guess the issue is that we would need to make sure it's installed on every users machine? But I think we could "abuse" mise for that 🤔 But fine handling that in another PR

Entire-Checkpoint: 8e54afefb3cc
@nodo
Copy link
Copy Markdown
Contributor Author

nodo commented Mar 16, 2026

Should we also add it to e2e:canary ?

I am going back and forth with this, let's discuss separately.

@nodo nodo merged commit 27e3c32 into main Mar 16, 2026
3 checks passed
@nodo nodo deleted the nodo/e2e-external-agents branch March 16, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants