Problem
The coder-acp-copilot integration test hard-codes TEST_MODEL=claude-opus-4.6. The current ACP session still advertises model-selection capability, but that model is no longer present in models.availableModels.
selectModel() logs that the requested model is unavailable, attempts session/set_model, catches the rejection, and returns undefined. The test then assumes undefined means model-selection capability was not advertised and requires this different warning:
does not advertise model selection capability
The actual warning is:
session/set_model failed for "claude-opus-4.6"
As a result, the coding prompt succeeds but the model-selection assertion fails.
Expected behavior
The integration test should remain meaningful without depending on a server-controlled model identifier that may be removed independently of the pinned CLI version.
Prefer selecting a non-default model from the session's advertised available-model list and asserting that selection succeeds. A short-term constant update may unblock the test, but dynamic selection is the durable fix.
Related work
Problem
The
coder-acp-copilotintegration test hard-codesTEST_MODEL=claude-opus-4.6. The current ACP session still advertises model-selection capability, but that model is no longer present inmodels.availableModels.selectModel()logs that the requested model is unavailable, attemptssession/set_model, catches the rejection, and returnsundefined. The test then assumesundefinedmeans model-selection capability was not advertised and requires this different warning:The actual warning is:
As a result, the coding prompt succeeds but the model-selection assertion fails.
Expected behavior
The integration test should remain meaningful without depending on a server-controlled model identifier that may be removed independently of the pinned CLI version.
Prefer selecting a non-default model from the session's advertised available-model list and asserting that selection succeeds. A short-term constant update may unblock the test, but dynamic selection is the durable fix.
Related work
claude-opus-4.6value while refactoring the shared ACP test utilities, so this fix should be coordinated with or applied after that change.