Skip to content

feat:添加分布式事务锁,但是单元测试还没完全验证 #24

feat:添加分布式事务锁,但是单元测试还没完全验证

feat:添加分布式事务锁,但是单元测试还没完全验证 #24

Triggered via push November 25, 2025 13:12
Status Failure
Total duration 2m 58s
Artifacts –

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
Lint: lib/multi-level-cache.js#L12
Expected indentation of 4 spaces but found 2
Lint: lib/mongodb/writes/increment-one.js#L148
Unnecessary try/catch wrapper
Lint: lib/mongodb/queries/find-by-ids.js#L154
Unnecessary try/catch wrapper
Lint: lib/mongodb/queries/find-and-count.js#L109
Unnecessary try/catch wrapper
Lint: lib/mongodb/index.js#L329
Missing semicolon
Lint: lib/logger.js#L223
Missing semicolon
Lint: lib/connect.js#L76
Missing semicolon
Lint: lib/connect.js#L72
Missing semicolon
Lint: lib/connect.js#L71
Missing semicolon
Lint: lib/cache.js#L490
Missing semicolon
Test on Node.js 20.x
Process completed with exit code 1.
Test on Node.js 20.x
The strategy configuration was canceled because "test._20_x_ubuntu-latest" failed
Test on Node.js 20.x
The operation was canceled.
Lint: lib/cache.js#L473
Trailing spaces not allowed
Lint: lib/cache.js#L243
Trailing spaces not allowed
Lint: lib/cache.js#L233
Trailing spaces not allowed
Lint: lib/cache.js#L150
Trailing spaces not allowed
Lint: lib/cache.js#L144
Trailing spaces not allowed
Lint: lib/cache.js#L102
Async method 'exists' has no 'await' expression
Lint: lib/cache.js#L98
Async method 'del' has no 'await' expression
Lint: lib/cache.js#L78
Async method 'get' has no 'await' expression
Lint: lib/cache.js#L47
Async method 'set' has no 'await' expression
Lint: lib/cache.js#L16
Trailing spaces not allowed