The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix playwright tests
Steven Teye5819f8d7fcc
diff --git a/.github/workflows/playwright.yaml b/.github/workflows/playwright.yamlindex fcdc6be200..d84957adcc 100644--- a/.github/workflows/playwright.yaml+++ b/.github/workflows/playwright.yaml@@ -40,6 +40,8 @@ jobs:UPSTASH_REDIS_REST_TOKEN: "e2e_srh_token"UPSTASH_VECTOR_REST_URL: "https://sensible-camel-xxxx.upstash.io"UPSTASH_VECTOR_REST_TOKEN: "xx"+ UPSTASH_VECTOR_EMOJI_REST_URL: "https://clever-bear-xxxx.upstash.io"+ UPSTASH_VECTOR_EMOJI_REST_TOKEN: "xx"# QStash local-dev (User 1) — must match jobs.e2e Start QStash stepQSTASH_URL: "http://127.0.0.1:8080"diff --git a/apps/web/scripts/migrations/backfill-program-application-status.ts b/apps/web/scripts/migrations/backfill-program-application-status.tsindex a841ece39e..53b6ecb467 100644--- a/apps/web/scripts/migrations/backfill-program-application-status.ts+++ b/apps/web/scripts/migrations/backfill-program-application-status.ts@@ -6,7 +6,7 @@ import {import "dotenv-flow/config";const DRY_RUN = true;-const BATCH_SIZE = 500;+const BATCH_SIZE = 100;// Max gap between an application's reviewedAt and the activity log written by the same reviewconst REVIEW_LOG_MATCH_WINDOW_MS = 10 * 60 * 1000;@@ -175,7 +175,7 @@ async function backfillFromEnrollments() {if (partnerIdUpdates.length > 0) {if (!DRY_RUN) {- await prisma.$transaction(+ await Promise.all(partnerIdUpdates.map(({ id, partnerId }) =>prisma.programApplication.update({where: {@@ -371,7 +371,7 @@ async function backfillPartnerIdsByEmail() {console.table(partnerIdUpdates.slice(0, 20));if (!DRY_RUN) {- await prisma.$transaction(+ await Promise.all(partnerIdUpdates.map(({ id, partnerId }) =>prisma.programApplication.update({where: {