Skip to content

Refactor StatefulAuthProvider for static initialization and improved session management #6662

Refactor StatefulAuthProvider for static initialization and improved session management

Refactor StatefulAuthProvider for static initialization and improved session management #6662

Triggered via pull request November 26, 2024 22:53
Status Failure
Total duration 7m 35s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/messages/platformApiRequest/saveCellExecution.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/messages/platformApiRequest/saveCellExecution.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/github.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/github.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/github.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/github.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/github.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/github.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/github.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/github.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/extension.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/extension.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/provider/annotations.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/provider/annotations.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/provider/sessionOutputs.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/provider/sessionOutputs.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/provider/notebook.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/provider/notebook.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/extension/authSessionChangeHandler.ts#L70
Error: AuthSessionChangeHandler is not initialized. ❯ AuthSessionChangeHandler.addListener src/extension/authSessionChangeHandler.ts:70:13 ❯ Observable._subscribe src/extension/signedIn.ts:34:41 ❯ Observable._trySubscribe node_modules/rxjs/src/internal/Observable.ts:244:19 ❯ node_modules/rxjs/src/internal/Observable.ts:234:18 ❯ Object.errorContext node_modules/rxjs/src/internal/util/errorContext.ts:29:5 ❯ Observable.subscribe node_modules/rxjs/src/internal/Observable.ts:220:5 ❯ _loop_1 node_modules/rxjs/src/internal/operators/withLatestFrom.ts:77:28 ❯ node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js:52:13 ❯ OperatorSubscriber.<anonymous> node_modules/rxjs/src/internal/util/lift.ts:24:18 ❯ node_modules/rxjs/src/internal/Observable.ts:226:22 This error originated in "tests/extension/messages/cellOutput.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/extension/messages/cellOutput.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
build (ubuntu-latest)
No files were found with the provided path: tests/e2e/screenshots tests/e2e/logs. No artifacts will be uploaded.