mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 04:03:31 +00:00
fix: add Mock agent stub in idempotency test
The test was missing a stub agent process launcher for Mock, causing install_is_idempotent_for_all_supported_agents_when_artifacts_exist to fail since Mock's install would write the launcher instead of detecting it as already installed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a0cafac0d4
commit
017efe06b0
1 changed files with 2 additions and 2 deletions
|
|
@ -1782,8 +1782,8 @@ exit 0
|
|||
.expect("write agent process launcher");
|
||||
}
|
||||
|
||||
// Pi and Cursor only need agent process launchers (native_required = false).
|
||||
for agent in [AgentId::Pi, AgentId::Cursor] {
|
||||
// Pi, Cursor, and Mock only need agent process launchers (native_required = false).
|
||||
for agent in [AgentId::Pi, AgentId::Cursor, AgentId::Mock] {
|
||||
fs::write(manager.agent_process_path(agent), b"stub")
|
||||
.expect("write agent process launcher");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue