Add thread/unarchive to restore archived rollouts #9843
+343
−8
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
thread/unarchiveRPC to move archived thread rollouts back into the activesessions/tree.What changed
thread/unarchiverequest/response types and wiring.thread_unarchivein the app server.sessions/YYYY/MM/DD/...based on the rollout filename timestamp.find_archived_thread_path_by_id_strhelper for archived rollouts.sessions/.How to use
{ "method": "thread/unarchive", "id": 24, "params": { "threadId": "<thread-id>" } }Author Codex Session
codex resume 019bf158-54b6-7960-a696-9d85df7e1bc1(soon I'll make this kind of session UUID forkable by anyone with the rightsession_object_storage_urlline in their config, but for now just pasting it here for my reference)