Skip to content

Adapt code to pull token from customer backend generated custom cookies #1808

Adapt code to pull token from customer backend generated custom cookies

Adapt code to pull token from customer backend generated custom cookies #1808

Triggered via pull request December 19, 2024 15:10
Status Failure
Total duration 6m 25s
Artifacts 1

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 9 warnings
TypeError: request.cookies.get is not a function. (In 'request.cookies.get(cookieName)': packages/gitbook/src/lib/visitor-token.ts#L130
at getVisitorCustomTokenFromCookies (/home/runner/work/gitbook/gitbook/packages/gitbook/src/lib/visitor-token.ts:130:49) at /home/runner/work/gitbook/gitbook/packages/gitbook/src/lib/visitor-token.test.ts:60:16
Test
gitbook#unit: command (/home/runner/work/gitbook/gitbook/packages/gitbook) /home/runner/.bun/bin/bun run unit exited (1)
Test
Process completed with exit code 1.
Format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (Open Source)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deploy to Cloudflare Pages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deploy to Cloudflare Pages
No files were found with the provided path: .vercel/. No artifacts will be uploaded.
PageSpeed Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Visual Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
playwright-test-results Expired
71.3 MB