GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||
GeezerVison is showing github.com — fix(acp): retry missing session history from another project by StiensWout · Pull Request #44926 · pingdotgg/t3code Conversation
Contributor
Retrying an ACP import from the session’s original folder could report that the session was already imported after its original T3 project changed folders, leaving the transcript missing. The retry now uses the native session binding to find the existing thread and reads its missing history from the requesting project’s folder. The regression test verifies both the destination thread and the folder used for the retry. Related: #39575, #34043, #36358, #39576 Reproduction on mainCommit 40b0a98a20 (main). T3 says the ACP session is already imported and hides the retry until the list refreshes. The transcript stays missing. Expected: The retry restores the transcript in the existing T3 thread. The cause is at EvidenceEnvironment: Linux x64, the repository's own tests. Proven: the repro fails at the test commit ba951ecf41 and passes on the head 700f0a8baa, both on main a9b301f927.
Outside view: not shown in the running app. The app gets there by itself fails: Import skips the missing transcript only when the existing thread belongs to a different project than the one whose folder still lists the session, and a person cannot put the app in that state. No screen or project command changes a project's folder, and adding that folder again reuses the project that already owns it; the retry path is reached only by pointing the original project somewhere else through the project update API. Tests
Not in this change
Who did the work
Made in T3 Code by GPT 6.2 Sol, Claude Opus 5.5 and Grok 4.7
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCo-authored-by: GPT 6.2 Sol <[email protected]> Co-authored-by: GPT 6.2 Sol <[email protected]> Co-authored-by: GPT 6.2 Sol <[email protected]>
|
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Cross-project session history repair apps/server/src/provider/AcpRegistrySessions.ts, apps/server/src/ws.test.ts |
Cross-project imports with an existing native-session owner can proceed to history repair. The test checks that repair uses the session’s original workspace root after the owner project’s root changes. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related issues
pingdotgg/t3code#39575 — The changes cover restoring missing ACP history on a cross-project import, but do not change the behavior where a failed history read is marked complete.Suggested reviewers: juliusmarminge
700f0This change lets a retry restore missing ACP session history in an existing thread after the project's folder has changed. It reads that history from the requesting project's folder. The change is small and covered by a regression test, and no concrete problem remains that should block merging.
Explanation
The title "fix(acp): retry missing session history from another project" matches the main change: the retry path for a missing ACP session transcript now uses the native session binding and reads history from the requesting project's folder. It is specific, follows conventional commit form, and is under 72 characters.
Explanation
The description follows the template. It has Problem, Change, Scope (links related issues and explains the bug-fix scope), Verification (names the failing and passing commits, the exact test command, and the observed results), and a Who did the work section. It also covers what is out of scope. The Problem section gives expected behavior and reproduction steps. The Scope section does not explicitly name the issue that shows the bug, but it lists related issues. The description is mostly complete.
deaaa527-8f34-4673-af38-9887092f5817apps/server/src/provider/AcpRegistrySessions.tsapps/server/src/ws.test.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
EvidenceReal web app, Chromium 1280×800, light theme, fresh database per commit, real OpenCode ACP 2.4.2. Created a native conversation; imported into Project A while provider startup was deliberately unavailable; moved A from folder X to Y through the project API; created Project B at X; retried Import from B, clicked Refresh, then opened the original A thread. Captures are cropped to exclude private environment labels.
API seed driver · Real-provider launcher · Runtime observations Base provider logs contain only the original failed initialize. Head additionally initializes successfully and completes session/load; historyOrigin changes from unset to v1_import. Not shown:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…rver) Mobile (7 PRs): - pingdotgg#44387 ProMotion 120Hz scroll stutter fix ([email protected] patch) - pingdotgg#44161 iOS release status bar icons follow app theme - pingdotgg#44939 Scroll to end no longer loses next tap - pingdotgg#44937 image previews opened from composer chip stay closed - pingdotgg#44660 center working glyph in Dynamic Island - pingdotgg#44315 tapping image in html_render opens image viewer - pingdotgg#30661 share a turn's final response from system share sheet (approved orthogonal graft in ThreadFeed.tsx) Web & Desktop (17 PRs): - pingdotgg#43101, pingdotgg#30027, pingdotgg#44935, pingdotgg#44900 Markdown code block & file tree preview, large preview Select-All Range copy, rendered table copy - pingdotgg#44055, pingdotgg#44952, pingdotgg#44992 copy chat table as aligned text for chat apps (CJK & symbol width alignment) - pingdotgg#33801 Mod+Alt+E maximizes right panel even when closed (T4 Tooltip preserved) - pingdotgg#39122 snooze a thread indefinitely - pingdotgg#44023 inline CLI update button in provider status section - pingdotgg#33827 save files from preview panel to machine - pingdotgg#44930, pingdotgg#44945, pingdotgg#44916, pingdotgg#44831, pingdotgg#44975, pingdotgg#45021 folder-add/draft/queue/HTML-reload/clear UX fixes Server & Providers (18 PRs): - pingdotgg#41726 Usage limits refresh skips full provider health checks (preserving T4 human-only manual Antigravity CLI probe and avoiding ACP health checks on limitsOnly) - pingdotgg#32114, pingdotgg#43651 checkpoint capture baseline read & parallel source control discovery - pingdotgg#44979 hung gh auth token no longer stalls MCP connect - pingdotgg#44860, pingdotgg#44872 Claude main checkout settings/plugins & scratch folder cleanup - pingdotgg#44902 send image attachments with actual byte magic MIME type (approved orthogonal graft in adapter.ts) - pingdotgg#44994, pingdotgg#44399, pingdotgg#44406, pingdotgg#44418, pingdotgg#44448, pingdotgg#45014, pingdotgg#44827, pingdotgg#44913, pingdotgg#40454, pingdotgg#44863, pingdotgg#44926 terminal/git/Codex/ACP/CLI/desktop stability fixes Verified: - check:t4-locks main..HEAD: only the 2 user-approved orthogonal grafts (ThreadFeed.tsx, adapter.ts) - Zero telemetry: 0 bytes changed in telemetry modules - i18n:check pass across all 10 locales (0 untranslated zh.json keys) - vp fmt --check pass across all 166 changed files - Typecheck 0 new errors across all 13 touched packages - Targeted unit tests + all 8 Web Chromium browser test suites (196/196) + independent GPT pre-merge review & fixes verified
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.