GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): a restart no longer resends imported history to a session that already has it by Carter4242 · Pull Request #15495 · pingdotgg/t3code

fix(server): a restart no longer resends imported history to a session that already has it #15495

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.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Carter4242 wants to merge 7 commits into pingdotgg:main from Carter4242:fix/imported-history-reissue

Uh oh!

There was an error while loading. Please reload this page.

Closed

fix(server): a restart no longer resends imported history to a session that already has it #15495

Changes from 1 commit
Commits
Show all changes
7 commits
Select commit Hold shift + click to select a range
5e6a771
fix(server): a restart no longer resends imported history to a sessio…
Carter4242 Oct 4, 2026
95168ee
test(server): keep the four isLegacyImportCovered cases that matter
Carter4242 Oct 4, 2026
38f5d94
Merge remote-tracking branch 'origin/main' into fix/imported-history-…
juliusmarminge Oct 19, 2026
7f0b46a
test(server): verify imported history across stop and recovery
juliusmarminge Oct 19, 2026
b98c2f8
refactor(server): simplify imported history handoff coverage
juliusmarminge Oct 19, 2026
526243f
refactor(server): rely on recorded legacy history delivery
juliusmarminge Oct 19, 2026
a5b9db2
Merge remote-tracking branch 'origin/main' into fix/imported-history-…
Carter4242 Nov 3, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
test(server): keep the four isLegacyImportCovered cases that matter
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@Carter4242
Carter4242 committed Oct 11, 2026
commit 95168ee805bddd78d1763f7b19015a785435b53d

There are no files selected for viewing

48 changes: 2 additions & 46 deletions 48 apps/server/src/orchestration-v2/Orchestrator.migration.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ it("does not reissue imported context into a native thread that already has it",
createdAt: now,
updatedAt: now,
};
const delivered = (nativeThreadId: string, status: "pending" | "injected" | "inline") => ({
const delivered = (nativeThreadId: string, status: "injected") => ({
...legacy,
delivery: { nativeThreadId, status, itemIds: [] },
});
Expand All @@ -165,42 +165,14 @@ it("does not reissue imported context into a native thread that already has it",
runs: cancelled,
}),
);
assert.isTrue(
isLegacyImportCovered({
providerThread,
contextHandoffs: [delivered("native:codex", "inline")],
runs: cancelled,
}),
);
// A replaced native thread, an uncertain delivery, or another provider thread still needs it.
// A replaced native thread still needs it.
assert.isFalse(
isLegacyImportCovered({
providerThread,
contextHandoffs: [delivered("native:old", "injected")],
runs: cancelled,
}),
);
assert.isFalse(
isLegacyImportCovered({
providerThread,
contextHandoffs: [delivered("native:codex", "pending")],
runs: cancelled,
}),
);
assert.isFalse(
isLegacyImportCovered({
providerThread: { ...providerThread, id: ProviderThreadId.make("provider-thread:other") },
contextHandoffs: [delivered("native:codex", "injected")],
runs: cancelled,
}),
);
assert.isFalse(
isLegacyImportCovered({
providerThread: undefined,
contextHandoffs: [legacy],
runs: cancelled,
}),
);
// Undelivered: turn start redelivers it after a failed run, not after a cancelled one.
assert.isTrue(
isLegacyImportCovered({
Expand All @@ -212,20 +184,4 @@ it("does not reissue imported context into a native thread that already has it",
assert.isFalse(
isLegacyImportCovered({ providerThread, contextHandoffs: [legacy], runs: cancelled }),
);
// Provider-switch summaries are not the imported history.
assert.isFalse(
isLegacyImportCovered({
providerThread,
contextHandoffs: [
{
...delivered("native:codex", "injected"),
id: ContextHandoffId.make(
"context-handoff:thread:t:from-provider-instance:claudeAgent:to-provider-instance:codex:2",
),
strategy: "full_thread_summary",
},
],
runs: cancelled,
}),
);
});
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.