GeezerVison is showing github.com — fix(clients): chat images show the new file after an agent rewrites it by ishaanko · Pull Request #14943 · pingdotgg/t3code
fix(clients): chat images show the new file after an agent rewrites it
#14943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Check failure
on line 1776
in apps/mobile/src/features/threads/ThreadFeed.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > preserves a pending file lookup on assistant attachment video continued playback
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderFeedEntry src/features/threads/ThreadFeed.tsx:1776:14
❯ Object.t68 [as renderItem] src/features/threads/ThreadFeed.tsx:3092:12
❯ src/lib/filePreview.test.ts:205:52
❯ KeyboardAwareLegendList src/lib/filePreview.test.ts:204:16
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
Check failure
on line 1776
in apps/mobile/src/features/threads/ThreadFeed.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > cancels a pending file lookup on assistant attachment video native resume
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderFeedEntry src/features/threads/ThreadFeed.tsx:1776:14
❯ Object.t68 [as renderItem] src/features/threads/ThreadFeed.tsx:3092:12
❯ src/lib/filePreview.test.ts:205:52
❯ KeyboardAwareLegendList src/lib/filePreview.test.ts:204:16
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
Check failure
on line 1776
in apps/mobile/src/features/threads/ThreadFeed.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > cancels a pending file lookup on assistant attachment video initial play
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderFeedEntry src/features/threads/ThreadFeed.tsx:1776:14
❯ Object.t68 [as renderItem] src/features/threads/ThreadFeed.tsx:3092:12
❯ src/lib/filePreview.test.ts:205:52
❯ KeyboardAwareLegendList src/lib/filePreview.test.ts:204:16
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
Check failure
on line 1776
in apps/mobile/src/features/threads/ThreadFeed.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > cancels a pending file lookup on assistant attachment audio initial play
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderFeedEntry src/features/threads/ThreadFeed.tsx:1776:14
❯ Object.t68 [as renderItem] src/features/threads/ThreadFeed.tsx:3092:12
❯ src/lib/filePreview.test.ts:205:52
❯ KeyboardAwareLegendList src/lib/filePreview.test.ts:204:16
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
Check failure
on line 43
in apps/mobile/src/features/threads/ThreadMarkdownVideo.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > preserves a pending file lookup on user markdown video continued playback
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ThreadMarkdownVideo src/features/threads/ThreadMarkdownVideo.tsx:43:76
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:12205:18
❯ runWithFiberInDEV ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:1048:13
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19176:22
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19004:41
Check failure
on line 43
in apps/mobile/src/features/threads/ThreadMarkdownVideo.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > cancels a pending file lookup on user markdown video native resume
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ThreadMarkdownVideo src/features/threads/ThreadMarkdownVideo.tsx:43:76
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:12205:18
❯ runWithFiberInDEV ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:1048:13
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19176:22
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19004:41
Check failure
on line 43
in apps/mobile/src/features/threads/ThreadMarkdownVideo.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > cancels a pending file lookup on user markdown video initial play
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ThreadMarkdownVideo src/features/threads/ThreadMarkdownVideo.tsx:43:76
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:12205:18
❯ runWithFiberInDEV ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:1048:13
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19176:22
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19004:41
Check failure
on line 43
in apps/mobile/src/features/threads/ThreadMarkdownVideo.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > preserves a pending file lookup on user attachment video continued playback
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ThreadMarkdownVideo src/features/threads/ThreadMarkdownVideo.tsx:43:76
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:12205:18
❯ runWithFiberInDEV ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:1048:13
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19176:22
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19004:41
Check failure
on line 43
in apps/mobile/src/features/threads/ThreadMarkdownVideo.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > cancels a pending file lookup on user attachment video native resume
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ThreadMarkdownVideo src/features/threads/ThreadMarkdownVideo.tsx:43:76
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:12205:18
❯ runWithFiberInDEV ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:1048:13
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19176:22
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19004:41
Check failure
on line 43
in apps/mobile/src/features/threads/ThreadMarkdownVideo.tsx
View workflow job for this annotation
GitHub Actions/ Test
[react] src/lib/filePreview.test.ts > ThreadInlineFilePreview playback > cancels a pending file lookup on user attachment video initial play
Error: [vitest] No "MarkdownImageAssetScopeContext" export is defined on the "../features/threads/ThreadMarkdownImage" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../features/threads/ThreadMarkdownImage"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ThreadMarkdownVideo src/features/threads/ThreadMarkdownVideo.tsx:43:76
❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:28571:20
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8030:22
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:10569:19
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:12205:18
❯ runWithFiberInDEV ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:1048:13
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19176:22
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:19004:41
: undefined
}
name={source.name}
Expand All
@@ -42,7 +49,11 @@
visible={visible}
onPlaybackStart={props.onPlaybackStart}
unavailable={"resource" in source && asset._tag === "Failure"}
actionsSource={source.actionsSource}
actionsSource={
source.actionsSource && "resource" in source.actionsSource
@@ -14,5 +14,6 @@ export type MediaActionsSource = {
readonly environmentId: EnvironmentId;
readonly threadId?: ThreadId;
readonly resource: AssetResource;
readonly scope?: string | undefined;
}
);
Loading
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Loading
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.