Skip to content

Add diagnostic logging to Discord bot advisory lock for production de… #5587

Add diagnostic logging to Discord bot advisory lock for production de…

Add diagnostic logging to Discord bot advisory lock for production de… #5587

Triggered via push January 27, 2026 19:08
Status Failure
Total duration 4m 21s
Artifacts

ci.yml

on: push
build-and-check
2m 50s
build-and-check
test-integration-packages/billing
1m 2s
test-integration-packages/billing
test-integration-packages/internal
1m 10s
test-integration-packages/internal
Matrix: test-integration
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test-packages/internal
Final attempt failed. Child_process exited with error code 123
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L447
[ - "Advisory lock health check failed - lock no longer held", + "[2026-01-27T19:12:16.564Z] [PID:2579] [advisory-lock] Advisory lock health check failed - lock no longer held {"lockId":741852963,"healthCheckCount":1}", ] - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:447:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L274
[ - "Advisory lock health check failed - connection lost", + "[2026-01-27T19:12:16.550Z] [PID:2579] [advisory-lock] Advisory lock health check failed - connection lost {"lockId":741852963,"healthCheckCount":1,"error":"Error: Connection lost"}", ] - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:274:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L223
[ - "Error releasing advisory lock:", - Any<Error>, + "[2026-01-27T19:12:16.549Z] [PID:2579] [advisory-lock] Error closing database connection {"lockId":741852963,"error":"Error: End failed"}", ] - Expected - 2 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:223:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L447
[ - "Advisory lock health check failed - lock no longer held", + "[2026-01-27T19:11:58.550Z] [PID:2433] [advisory-lock] Advisory lock health check failed - lock no longer held {"lockId":741852963,"healthCheckCount":1}", ] - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:447:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L274
[ - "Advisory lock health check failed - connection lost", + "[2026-01-27T19:11:58.538Z] [PID:2433] [advisory-lock] Advisory lock health check failed - connection lost {"lockId":741852963,"healthCheckCount":1,"error":"Error: Connection lost"}", ] - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:274:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L223
[ - "Error releasing advisory lock:", - Any<Error>, + "[2026-01-27T19:11:58.536Z] [PID:2433] [advisory-lock] Error closing database connection {"lockId":741852963,"error":"Error: End failed"}", ] - Expected - 2 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:223:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L447
[ - "Advisory lock health check failed - lock no longer held", + "[2026-01-27T19:11:41.548Z] [PID:2281] [advisory-lock] Advisory lock health check failed - lock no longer held {"lockId":741852963,"healthCheckCount":1}", ] - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:447:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L274
[ - "Advisory lock health check failed - connection lost", + "[2026-01-27T19:11:41.535Z] [PID:2281] [advisory-lock] Advisory lock health check failed - connection lost {"lockId":741852963,"healthCheckCount":1,"error":"Error: Connection lost"}", ] - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:274:33)
error: expect(received).toHaveBeenCalledWith(...expected): packages/internal/src/db/__tests__/advisory-lock.test.ts#L223
[ - "Error releasing advisory lock:", - Any<Error>, + "[2026-01-27T19:11:41.534Z] [PID:2281] [advisory-lock] Error closing database connection {"lockId":741852963,"error":"Error: End failed"}", ] - Expected - 2 + Received + 1 at <anonymous> (/home/runner/work/***/***/packages/internal/src/db/__***s__/advisory-lock.***.ts:223:33)
test-packages/internal
Attempt 2 failed. Reason: Child_process exited with error code 123
test-packages/internal
Attempt 1 failed. Reason: Child_process exited with error code 123