Skip to content

Commit c7d1855

Browse files
mischnicztanner
andauthored
[backport] CI: use KV for test timing data (#83860)
Co-authored-by: Zack Tanner <[email protected]>
1 parent d960fd0 commit c7d1855

File tree

6 files changed

+146
-158
lines changed

6 files changed

+146
-158
lines changed

.github/workflows/build_reusable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ env:
9595
DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }}
9696
NEXT_JUNIT_TEST_REPORT: 'true'
9797
DD_ENV: 'ci'
98-
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
98+
# Vercel KV Store for test timings
99+
KV_REST_API_URL: ${{ secrets.KV_REST_API_URL }}
100+
KV_REST_API_TOKEN: ${{ secrets.KV_REST_API_TOKEN }}
99101
NEXT_TEST_JOB: 1
100102
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
101103
VERCEL_TEST_TEAM: vtest314-next-e2e-tests

.github/workflows/pull_request_stats.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ env:
1616
# we build a dev binary for use in CI so skip downloading
1717
# canary next-swc binaries in the monorepo
1818
NEXT_SKIP_NATIVE_POSTINSTALL: 1
19-
TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}
19+
# Vercel KV Store for test timings
20+
KV_REST_API_URL: ${{ secrets.KV_REST_API_URL }}
21+
KV_REST_API_TOKEN: ${{ secrets.KV_REST_API_TOKEN }}
2022
NEXT_TEST_JOB: 1
2123
NEXT_DISABLE_SWC_WASM: 1
2224

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"@typescript-eslint/eslint-plugin": "^8.36.0",
146146
"@typescript-eslint/parser": "^8.36.0",
147147
"@vercel/devlow-bench": "workspace:*",
148-
"@vercel/fetch": "6.1.1",
148+
"@vercel/kv": "3.0.0",
149149
"@vercel/og": "0.7.2",
150150
"abort-controller": "3.0.0",
151151
"alex": "9.1.0",

pnpm-lock.yaml

Lines changed: 19 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)