Skip to content

feat(billing): Convert referral bonuses from monthly recurring to one-time credits, and bump them from 250 -> 500 #5701

feat(billing): Convert referral bonuses from monthly recurring to one-time credits, and bump them from 250 -> 500

feat(billing): Convert referral bonuses from monthly recurring to one-time credits, and bump them from 250 -> 500 #5701

Triggered via pull request February 4, 2026 20:47
Status Failure
Total duration 4m 23s
Artifacts

ci.yml

on: pull_request
build-and-check
3m 0s
build-and-check
test-integration-packages/billing
1m 9s
test-integration-packages/billing
test-integration-packages/internal
1m 14s
test-integration-packages/internal
Matrix: test-integration
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
test-packages/billing
Final attempt failed. Child_process exited with error code 1
TypeError: tx.select().from(schema.creditLedger).where(and(eq(schema.creditLedger.user_id: packages/billing/src/grant-credits.ts#L155
at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:155:6) at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:119:44) at <anonymous> (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:478:13) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:430:32) at async triggerMonthlyResetAndGrant (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:432:28) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:504:15)
TypeError: tx.select().from(schema.creditLedger).where(and(eq(schema.creditLedger.user_id: packages/billing/src/grant-credits.ts#L155
at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:155:6) at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:119:44) at <anonymous> (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:478:13) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:430:32) at async triggerMonthlyResetAndGrant (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:432:28) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:460:15)
TypeError: tx.select().from(schema.creditLedger).where(and(eq(schema.creditLedger.user_id: packages/billing/src/grant-credits.ts#L155
at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:155:6) at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:119:44) at <anonymous> (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:478:13) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:430:32) at async triggerMonthlyResetAndGrant (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:432:28) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:504:15)
TypeError: tx.select().from(schema.creditLedger).where(and(eq(schema.creditLedger.user_id: packages/billing/src/grant-credits.ts#L155
at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:155:6) at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:119:44) at <anonymous> (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:478:13) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:430:32) at async triggerMonthlyResetAndGrant (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:432:28) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:460:15)
TypeError: tx.select().from(schema.creditLedger).where(and(eq(schema.creditLedger.user_id: packages/billing/src/grant-credits.ts#L155
at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:155:6) at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:119:44) at <anonymous> (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:478:13) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:430:32) at async triggerMonthlyResetAndGrant (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:432:28) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:504:15)
TypeError: tx.select().from(schema.creditLedger).where(and(eq(schema.creditLedger.user_id: packages/billing/src/grant-credits.ts#L155
at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:155:6) at executeGrantCreditOperation (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:119:44) at <anonymous> (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:478:13) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:430:32) at async triggerMonthlyResetAndGrant (/home/runner/work/***/***/packages/billing/src/grant-credits.ts:432:28) at async <anonymous> (/home/runner/work/***/***/packages/billing/src/__***s__/grant-credits.***.ts:460:15)
test-web
Final attempt failed. Child_process exited with error code 1
test-packages/billing
Attempt 2 failed. Reason: Child_process exited with error code 1
test-packages/billing
Attempt 1 failed. Reason: Child_process exited with error code 1
test-web
Attempt 2 failed. Reason: Child_process exited with error code 1
test-web
Attempt 1 failed. Reason: Child_process exited with error code 1