Skip to content

Conversation

@rm-dmiri
Copy link

@rm-dmiri rm-dmiri commented Feb 2, 2026

  • Add new ServiceConnectionNotDeclared localization key
  • Update error message to include the service connection ID
  • Add test case for service connection not declared scenario
  • Keep existing test for invalid endpoint ID format

Context

We have misleading error message in case that service endpoint is not found while evaluating task.setendpoint command. It shares same message with parsing error and user is not aware what the issue is.
With new error message it should be clearer to the user what is the problem and he can seek more info in public docs.


Description

Changed error message for the case when endpoint not found by provided id during task.setendpoint command.


Risk Assessment (Low / Medium / High)

Low. Just error message changed.


Unit Tests Added or Updated (Yes / No)

Yes.


Additional Testing Performed

No.


Change Behind Feature Flag (Yes / No)

No.


Tech Design / Approach

  • Design has been written and reviewed.
  • Any architectural decisions, trade-offs, and alternatives are captured.

Documentation Changes Required (Yes/No)

No.


Logging Added/Updated (Yes/No)

Yes, updated error message used in logs.
No sensitive data logged.


Telemetry Added/Updated (Yes/No)

No.


Rollback Scenario and Process (Yes/No)

  • Rollback plan is documented.

Dependency Impact Assessed and Regression Tested (Yes/No)

No changes in dependencies.

- Add new ServiceConnectionNotDeclared localization key
- Update error message to include the service connection ID
- Add localization for all supported languages (10 languages)
- Add test case for service connection not declared scenario
- Keep existing test for invalid endpoint ID format
…an up project file by removing unused localization strings
@rm-dmiri rm-dmiri requested review from a team as code owners February 2, 2026 07:29
@rm-dmiri
Copy link
Author

rm-dmiri commented Feb 2, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rm-dmiri
Copy link
Author

rm-dmiri commented Feb 2, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants