Skip to content

[communication-short-codes] Recurring CI failures: Short Codes service returns HTTP 500 for manage Attachments #37863

@deyaaeldeen

Description

@deyaaeldeen

Summary

The manage Attachments live tests in @azure-tools/communication-short-codes have been recurring failures across multiple CI runs. All 7 failures occur in live mode only.

Related to #37849

Error

The server encountered an internal error.

HTTP 500 from the Short Codes service when the test attempts to manage attachments on a program brief.

Root Cause

The Short Codes service is returning HTTP 500 internal server errors for the attachment management API. This is a service-side bug, not a resource provisioning or code issue. The live test environment may have stale or invalid attachment resources.

Affected Tests

  • File: sdk/communication/communication-short-codes/test/public/manageProgramBriefAttachment.spec.ts
  • Suite: ShortCodesClient - manage Attachments > can manage Attachments
  • Stats: 7 failed / 134 passed / 142 total (multiple platform variants)

Notes

  • No skip flag exists for this test (unlike communication-identity)
  • The test has cleanup logic (runTestCleaningLeftovers) but it cannot recover from server 500s
  • Test resources are provisioned via the shared sdk/communication/test-resources/test-resources.bicep — re-provisioning will not fix a service-side 500

/cc @besh2014 @gfeitosa-msft @ihuseynov-msft @ilyapaliakou-msft @kirill-linnik @phermanov-msft

Metadata

Metadata

Labels

test-reliabilityIssue that causes tests to be unreliable

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions