Integrate upstream remote-agent reliability improvements#15
Merged
Conversation
…review # Conflicts: # AGENTS.md # apps/desktop/src/app/DesktopEnvironment.ts # apps/server/src/provider/Layers/CodexProvider.ts # apps/server/src/vcs/GitVcsDriverCore.test.ts # apps/web/src/components/AppSidebarLayout.tsx # apps/web/src/components/ChatView.tsx # apps/web/src/components/ComposerPromptEditor.tsx # apps/web/src/components/DiffPanel.tsx # apps/web/src/components/Sidebar.logic.test.ts # apps/web/src/components/Sidebar.logic.ts # apps/web/src/components/Sidebar.tsx # apps/web/src/components/chat/MessagesTimeline.test.tsx # apps/web/src/components/files/FileBrowserPanel.tsx # scripts/lib/brand-assets.ts
… state (Issue pingdotgg#4178) Replays PR pingdotgg#4176 on current main and preserves the connection catch-up path from pingdotgg#4177. Replace the array-backed command model with HashMap/HashSet state, evict deleted thread bodies, prune released VCS and browser caches, and clear per-thread client state. Adds focused coverage for read-model invariants, deletion behavior, client cleanup, and VCS cache eviction after the final subscriber releases. Co-authored-by: codex <codex@users.noreply.github.com>
Integrated from pingdotgg#4018 at de8fd65, adapted to retain the current draft hero/composer layout.
Retire the diff-workflow flag now covered by upstream defaults and preserve custom Codex launch arguments during project skill discovery.
# Conflicts: # AGENTS.md # apps/web/src/components/AppSidebarLayout.tsx # apps/web/src/components/DiffPanel.tsx # apps/web/src/components/Sidebar.tsx # apps/web/src/components/chat/MessagesTimeline.test.tsx # docs/personal-fork-changes.md
The provider session reaper stops sessions after 30 min of lastSeenAt inactivity. Background agent work (dynamic workflows, subagents) keeps running after the foreground turn settles, but the adapter session goes "ready" with no active turn and nothing refreshes lastSeenAt — so the reaper tears the session down mid-workflow, and the in-flight background orchestration is lost. Refresh lastSeenAt from runtime activity: ProviderService now bumps the binding's last_seen_at when the adapter emits runtime events (e.g. task.progress from background subagents), throttled per thread so an event burst is at most one lightweight write per window. A new targeted touchLastSeen on the runtime repository / session directory updates only last_seen_at, and only for non-stopped rows so a reaped session is never resurrected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Streaming assistant messages still update their message projection and thread timestamp, but no longer rebuild the full thread shell summary for every delta. Add a regression test that fails if the hot path reads activity history.
Port upstream PR pingdotgg#3166 onto the current project resolver layout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Upstream PRs: pingdotgg#4018, pingdotgg#4176, pingdotgg#4187, pingdotgg#4199, pingdotgg#4009, and pingdotgg#3166. PR pingdotgg#3166 was manually ported to the current resolver layout.
Validation