Skip to content

fix(cli): resolve message queue race conditions and add recovery mech… #5490

fix(cli): resolve message queue race conditions and add recovery mech…

fix(cli): resolve message queue race conditions and add recovery mech… #5490

Triggered via push January 21, 2026 21:55
Status Failure
Total duration 5m 32s
Artifacts

ci.yml

on: push
build-and-check
2m 30s
build-and-check
Matrix: test-integration
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
error: Failed query: insert into "credit_ledger" ("operation_id": node_modules/drizzle-orm/pg-core/session.js#L41
params: int-***-first,integration-***-user-balance-calc,100,100,free,Integration *** grant,10,2026-02-20T21:58:56.574Z,2026-01-01T21:58:56.574Z,int-***-last-nonzero,integration-***-user-balance-calc,100,50,free,Integration *** grant,60,,2026-01-16T21:58:56.574Z at queryWithCache (/home/runner/work/***/***/node_modules/drizzle-orm/pg-core/session.js:41:15)
error: packages/billing/internal:shared#L56
at new NodeAggregateError (internal:shared:56:10) at internalConnectMultiple (node:net:1081:40) at afterConnectMultiple (node:net:1171:30) at connectError (node:net:350:48)
error: Failed query: delete from "credit_ledger" where "credit_ledger"."user_id" = $1: node_modules/drizzle-orm/pg-core/session.js#L41
params: integration-***-user-balance-calc at queryWithCache (/home/runner/work/***/***/node_modules/drizzle-orm/pg-core/session.js:41:15)
error: packages/billing/internal:shared#L56
at new NodeAggregateError (internal:shared:56:10) at internalConnectMultiple (node:net:1081:40) at afterConnectMultiple (node:net:1171:30) at connectError (node:net:350:48)
error: Failed query: insert into "credit_ledger" ("operation_id": node_modules/drizzle-orm/pg-core/session.js#L41
params: int-***-positive,integration-***-user-balance-calc,100,100,free,Integration *** grant,10,2026-02-20T21:58:56.568Z,2026-01-01T21:58:56.568Z,int-***-zero-last,integration-***-user-balance-calc,100,0,free,Integration *** grant,60,,2026-01-16T21:58:56.568Z at queryWithCache (/home/runner/work/***/***/node_modules/drizzle-orm/pg-core/session.js:41:15)
error: packages/billing/internal:shared#L56
at new NodeAggregateError (internal:shared:56:10) at internalConnectMultiple (node:net:1081:40) at afterConnectMultiple (node:net:1171:30) at connectError (node:net:350:48)
error: Failed query: delete from "credit_ledger" where "credit_ledger"."user_id" = $1: node_modules/drizzle-orm/pg-core/session.js#L41
params: integration-***-user-balance-calc at queryWithCache (/home/runner/work/***/***/node_modules/drizzle-orm/pg-core/session.js:41:15)
error: packages/billing/internal:shared#L56
at new NodeAggregateError (internal:shared:56:10) at internalConnectMultiple (node:net:1081:40) at afterConnectMultiple (node:net:1171:30) at connectError (node:net:350:48)
error: Failed query: insert into "credit_ledger" ("operation_id": node_modules/drizzle-orm/pg-core/session.js#L41
params: int-***-grant-3,integration-***-user-balance-calc,100,100,free,Integration *** grant,30,2026-03-22T21:58:56.562Z,2026-01-11T21:58:56.562Z,int-***-grant-1,integration-***-user-balance-calc,100,100,free,Integration *** grant,10,2026-02-20T21:58:56.562Z,2026-01-01T21:58:56.562Z,int-***-grant-2,integration-***-user-balance-calc,100,100,free,Integration *** grant,10,2026-02-05T21:58:56.562Z,2026-01-06T21:58:56.562Z,int-***-grant-4,integration-***-user-balance-calc,100,100,free,Integration *** grant,60,,2026-01-16T21:58:56.562Z at queryWithCache (/home/runner/work/***/***/node_modules/drizzle-orm/pg-core/session.js:41:15)
error: packages/billing/internal:shared#L56
at new NodeAggregateError (internal:shared:56:10) at internalConnectMultiple (node:net:1081:40) at afterConnectMultiple (node:net:1171:30) at connectError (node:net:350:48)
test-integration-packages/billing
Attempt 2 failed. Reason: Child_process exited with error code 123
test-integration-packages/billing
Attempt 1 failed. Reason: Child_process exited with error code 123