From b0b67e4ce50f60fda5f4d6ce5db8695cb06915ba Mon Sep 17 00:00:00 2001 From: Dylan Staley <88163+dstaley@users.noreply.github.com> Date: Fri, 7 Aug 2026 16:44:23 -0500 Subject: [PATCH] tests(repo): load more resources to delete --- .changeset/clever-lions-work.md | 2 ++ .github/workflows/e2e-cleanups.yml | 4 ++-- integration/cleanup/cleanup.setup.ts | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .changeset/clever-lions-work.md diff --git a/.changeset/clever-lions-work.md b/.changeset/clever-lions-work.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/clever-lions-work.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/e2e-cleanups.yml b/.github/workflows/e2e-cleanups.yml index 37bb41e184b..729c22d9334 100644 --- a/.github/workflows/e2e-cleanups.yml +++ b/.github/workflows/e2e-cleanups.yml @@ -2,8 +2,8 @@ name: Cleanup e2e instances on: workflow_dispatch: schedule: - # run every 6 hours on every weekday - - cron: '0 */6 * * 1-5' + # run every 2 hours on every weekday + - cron: '0 */2 * * 1-5' permissions: contents: read diff --git a/integration/cleanup/cleanup.setup.ts b/integration/cleanup/cleanup.setup.ts index cc2ca3a3a42..5bd5a194265 100644 --- a/integration/cleanup/cleanup.setup.ts +++ b/integration/cleanup/cleanup.setup.ts @@ -51,13 +51,13 @@ setup('cleanup instances ', async () => { const { data: usersWithEmail } = await clerkClient.users.getUserList({ orderBy: '-created_at', query: 'clerkcookie', - limit: 150, + limit: 500, }); const { data: usersWithPhoneNumber } = await clerkClient.users.getUserList({ orderBy: '-created_at', query: '55501', - limit: 150, + limit: 500, }); // Deduplicate users by ID @@ -76,7 +76,7 @@ setup('cleanup instances ', async () => { let orgs: any[] = []; try { const { data: orgsData } = await clerkClient.organizations.getOrganizationList({ - limit: 150, + limit: 500, }); orgs = orgsData; } catch (error) {