Scheduling infrastructure for absolutely everyone.
chore: migrate GitHub workflows from Buildjet to Blacksmith (#26247)
Keith Williams2a6a8e635c8a
diff --git a/.github/actions/cache-db/action.yml b/.github/actions/cache-db/action.ymlindex dff9ba52e80..876bebd2a16 100644--- a/.github/actions/cache-db/action.yml+++ b/.github/actions/cache-db/action.yml@@ -16,7 +16,7 @@ runs:steps:- name: Cache databaseid: cache-db- uses: buildjet/cache@v4+ uses: actions/cache@v4env:cache-name: cache-dbkey-1: ${{ hashFiles('packages/prisma/schema.prisma', 'packages/prisma/migrations/**/**.sql', 'packages/prisma/*.ts') }}diff --git a/.github/actions/yarn-install/action.yml b/.github/actions/yarn-install/action.ymlindex 7ab05bc10fc..6164c4ee8f1 100644--- a/.github/actions/yarn-install/action.yml+++ b/.github/actions/yarn-install/action.yml@@ -20,7 +20,7 @@ runs:using: "composite"steps:- name: Use Node ${{ inputs.node_version }}- uses: buildjet/setup-node@v4+ uses: actions/setup-node@v4with:node-version: ${{ inputs.node_version }}- name: Expose yarn config as "$GITHUB_OUTPUT"@@ -32,7 +32,7 @@ runs:# Yarn rotates the downloaded cache archives, @see https://github.com/actions/setup-node/issues/325# Yarn cache is also reusable between arch and os.- name: Restore yarn cache- uses: buildjet/cache@v4+ uses: actions/cache@v4id: yarn-download-cachewith:path: ${{ steps.yarn-config.outputs.CACHE_FOLDER }}@@ -41,7 +41,7 @@ runs:# Invalidated on yarn.lock changes- name: Restore node_modulesid: yarn-nm-cache- uses: buildjet/cache@v4+ uses: actions/cache@v4with:path: "**/node_modules/"key: ${{ runner.os }}-yarn-nm-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}@@ -49,7 +49,7 @@ runs:# Invalidated on yarn.lock changes- name: Restore yarn install stateid: yarn-install-state-cache- uses: buildjet/cache@v4+ uses: actions/cache@v4with:path: .yarn/ci-cache/key: ${{ runner.os }}-yarn-install-state-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}diff --git a/.github/actions/yarn-playwright-install/action.yml b/.github/actions/yarn-playwright-install/action.ymlindex de1a8c00f41..7d444283c1f 100644--- a/.github/actions/yarn-playwright-install/action.yml+++ b/.github/actions/yarn-playwright-install/action.yml@@ -9,7 +9,7 @@ runs:run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package.json').devDependencies['@playwright/test'])")" >> $GITHUB_ENV- name: Cache playwright binariesid: playwright-cache- uses: buildjet/cache@v4+ uses: actions/cache@v4with:path: |~/Library/Caches/ms-playwrightdiff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.ymlindex d7ca2ce7a08..7fbcb4197c6 100644--- a/.github/workflows/all-checks.yml+++ b/.github/workflows/all-checks.yml@@ -82,7 +82,7 @@ jobs:required:needs: [lint, type-check, unit-test, api-v2-unit-test, integration-test, build, build-api-v1, build-api-v2, e2e, e2e-embed, e2e-embed-react, e2e-app-store]if: always()- runs-on: buildjet-2vcpu-ubuntu-2204+ runs-on: blacksmith-2vcpu-ubuntu-2404steps:- name: fail if conditional jobs failedif: contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')diff --git a/.github/workflows/api-v1-production-build.yml b/.github/workflows/api-v1-production-build.ymlindex 00b96bbf696..d3a35bc8f43 100644--- a/.github/workflows/api-v1-production-build.yml+++ b/.github/workflows/api-v1-production-build.yml@@ -43,7 +43,7 @@ env:jobs:build:name: Build API v1- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30services:postgres:@@ -68,7 +68,7 @@ jobs:- uses: ./.github/actions/yarn-install- uses: ./.github/actions/cache-db- name: Cache API v1 production build- uses: buildjet/cache@v4+ uses: actions/cache@v4id: cache-api-v1-buildenv:cache-name: api-v1-builddiff --git a/.github/workflows/api-v2-production-build.yml b/.github/workflows/api-v2-production-build.ymlindex 8bdb3ec2449..a4336b19cb2 100644--- a/.github/workflows/api-v2-production-build.yml+++ b/.github/workflows/api-v2-production-build.yml@@ -12,7 +12,7 @@ jobs:name: Build API v2permissions:contents: read- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30services:postgres:@@ -36,7 +36,7 @@ jobs:- uses: ./.github/actions/dangerous-git-checkout- uses: ./.github/actions/yarn-install- name: Cache API v2 production build- uses: buildjet/cache@v4+ uses: actions/cache@v4id: cache-api-v2-buildenv:cache-name: api-v2-builddiff --git a/.github/workflows/api-v2-unit-tests.yml b/.github/workflows/api-v2-unit-tests.ymlindex e1b01077fbd..20d599ccd83 100644--- a/.github/workflows/api-v2-unit-tests.yml+++ b/.github/workflows/api-v2-unit-tests.yml@@ -9,7 +9,7 @@ jobs:test:name: API v2 Unittimeout-minutes: 20- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- uses: actions/checkout@v4- uses: ./.github/actions/dangerous-git-checkoutdiff --git a/.github/workflows/atoms-production-build.yml b/.github/workflows/atoms-production-build.ymlindex fd555400a82..6094722d764 100644--- a/.github/workflows/atoms-production-build.yml+++ b/.github/workflows/atoms-production-build.yml@@ -8,14 +8,14 @@ jobs:name: Build Atomspermissions:contents: read- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30steps:- uses: actions/checkout@v4- uses: ./.github/actions/dangerous-git-checkout- uses: ./.github/actions/yarn-install- name: Cache atoms production build- uses: buildjet/cache@v4+ uses: actions/cache@v4id: cache-atoms-buildenv:cache-name: atoms-builddiff --git a/.github/workflows/cache-clean.yml b/.github/workflows/cache-clean.ymlindex 3b0f51ed1fb..121c5b935ea 100644--- a/.github/workflows/cache-clean.yml+++ b/.github/workflows/cache-clean.yml@@ -6,7 +6,7 @@ on:jobs:cleanup:- runs-on: buildjet-2vcpu-ubuntu-2204+ runs-on: blacksmith-2vcpu-ubuntu-2404steps:- name: Check out codeuses: actions/checkout@v4diff --git a/.github/workflows/check-api-v2-breaking-changes.yml b/.github/workflows/check-api-v2-breaking-changes.ymlindex 982ad80c237..47c9054a1c5 100644--- a/.github/workflows/check-api-v2-breaking-changes.yml+++ b/.github/workflows/check-api-v2-breaking-changes.yml@@ -27,7 +27,7 @@ jobs:check-api-v2-breaking-changes:name: Check API v2 breaking changestimeout-minutes: 10- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- uses: docker/login-action@v3with:diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.ymlindex 1ef1315a75f..f640b75d963 100644--- a/.github/workflows/check-types.yml+++ b/.github/workflows/check-types.yml@@ -9,7 +9,7 @@ permissions:contents: readjobs:check-types:- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- uses: actions/checkout@v4- uses: ./.github/actions/dangerous-git-checkoutdiff --git a/.github/workflows/companion-build.yml b/.github/workflows/companion-build.ymlindex da6913a1a32..12985b43eb2 100644--- a/.github/workflows/companion-build.yml+++ b/.github/workflows/companion-build.yml@@ -12,7 +12,7 @@ env:jobs:build:name: Build Companion App & Extension- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30steps:diff --git a/.github/workflows/delete-buildjet-cache.yml b/.github/workflows/delete-blacksmith-cache.ymlsimilarity index 51%rename from .github/workflows/delete-buildjet-cache.ymlrename to .github/workflows/delete-blacksmith-cache.ymlindex d63487afcbb..aad432deb0b 100644--- a/.github/workflows/delete-buildjet-cache.yml+++ b/.github/workflows/delete-blacksmith-cache.yml@@ -1,17 +1,17 @@-name: Manually Delete BuildJet Cache+name: Manually Delete Blacksmith Cacheon:workflow_dispatch:inputs:cache_key:- description: "BuildJet Cache Key to Delete"+ description: "Blacksmith Cache Key to Delete"required: truetype: stringjobs:- manually-delete-buildjet-cache:- runs-on: buildjet-2vcpu-ubuntu-2204+ manually-delete-blacksmith-cache:+ runs-on: blacksmith-2vcpu-ubuntu-2404steps:- name: Checkoutuses: actions/checkout@v4- - uses: buildjet/cache-delete@v1+ - uses: useblacksmith/cache-delete@v1with:cache_key: ${{ inputs.cache_key }}diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.ymlindex 729429a078f..abecee2f75d 100644--- a/.github/workflows/docs-build.yml+++ b/.github/workflows/docs-build.yml@@ -9,12 +9,12 @@ jobs:name: Build Docspermissions:contents: read- runs-on: buildjet-2vcpu-ubuntu-2204+ runs-on: blacksmith-2vcpu-ubuntu-2404steps:- uses: actions/checkout@v4- uses: ./.github/actions/dangerous-git-checkout- name: Cache Docs build- uses: buildjet/cache@v4+ uses: actions/cache@v4id: cache-docs-buildenv:cache-name: docs-builddiff --git a/.github/workflows/e2e-api-v2.yml b/.github/workflows/e2e-api-v2.ymlindex 93c48ced246..3e862901b3d 100644--- a/.github/workflows/e2e-api-v2.yml+++ b/.github/workflows/e2e-api-v2.yml@@ -31,7 +31,7 @@ jobs:e2e:timeout-minutes: 20name: E2E API v2 (${{ matrix.shard }}/${{ strategy.job-total }})- runs-on: buildjet-16vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404services:postgres:image: postgres:13diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.ymlindex a74e61b595c..01952477b34 100644--- a/.github/workflows/e2e-app-store.yml+++ b/.github/workflows/e2e-app-store.yml@@ -45,7 +45,7 @@ jobs:e2e-app-store:timeout-minutes: 20name: E2E App Store- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404services:postgres:image: postgres:13@@ -93,7 +93,7 @@ jobs:E2E_TEST_CALCOM_GCAL_KEYS: ${{ secrets.E2E_TEST_CALCOM_GCAL_KEYS }}- uses: ./.github/actions/cache-build- name: Run Tests- run: yarn e2e:app-store+ run: yarn e2e:app-store --workers=4- name: Upload Test Resultsif: ${{ always() }}uses: actions/upload-artifact@v4diff --git a/.github/workflows/e2e-atoms.yml b/.github/workflows/e2e-atoms.ymlindex f6b347dbaa3..38b4bbe289a 100644--- a/.github/workflows/e2e-atoms.yml+++ b/.github/workflows/e2e-atoms.yml@@ -22,7 +22,7 @@ jobs:e2e-atoms:timeout-minutes: 15name: E2E Atoms- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- uses: docker/login-action@v3with:diff --git a/.github/workflows/e2e-embed-react.yml b/.github/workflows/e2e-embed-react.ymlindex f0a9c5ab298..d82982fadb8 100644--- a/.github/workflows/e2e-embed-react.yml+++ b/.github/workflows/e2e-embed-react.yml@@ -45,7 +45,7 @@ jobs:e2e-embed:timeout-minutes: 20name: E2E Embed React- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404services:postgres:image: postgres:13@@ -79,7 +79,7 @@ jobs:- uses: ./.github/actions/cache-build- name: Run Testsrun: |- yarn e2e:embed-react+ yarn e2e:embed-react --workers=4yarn workspace @calcom/embed-react packaged:tests- name: Upload Test Resultsif: ${{ always() }}diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.ymlindex 57b922e6b87..170270fb113 100644--- a/.github/workflows/e2e-embed.yml+++ b/.github/workflows/e2e-embed.yml@@ -45,7 +45,7 @@ jobs:e2e-embed:timeout-minutes: 20name: E2E Embed Core- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404services:postgres:image: postgres:13@@ -86,7 +86,7 @@ jobs:- uses: ./.github/actions/cache-db- uses: ./.github/actions/cache-build- name: Run Tests- run: yarn e2e:embed+ run: yarn e2e:embed --workers=4- name: Upload Test Resultsif: ${{ always() }}uses: actions/upload-artifact@v4diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 65d098c438a..1141ad407b9 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -45,7 +45,7 @@ jobs:e2e:timeout-minutes: 20name: E2E (${{ matrix.shard }}/${{ strategy.job-total }})- runs-on: buildjet-8vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404services:postgres:image: postgres:13@@ -87,7 +87,7 @@ jobs:- uses: ./.github/actions/cache-db- uses: ./.github/actions/cache-build- name: Run Tests- run: yarn e2e --shard=${{ matrix.shard }}/${{ strategy.job-total }}+ run: yarn e2e --shard=${{ matrix.shard }}/${{ strategy.job-total }} --workers=4- name: Upload Test Resultsuses: actions/upload-artifact@v4if: always()diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.ymlindex b3118bc5b27..17254de7d8d 100644--- a/.github/workflows/i18n.yml+++ b/.github/workflows/i18n.yml@@ -10,7 +10,7 @@ concurrency:jobs:i18n:name: Run i18n- runs-on: buildjet-2vcpu-ubuntu-2204+ runs-on: blacksmith-2vcpu-ubuntu-2404permissions:actions: writecontents: writediff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.ymlindex 140d7101794..6226885a66e 100644--- a/.github/workflows/integration-tests.yml+++ b/.github/workflows/integration-tests.yml@@ -45,7 +45,7 @@ jobs:integration:timeout-minutes: 20name: Integration- runs-on: buildjet-8vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404services:postgres:image: postgres:13diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 1ddaccfc2f1..e9b285a8ac7 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -6,7 +6,7 @@ permissions:contents: readjobs:lint:- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- uses: actions/checkout@v4diff --git a/.github/workflows/nextjs-bundle-analysis-annotation.yml b/.github/workflows/nextjs-bundle-analysis-annotation.ymlindex 55936044325..fa686e10c70 100644--- a/.github/workflows/nextjs-bundle-analysis-annotation.yml+++ b/.github/workflows/nextjs-bundle-analysis-annotation.yml@@ -12,7 +12,7 @@ permissions:jobs:annotate:if: always()- runs-on: buildjet-2vcpu-ubuntu-2204+ runs-on: blacksmith-2vcpu-ubuntu-2404steps:- uses: actions/checkout@v4- uses: ./.github/actions/yarn-installdiff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.ymlindex 9b2b2501b3f..4994356517b 100644--- a/.github/workflows/nextjs-bundle-analysis.yml+++ b/.github/workflows/nextjs-bundle-analysis.yml@@ -49,7 +49,7 @@ env:jobs:analyze:if: always()- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30steps:- uses: actions/checkout@v4diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.ymlindex 03bda287f0c..35d9bf182fe 100644--- a/.github/workflows/pr.yml+++ b/.github/workflows/pr.yml@@ -20,7 +20,7 @@ concurrency:jobs:prepare:name: Prepare- runs-on: buildjet-2vcpu-ubuntu-2204+ runs-on: blacksmith-2vcpu-ubuntu-2404permissions:pull-requests: readoutputs:@@ -277,7 +277,7 @@ jobs:e2e-app-store,]if: always()- runs-on: buildjet-2vcpu-ubuntu-2204+ runs-on: blacksmith-2vcpu-ubuntu-2404steps:- name: fail if conditional jobs failedrun: exit 1diff --git a/.github/workflows/production-build-without-database.yml b/.github/workflows/production-build-without-database.ymlindex 0e06eac26ea..c27f0298d2c 100644--- a/.github/workflows/production-build-without-database.yml+++ b/.github/workflows/production-build-without-database.yml@@ -38,7 +38,7 @@ env:jobs:build:name: Build Web App- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30steps:- uses: actions/checkout@v4diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yamlindex d695355d5ce..dbc172deeab 100644--- a/.github/workflows/release-docker.yaml+++ b/.github/workflows/release-docker.yaml@@ -19,7 +19,7 @@ on:jobs:release-amd64:name: "Release AMD64"- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: checkoutuses: actions/checkout@v4diff --git a/.github/workflows/setup-db.yml b/.github/workflows/setup-db.ymlindex 53a29936eee..468dbbabbd7 100644--- a/.github/workflows/setup-db.yml+++ b/.github/workflows/setup-db.yml@@ -26,7 +26,7 @@ env:jobs:setup-db:name: Setup Database- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15services:postgres:diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.ymlindex aa5cbb0e546..4d78faf507d 100644--- a/.github/workflows/unit-tests.yml+++ b/.github/workflows/unit-tests.yml@@ -9,7 +9,7 @@ jobs:test:name: Unittimeout-minutes: 20- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- uses: actions/checkout@v4- uses: ./.github/actions/dangerous-git-checkoutdiff --git a/.github/workflows/yarn-install.yml b/.github/workflows/yarn-install.ymlindex 6909eb95f23..80bd0fe5da5 100644--- a/.github/workflows/yarn-install.yml+++ b/.github/workflows/yarn-install.yml@@ -9,7 +9,7 @@ permissions:jobs:setup:name: Yarn install & cache- runs-on: buildjet-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 10steps:- uses: actions/checkout@v4diff --git a/apps/web/playwright/icons.e2e.ts b/apps/web/playwright/icons.e2e.tsindex f5c460f17da..15575c18208 100644--- a/apps/web/playwright/icons.e2e.ts+++ b/apps/web/playwright/icons.e2e.ts@@ -2,15 +2,19 @@ import { expect } from "@playwright/test";import { test } from "./lib/fixtures";-// Set a consistent viewport size across all environments+// Set a consistent viewport size and device scale factor across all environments+// to reduce screenshot flakiness due to rendering differences between CI runnerstest.use({viewport: { width: 1265, height: 1464 }, // Match the expected dimensions+ deviceScaleFactor: 1, // Ensure consistent rendering across different environments});test("Icons render properly", async ({ page }) => {await page.goto("/icons");await expect(page).toHaveScreenshot("icons.png", {- maxDiffPixelRatio: 0.05,+ // Increased threshold slightly (from 0.05 to 0.07) to account for minor+ // rendering differences between CI runners (e.g., font antialiasing)+ maxDiffPixelRatio: 0.07,fullPage: true,});});diff --git a/packages/features/ee/managed-event-types/reassignment/managedEventManualReassignment.integration-test.ts b/packages/features/ee/managed-event-types/reassignment/managedEventManualReassignment.integration-test.tsindex 69b8480c7f6..abc9ad518f1 100644--- a/packages/features/ee/managed-event-types/reassignment/managedEventManualReassignment.integration-test.ts+++ b/packages/features/ee/managed-event-types/reassignment/managedEventManualReassignment.integration-test.ts@@ -131,22 +131,31 @@ beforeAll(async () => {});afterEach(async () => {- // Clean up bookings- if (bookingIds.length > 0) {- await prisma.bookingReference.deleteMany({- where: { bookingId: { in: bookingIds } },- });- await prisma.attendee.deleteMany({- where: { bookingId: { in: bookingIds } },- });- await prisma.assignmentReason.deleteMany({- where: { bookingId: { in: bookingIds } },- });- await prisma.booking.deleteMany({- where: { id: { in: bookingIds } },+ // Clean up ALL bookings associated with test event types (including those created by reassignment)+ // This is more robust than tracking bookingIds since it catches indirectly created bookings+ if (eventTypeIds.length > 0) {+ const allBookings = await prisma.booking.findMany({+ where: { eventTypeId: { in: eventTypeIds } },+ select: { id: true },});- bookingIds.splice(0, bookingIds.length);+ const allBookingIds = allBookings.map((b) => b.id);++ if (allBookingIds.length > 0) {+ await prisma.bookingReference.deleteMany({+ where: { bookingId: { in: allBookingIds } },+ });+ await prisma.attendee.deleteMany({+ where: { bookingId: { in: allBookingIds } },+ });+ await prisma.assignmentReason.deleteMany({+ where: { bookingId: { in: allBookingIds } },+ });+ await prisma.booking.deleteMany({+ where: { id: { in: allBookingIds } },+ });+ }}+ bookingIds.splice(0, bookingIds.length);// Clean up event typesif (eventTypeIds.length > 0) {@@ -255,12 +264,6 @@ describe("managedEventManualReassignment - Integration Tests", () => {it("should record assignment reason for manual reassignment", async () => {const managedEventManualReassignment = (await import("./managedEventManualReassignment")).default;- await prisma.booking.deleteMany({- where: {- idempotencyKey: { startsWith: "test-idempotency-" },- },- });-const originalUser = await createTestUser({email: "[email protected]",name: "Original User 2",@@ -330,12 +333,6 @@ describe("managedEventManualReassignment - Integration Tests", () => {it("should preserve booking details (attendees, time) during reassignment", async () => {const managedEventManualReassignment = (await import("./managedEventManualReassignment")).default;- await prisma.booking.deleteMany({- where: {- idempotencyKey: { startsWith: "test-idempotency-" },- },- });-const originalUser = await createTestUser({email: "[email protected]",name: "Original User 3",