You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
impl: prefer agent name over agent id in URI handler (#585)
* impl: prefer agent name over agent id in URI handler
Agent name is easier to resolve in jetbrains gateway module
* impl: prefer agent name over agent id in URI handler (2)
Error reporting should also prefer agent name over the agent id.
* chore: update and fix UTs
Test cases related to agent matching have to be updated
now that agent name is preferred over agent id.
* chore: refactor UTs related to agent matching in URI handling
Rewrote the entire test to be easier to read and debug.
throwIllegalArgumentException("The workspace \"${workspace.name}\" does not have an agent with ID \"${parameters.agentID()}\"")
349
348
} else {
350
349
throwMissingArgumentException(
351
350
"Unable to determine which agent to connect to; one of \"$AGENT_NAME\" or \"$AGENT_ID\" must be set because the workspace \"${workspace.name}\" has more than one agent",
0 commit comments