Skip to content

feat: social account linking #322

feat: social account linking

feat: social account linking #322

Triggered via pull request March 19, 2026 00:13
Status Failure
Total duration 53s
Artifacts

test.yml

on: pull_request
api-main-test
50s
api-main-test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
api-main-test
Process completed with exit code 1.
tests/github-provider.test.ts > verifyGitHubGist > throws when GitHub API returns non-200: packages/api-main/tests/github-provider.test.ts#L130
AssertionError: expected [Function] to throw error including 'GitHub API returned 404' but got 'GITHUB_BEARER_TOKEN environment varia…' Expected: "GitHub API returned 404" Received: "GITHUB_BEARER_TOKEN environment variable is not set" ❯ tests/github-provider.test.ts:130:5
tests/github-provider.test.ts > verifyGitHubGist > fetches raw_url when dither.md content is truncated: packages/api-main/tests/github-provider.test.ts#L107
AssertionError: promise rejected "Error: GITHUB_BEARER_TOKEN environment va…" instead of resolving ❯ tests/github-provider.test.ts:107:63 Caused by: Caused by: Error: GITHUB_BEARER_TOKEN environment variable is not set ❯ buildGitHubHeaders src/social/providers/github.ts:94:11 ❯ fetchGist src/social/providers/github.ts:54:14 ❯ verifyGitHubGist src/social/providers/github.ts:36:22 ❯ tests/github-provider.test.ts:107:18
tests/github-provider.test.ts > verifyGitHubGist > returns false when dither.md is missing: packages/api-main/tests/github-provider.test.ts#L87
AssertionError: promise rejected "Error: GITHUB_BEARER_TOKEN environment va…" instead of resolving ❯ tests/github-provider.test.ts:87:63 Caused by: Caused by: Error: GITHUB_BEARER_TOKEN environment variable is not set ❯ buildGitHubHeaders src/social/providers/github.ts:94:11 ❯ fetchGist src/social/providers/github.ts:54:14 ❯ verifyGitHubGist src/social/providers/github.ts:36:22 ❯ tests/github-provider.test.ts:87:18
tests/github-provider.test.ts > verifyGitHubGist > returns false when gist owner does not match claimed username: packages/api-main/tests/github-provider.test.ts#L72
AssertionError: promise rejected "Error: GITHUB_BEARER_TOKEN environment va…" instead of resolving ❯ tests/github-provider.test.ts:72:63 Caused by: Caused by: Error: GITHUB_BEARER_TOKEN environment variable is not set ❯ buildGitHubHeaders src/social/providers/github.ts:94:11 ❯ fetchGist src/social/providers/github.ts:54:14 ❯ verifyGitHubGist src/social/providers/github.ts:36:22 ❯ tests/github-provider.test.ts:72:18
tests/github-provider.test.ts > verifyGitHubGist > verifies when owner matches and dither.md contains proof code: packages/api-main/tests/github-provider.test.ts#L46
AssertionError: promise rejected "Error: GITHUB_BEARER_TOKEN environment va…" instead of resolving ❯ tests/github-provider.test.ts:46:63 Caused by: Caused by: Error: GITHUB_BEARER_TOKEN environment variable is not set ❯ buildGitHubHeaders src/social/providers/github.ts:94:11 ❯ fetchGist src/social/providers/github.ts:54:14 ❯ verifyGitHubGist src/social/providers/github.ts:36:22 ❯ tests/github-provider.test.ts:46:18
api-main-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/