Skip to content

chore(main): release 3.5.1 (#196)

Sign in for the full log view
GitHub Actions / Tests report failed Jan 11, 2025 in 1s

42 passed, 1 failed and 0 skipped

Tests failed

❌ reports/jest-junit.xml

43 tests were completed in 62s with 42 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/adapters/createRequestHeaders.test.ts 3✅ 139ms
src/client.test.ts 1✅ 182ms
src/clientConfiguration.test.ts 2✅ 112ms
src/features/buildInformation/buildInformationRepository.test.ts 4✅ 5s
src/features/capabilities/capability.test.ts 4✅ 711ms
src/features/packages/pack/nugetPackageBuilder.test.ts 5✅ 278ms
src/features/packages/pack/zipPackageBuilder.test.ts 6✅ 6s
src/features/packages/packageRepository.test.ts 6✅ 16s
src/features/projects/releases/deployments/deploymentRepository.test.ts 2✅ 1❌ 35s
src/features/projects/releases/releaseRepository.test.ts 4✅ 18s
src/features/serverTasks/serverTaskWaiter.test.ts 5✅ 61s

✅ src/adapters/createRequestHeaders.test.ts

createRequestHeaders
  ✅ when api key is provided it is put into the correct request header
  ✅ when an access token is provided it is put into the correct request header
  ✅ when neither an access token or api key is provided then the correct api key header is filled in for backward compatibility

✅ src/client.test.ts

client
  ✅ throws with invalid configuration

✅ src/clientConfiguration.test.ts

configuration
  ✅ undefined
  ✅ blank

✅ src/features/buildInformation/buildInformationRepository.test.ts

configuration
  ✅ undefined
  ✅ blank
push build information
  ✅ to single package
  ✅ to a package failed

✅ src/features/capabilities/capability.test.ts

configuration
  ✅ undefined
  ✅ blank
Check capabilities
  ✅ Returns no error for something we know exists
  ✅ Returns false for something we know does not exist

✅ src/features/packages/pack/nugetPackageBuilder.test.ts

Can create a NuGet packages
  ✅ Can create with a single specific file
  ✅ Can create with wildcarded files
  ✅ Can create with wildcarded files and a nuspec
  ✅ Can create with a package in a relative folder
  ✅ Can create with unexpected characters

✅ src/features/packages/pack/zipPackageBuilder.test.ts

Can create a Zip packages
  ✅ Can create with a single specific file
  ✅ Can create with wildcarded files
  ✅ Can create with multiples and wildcarded directories
  ✅ Can create with '.' as the basePath
  ✅ Can create zip file with dot-files included
  ✅ Re-creating a zip with overwrite set to false does not replace the existing archive

✅ src/features/packages/packageRepository.test.ts

configuration
  ✅ undefined
  ✅ blank
push package
  ✅ single package
  ✅ multiple packages
  ✅ failed package
  ✅ very large package

❌ src/features/projects/releases/deployments/deploymentRepository.test.ts

configuration
  ✅ undefined
  ✅ blank
deploy a release
  ❌ deploy to single environment
	Error: There was a problem with your request.

✅ src/features/projects/releases/releaseRepository.test.ts

configuration
  ✅ undefined
  ✅ blank
create a release
  ✅ can create a release
create a release › create with packages
  ✅ using packages

✅ src/features/serverTasks/serverTaskWaiter.test.ts

configuration
  ✅ undefined
  ✅ blank
wait for server task › non-existent task
  ✅ wait exits correctly
wait for server task › existing task
  ✅ deploy with default timeout exits correctly
  ✅ deploy with short timeout exits correctly

Annotations

Check failure on line 25 in src/octopusError.ts

See this annotation in the file changed.

@github-actions github-actions / Tests report

src/features/projects/releases/deployments/deploymentRepository.test.ts ► deploy a release ► deploy to single environment

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: There was a problem with your request.
Raw output
Error: There was a problem with your request.
Cannot delete a space which contains running tasks. Wait for the tasks to complete or cancel them.
    at new OctopusError (/home/runner/work/api-client.ts/api-client.ts/src/octopusError.ts:25:9)
    at generateOctopusError (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:79:16)
    at ApiClient.handleError (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:60:21)
    at ApiClient.<anonymous> (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:24:22)
    at step (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:33:23)
    at Object.throw (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:14:53)
    at rejected (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:6:65)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)