fix(coding): reconcile snapshot after abort
This commit is contained in:
@@ -219,6 +219,7 @@ describe('PI-130 feature-complete Coding UI', () => {
|
||||
conversation={null}
|
||||
snapshot={null}
|
||||
onRename={vi.fn(async () => undefined)}
|
||||
onAbort={vi.fn(async () => undefined)}
|
||||
onRecover={vi.fn(async () => undefined)}
|
||||
/>
|
||||
</>,
|
||||
@@ -367,6 +368,7 @@ describe('PI-130 feature-complete Coding UI', () => {
|
||||
interactionApi.thinking.mockResolvedValue({ model: null, modelResolution: 'required' });
|
||||
const callbacks = {
|
||||
rename: vi.fn(async () => undefined),
|
||||
abort: vi.fn(async () => undefined),
|
||||
refresh: vi.fn(async () => undefined),
|
||||
recover: vi.fn(async () => undefined),
|
||||
};
|
||||
@@ -410,6 +412,7 @@ describe('PI-130 feature-complete Coding UI', () => {
|
||||
conversation={conversation}
|
||||
snapshot={snapshot}
|
||||
onRename={callbacks.rename}
|
||||
onAbort={callbacks.abort}
|
||||
onRecover={callbacks.recover}
|
||||
/>
|
||||
<CodingComposer
|
||||
@@ -635,6 +638,7 @@ describe('PI-130 feature-complete Coding UI', () => {
|
||||
conversation={conversation}
|
||||
snapshot={snapshot}
|
||||
onRename={vi.fn(async () => undefined)}
|
||||
onAbort={async () => interactionApi.abort('conversation-uncertain')}
|
||||
onRecover={recover}
|
||||
/>
|
||||
<CodingComposerRuntimeControls
|
||||
|
||||
Reference in New Issue
Block a user