Open
Conversation
Entire-Checkpoint: bccb77bb88fa
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new e2e test suite that runs the CLI against a real coding agent (Claude Code today) to validate core workflows (enable/hooks, checkpoints, rewind) in a more production-like setup, intended for release validation.
Changes:
- Add
misetasks to run the newe2etest package with different agent selections. - Introduce an
e2e_testharness (test repo setup, CLI binary build, agent runner abstraction). - Add several E2E scenarios covering basic workflow, checkpoint metadata, agent commits, and rewind behavior.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
mise.toml |
Adds tasks to run E2E tests with real agents. |
cmd/entire/cli/e2e_test/setup_test.go |
Builds a shared entire binary in TestMain and configures PATH for hooks. |
cmd/entire/cli/e2e_test/testenv.go |
Provides E2E repo/CLI helpers (git init/commit, enable, rewind listing, agent execution). |
cmd/entire/cli/e2e_test/agent_runner.go |
Implements agent runners (Claude Code + Gemini placeholder) used by E2E tests. |
cmd/entire/cli/e2e_test/prompts.go |
Defines deterministic prompts used by scenarios. |
cmd/entire/cli/e2e_test/assertions.go |
Adds helper assertions for files, rewind points, and agent results. |
cmd/entire/cli/e2e_test/scenario_basic_workflow_test.go |
Validates baseline workflow (agent change → commit → checkpoint/metadata branch). |
cmd/entire/cli/e2e_test/scenario_checkpoint_test.go |
Validates checkpoint metadata/trailer behavior and ID format. |
cmd/entire/cli/e2e_test/scenario_agent_commit_test.go |
Covers agent committing during its turn and multi-session behavior. |
cmd/entire/cli/e2e_test/scenario_rewind_test.go |
Exercises rewinding to checkpoints across edits/commits/multiple files. |
Entire-Checkpoint: 8df6319ef9a6
Entire-Checkpoint: 7744ff0ccd17
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.
Adding E2E tests executing prompts against a real agent and executing all hooks through claude code and git.
Main purpose is to validate large amounts of works and also to be used when a new release is made to validate again that the core functionalities are working.