feat(billing): Convert referral bonuses from monthly recurring to one-time credits, and bump them from 250 -> 500 #5701
ci.yml
on: pull_request
build-and-check
3m 0s
test-integration-packages/billing
1m 9s
test-integration-packages/internal
1m 14s
Matrix: test-integration
Matrix: test
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
|