wip(checkpoints): API handler, typeguards, saving restore results to … #2248
Annotations
21 errors and 1 warning
build (lts/*):
src/__tests__/PinMessages.test.tsx#L63
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (lts/*):
src/__tests__/RestoreChat.test.tsx#L42
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (lts/*):
src/features/Chat/Thread/actions.ts#L156
Type 'ChatMessage | { role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (lts/*):
src/features/Chat/Thread/actions.ts#L157
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (lts/*):
src/features/Chat/Thread/utils.test.ts#L14
Type '{ id: string; content: string; role: "user"; }' is not assignable to type 'UserMessageResponse'.
|
build (lts/*):
src/features/Chat/Thread/utils.test.ts#L21
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (lts/*):
src/features/Chat/Thread/utils.test.ts#L61
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (lts/*):
src/features/Chat/Thread/utils.test.ts#L92
Property 'checkpoints' is missing in type '{ role: "user"; content: string; }' but required in type 'UserMessage'.
|
build (lts/*):
src/features/Chat/Thread/utils.test.ts#L99
Property 'checkpoints' is missing in type '{ role: "user"; content: string; }' but required in type 'UserMessage'.
|
build (lts/*):
src/features/Checkpoints/checkpointsSlice.ts#L10
Type '{ checkpoints_for_undo: never[]; reverted_changes: never[]; }' is missing the following properties from type 'RestoreCheckpointsResponse': reverted_to, error_log
|
build (latest)
The job was canceled because "lts__" failed.
|
build (latest):
src/__tests__/PinMessages.test.tsx#L63
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (latest):
src/__tests__/RestoreChat.test.tsx#L42
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (latest):
src/features/Chat/Thread/actions.ts#L156
Type 'ChatMessage | { role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (latest):
src/features/Chat/Thread/actions.ts#L157
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (latest):
src/features/Chat/Thread/utils.test.ts#L14
Type '{ id: string; content: string; role: "user"; }' is not assignable to type 'UserMessageResponse'.
|
build (latest):
src/features/Chat/Thread/utils.test.ts#L21
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (latest):
src/features/Chat/Thread/utils.test.ts#L61
Type '{ role: "user"; content: string; }' is not assignable to type 'ChatMessage'.
|
build (latest):
src/features/Chat/Thread/utils.test.ts#L92
Property 'checkpoints' is missing in type '{ role: "user"; content: string; }' but required in type 'UserMessage'.
|
build (latest):
src/features/Chat/Thread/utils.test.ts#L99
Property 'checkpoints' is missing in type '{ role: "user"; content: string; }' but required in type 'UserMessage'.
|
build (latest):
src/features/Checkpoints/checkpointsSlice.ts#L10
Type '{ checkpoints_for_undo: never[]; reverted_changes: never[]; }' is missing the following properties from type 'RestoreCheckpointsResponse': reverted_to, error_log
|
build (lts/*)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|