From 1d8a7fead6e3c246ca676d6aa9139cdfb1b40681 Mon Sep 17 00:00:00 2001 From: Tim Shamilov Date: Tue, 19 Dec 2023 17:15:38 -0500 Subject: [PATCH 1/5] final speedup --- .github/workflows/tests-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-ci.yml b/.github/workflows/tests-ci.yml index 9651fd6a4..e17f15113 100644 --- a/.github/workflows/tests-ci.yml +++ b/.github/workflows/tests-ci.yml @@ -82,9 +82,11 @@ jobs: matrix: include: - group: "A" - packages: "--workspace packages/agent --workspace packages/dids " + packages: "--workspace packages/agent" - group: "B" - packages: "--workspace packages/common --workspace packages/crypto --workspace packages/credentials --workspace packages/user-agent --workspace packages/proxy-agent --workspace packages/api --workspace packages/identity-agent" + packages: "--workspace packages/crypto --workspace packages/user-agent --workspace packages/proxy-agent --workspace packages/dids" + - group: "C" + packages: "--workspace packages/common --workspace packages/credentials --workspace packages/api --workspace packages/identity-agent" steps: - name: Checkout source uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 From 6c2dd387d4662fda0dce46f71afc58e19dc658fe Mon Sep 17 00:00:00 2001 From: Tim Shamilov Date: Tue, 19 Dec 2023 17:17:23 -0500 Subject: [PATCH 2/5] alphabetize --- .github/workflows/tests-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-ci.yml b/.github/workflows/tests-ci.yml index e17f15113..7ff506e24 100644 --- a/.github/workflows/tests-ci.yml +++ b/.github/workflows/tests-ci.yml @@ -84,9 +84,9 @@ jobs: - group: "A" packages: "--workspace packages/agent" - group: "B" - packages: "--workspace packages/crypto --workspace packages/user-agent --workspace packages/proxy-agent --workspace packages/dids" + packages: "--workspace packages/crypto --workspace packages/dids --workspace packages/proxy-agent --workspace packages/user-agent" - group: "C" - packages: "--workspace packages/common --workspace packages/credentials --workspace packages/api --workspace packages/identity-agent" + packages: "--workspace packages/api --workspace packages/common --workspace packages/credentials --workspace packages/identity-agent" steps: - name: Checkout source uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 From 0a6b11c129b707b820b60e5341eeea80f6a890f4 Mon Sep 17 00:00:00 2001 From: Tim Shamilov Date: Tue, 19 Dec 2023 17:33:10 -0500 Subject: [PATCH 3/5] rebalance --- .github/workflows/tests-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-ci.yml b/.github/workflows/tests-ci.yml index 7ff506e24..39ae8ceba 100644 --- a/.github/workflows/tests-ci.yml +++ b/.github/workflows/tests-ci.yml @@ -84,9 +84,9 @@ jobs: - group: "A" packages: "--workspace packages/agent" - group: "B" - packages: "--workspace packages/crypto --workspace packages/dids --workspace packages/proxy-agent --workspace packages/user-agent" + packages: "--workspace packages/crypto --workspace packages/dids --workspace packages/proxy-agent --workspace packages/identity-agent --workspace packages/user-agent" - group: "C" - packages: "--workspace packages/api --workspace packages/common --workspace packages/credentials --workspace packages/identity-agent" + packages: "--workspace packages/api --workspace packages/common --workspace packages/credentials" steps: - name: Checkout source uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 From 9f406dee28cc67475d32beb4b72d6a724218ea39 Mon Sep 17 00:00:00 2001 From: Tim Shamilov Date: Wed, 20 Dec 2023 00:09:21 -0500 Subject: [PATCH 4/5] fix bug in cache --- .github/workflows/tests-ci.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/tests-ci.yml b/.github/workflows/tests-ci.yml index 39ae8ceba..80956e3b8 100644 --- a/.github/workflows/tests-ci.yml +++ b/.github/workflows/tests-ci.yml @@ -110,7 +110,7 @@ jobs: - name: Restore Cached Playwright Browsers id: cache-playwright-restore - uses: actions/cache/restore@84995e0d91a927aa8da027221d329f84446b8c9b #v3.3.2 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 with: path: ~/Library/Caches/ms-playwright key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }} @@ -119,14 +119,6 @@ jobs: if: steps.cache-playwright-restore.outputs.cache-hit != 'true' run: npx playwright install --with-deps - - name: Save Playwright Cache (if no cache) - uses: actions/cache/save@e08330827dd5663b268018076572bea59a734b60 #v3.3.2 - id: cache-playwright-save - if: steps.cache-playwright-restore.outputs.cache-hit != 'true' - with: - path: ~/Library/Caches/ms-playwright - key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }} - - name: Build esm run: npm run build:esm --ws From ab19135b8062050a36a8dafbd36e18d75db18fda Mon Sep 17 00:00:00 2001 From: Tim Shamilov Date: Mon, 8 Jan 2024 15:17:03 -0500 Subject: [PATCH 5/5] revert --- .github/workflows/tests-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-ci.yml b/.github/workflows/tests-ci.yml index 58b2267d3..fd52a8539 100644 --- a/.github/workflows/tests-ci.yml +++ b/.github/workflows/tests-ci.yml @@ -109,7 +109,7 @@ jobs: - group: "B" packages: "--workspace packages/crypto --workspace packages/dids --workspace packages/proxy-agent --workspace packages/identity-agent --workspace packages/user-agent" - group: "C" - packages: "--workspace packages/api --workspace packages/common --workspace packages/credentials --workspace packages/crypto-aws-kms" + packages: "--workspace packages/api --workspace packages/common --workspace packages/credentials" steps: - name: Checkout source uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1