Skip to content

Fix async tasks race condition for selecting task to be executed #3271

Fix async tasks race condition for selecting task to be executed

Fix async tasks race condition for selecting task to be executed #3271

Triggered via pull request October 26, 2024 13:18
Status Failure
Total duration 8m 43s
Artifacts 1

flowzone.yml

on: pull_request
Matrix: Flowzone / Event Types
Flowzone  /  Versioned source
36s
Flowzone / Versioned source
Flowzone  /  Clean GitHub release
0s
Flowzone / Clean GitHub release
Flowzone  /  Is custom
7s
Flowzone / Is custom
Flowzone  /  Is rust
6s
Flowzone / Is rust
Flowzone  /  Is npm
25s
Flowzone / Is npm
Flowzone  /  Is python
6s
Flowzone / Is python
Flowzone  /  Is docker
10s
Flowzone / Is docker
Flowzone  /  Generate release notes
8s
Flowzone / Generate release notes
Flowzone  /  Is balena
0s
Flowzone / Is balena
Flowzone  /  Is website
0s
Flowzone / Is website
Flowzone  /  Is CloudFormation
0s
Flowzone / Is CloudFormation
Flowzone  /  Lint workflows
9s
Flowzone / Lint workflows
Matrix: Flowzone / Test custom
Matrix: Flowzone / Clean custom
Matrix: Flowzone / Finalize custom
Matrix: Flowzone / Test rust
Flowzone  /  Finalize rust
0s
Flowzone / Finalize rust
Matrix: Flowzone / Test npm
Flowzone  /  Finalize npm
0s
Flowzone / Finalize npm
Flowzone  /  Finalize npm docs
0s
Flowzone / Finalize npm docs
Matrix: Flowzone / Test python poetry
Flowzone  /  Finalize python
0s
Flowzone / Finalize python
Matrix: Flowzone / Test docker
Matrix: Flowzone / Finalize docker
Flowzone  /  Prepare deploy message
0s
Flowzone / Prepare deploy message
Flowzone  /  Finalize GitHub release
0s
Flowzone / Finalize GitHub release
Matrix: Flowzone / Finalize balena
Matrix: Flowzone / Test CloudFormation
Matrix: Flowzone / Finalize CloudFormation
Flowzone  /  Generate SBOM for cargo
0s
Flowzone / Generate SBOM for cargo
Flowzone  /  Generate SBOM for NPM
0s
Flowzone / Generate SBOM for NPM
Flowzone  /  Generate SBOM for python
0s
Flowzone / Generate SBOM for python
Matrix: Flowzone / Publish custom
Matrix: Flowzone / Publish rust
Flowzone  /  Publish npm
0s
Flowzone / Publish npm
Flowzone  /  Publish to test PyPI
0s
Flowzone / Publish to test PyPI
Matrix: Flowzone / Publish balena
Flowzone  /  Publish website
0s
Flowzone / Publish website
Matrix: Flowzone / Publish docker
Flowzone  /  All tests
0s
Flowzone / All tests
Matrix: Flowzone / Always custom
Flowzone  /  Publish Github release
0s
Flowzone / Publish Github release
Flowzone  /  All jobs
0s
Flowzone / All jobs
Flowzone  /  Auto-merge
0s
Flowzone / Auto-merge
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 20 warnings
Flowzone / Test npm (22.x)
Process completed with exit code 2.
Flowzone / Test npm (20.x)
Process completed with exit code 2.
Flowzone / All tests
Process completed with exit code 1.
Flowzone / All jobs
Process completed with exit code 1.
Flowzone / Test npm (22.x): src/bin/utils.ts#L2
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Flowzone / Test npm (22.x): src/data-server/sbvr-server.ts#L237
Expected an error object to be thrown
Flowzone / Test npm (22.x): src/database-layer/db.ts#L191
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L202
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L422
Async method 'getTxLevelLock' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L935
Async method '_commit' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L984
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (22.x): src/express-emulator/express.js#L64
Expected an error object to be thrown
Flowzone / Test npm (22.x): src/express-emulator/express.js#L105
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (22.x): src/express-emulator/express.js#L114
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (20.x): src/bin/utils.ts#L2
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Flowzone / Test npm (20.x): src/data-server/sbvr-server.ts#L237
Expected an error object to be thrown
Flowzone / Test npm (20.x): src/database-layer/db.ts#L191
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L202
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L422
Async method 'getTxLevelLock' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L935
Async method '_commit' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L984
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (20.x): src/express-emulator/express.js#L64
Expected an error object to be thrown
Flowzone / Test npm (20.x): src/express-emulator/express.js#L105
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (20.x): src/express-emulator/express.js#L114
Expected the Promise rejection reason to be an Error

Artifacts

Produced during runtime
Name Size
release-notes
269 Bytes