Skip to content

feat: add e2e test for ACP#190

Merged
johnstcn merged 3 commits intomainfrom
cj/exp/acp-c
Feb 25, 2026
Merged

feat: add e2e test for ACP#190
johnstcn merged 3 commits intomainfrom
cj/exp/acp-c

Conversation

@johnstcn
Copy link
Member

@johnstcn johnstcn commented Feb 19, 2026

Relates to coder/internal#1333

Adds e2e test for ACP conversation

🤖 Written by Opus 4.5 using Mux

@github-actions
Copy link

✅ Preview binaries are ready!

To test with modules: agentapi_version = "agentapi_190" or download from: https://github.com/coder/agentapi/releases/tag/agentapi_190

@johnstcn johnstcn self-assigned this Feb 19, 2026
@johnstcn johnstcn marked this pull request as ready for review February 19, 2026 09:58
This was referenced Feb 19, 2026
Base automatically changed from cj/exp/acp-b to main February 25, 2026 16:23
Comment on lines 239 to 244
// The ACP SDK dispatches SessionUpdate notifications as goroutines, so
// the chunk may arrive after conn.Prompt() returns. Wait up to 100ms.
select {
case <-c.chunkReceived:
case <-time.After(100 * time.Millisecond):
}
Copy link
Member Author

Choose a reason for hiding this comment

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

review: I'm not super happy with this but it seems to do the job.

@johnstcn johnstcn merged commit 5881f7d into main Feb 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants