1
00:00:00,320 --> 00:00:04,702
If you have ever left a Codex Cloud
conversation sitting idle in your terminal while

2
00:00:04,702 --> 00:00:08,945
you went to grab coffee, you probably know
that annoying moment when you come back,

3
00:00:09,245 --> 00:00:12,006
type a prompt, and realize the reply
stream dropped.

4
00:00:13,267 --> 00:00:17,749
Previously, even if the conversation was
completely idle, a lost Cloud reply stream

5
00:00:17,789 --> 00:00:21,031
meant you had to manually reopen the
conversation just to get back on track.

6
00:00:21,951 --> 00:00:25,713
Before we break down how that just
changed, thanks to Jellypod AI for sponsoring

7
00:00:25,713 --> 00:00:26,254
this episode.

8
00:00:27,374 --> 00:00:31,076
Now, let us look at pull request sixty
thousand nine hundred sixty nine,

9
00:00:31,396 --> 00:00:37,500
commit f988ada4, which landed on the zero
point one seventy four point zero alpha

10
00:00:37,540 --> 00:00:37,780
line.

11
00:00:38,858 --> 00:00:44,221
This follows up on our earlier look at the
opt in gated Cloud backend in Codex CLI

12
00:00:44,341 --> 00:00:46,362
zero point one sixty nine point zero.

13
00:00:47,382 --> 00:00:51,504
With this new change, Codex now
automatically recovers the currently displayed,

14
00:00:52,064 --> 00:00:55,186
idle Cloud conversation after a transient
stream loss.

15
00:00:56,186 --> 00:01:00,308
No more manually reopening the thread just
because your Wi Fi blinked or an idle

16
00:01:00,348 --> 00:01:01,208
stream timed out.

17
00:01:02,409 --> 00:01:07,131
Under the hood, the Cloud backend now runs
bounded retries for transient stream

18
00:01:07,191 --> 00:01:07,611
failures.

19
00:01:08,072 --> 00:01:13,665
Specifically, it checks for timeouts and
transient gRPC or RPC status codes one,

20
00:01:13,665 --> 00:01:16,675
two, four, thirteen, and fourteen.

21
00:01:16,675 --> 00:01:20,657
While it does that, it also runs
credential and network policy checks to make sure

22
00:01:20,657 --> 00:01:21,778
the session is still valid.

23
00:01:22,467 --> 00:01:27,531
On top of the retry logic, the team
enabled HTTP two keepalive pings for Cloud

24
00:01:27,551 --> 00:01:30,713
connections, which should cut down on
silent drops in the first place.

25
00:01:31,533 --> 00:01:35,096
But the part that actually changes your
day to day workflow is input queuing.

26
00:01:35,716 --> 00:01:39,118
If your stream drops while the
conversation is idle and you start typing your next

27
00:01:39,138 --> 00:01:43,882
prompt anyway, Codex holds that input in a
queue and automatically submits it as

28
00:01:43,962 --> 00:01:45,463
soon as the reply stream recovers.

29
00:01:46,303 --> 00:01:50,006
You do not lose your draft, and you do not
have to stare at a spinner waiting for a

30
00:01:50,106 --> 00:01:51,347
reconnect before you can type.

31
00:01:52,173 --> 00:01:55,375
There is also some smart state management
happening behind the scenes.

32
00:01:57,336 --> 00:02:02,839
Retained input is now stored per backend,
and any background settings updates apply

33
00:02:02,899 --> 00:02:05,161
directly to the owning backend's drafts.

34
00:02:06,121 --> 00:02:10,724
And when a conversation recovers from a
drop, Codex marks that recovered history as

35
00:02:10,864 --> 00:02:12,245
potentially incomplete.

36
00:02:13,606 --> 00:02:13,846
Why?

37
00:02:14,506 --> 00:02:18,608
Because if a turn finished or a message
arrived while you were disconnected,

38
00:02:19,209 --> 00:02:23,851
an explicit reopen will still reload any
missed turns while preserving your drafts

39
00:02:24,032 --> 00:02:26,073
and reconciling any pending submissions.

40
00:02:26,863 --> 00:02:28,744
So how do you actually use this?

41
00:02:29,564 --> 00:02:34,247
Automatic idle reconnection is active by
default for displayed Cloud conversations

42
00:02:34,567 --> 00:02:38,409
on the zero point one seventy four point
zero alpha pre release line,

43
00:02:38,849 --> 00:02:42,391
including zero point one seventy four
point zero alpha fourteen,

44
00:02:42,611 --> 00:02:45,472
which shipped on December first, twenty
twenty six.

45
00:02:45,472 --> 00:02:51,475
To make sure it works, authenticate with
ChatGPT OAuth, either AuthMode Chatgpt or

46
00:02:51,595 --> 00:02:57,098
AuthMode ChatgptAuthTokens, by running
codex and selecting Sign in with ChatGPT.

47
00:02:58,419 --> 00:03:02,881
Once you are in, if a transient drop
happens while idle, just keep working or type

48
00:03:02,901 --> 00:03:03,561
your next prompt.

49
00:03:04,021 --> 00:03:06,743
Codex queues it and resumes submission
after recovery.

50
00:03:07,445 --> 00:03:09,546
Now, there are a few caveats to watch out
for.

51
00:03:10,727 --> 00:03:15,209
First, only OAuth credentials can be
rechecked locally for automatic idle recovery.

52
00:03:15,810 --> 00:03:19,191
If you are using Personal Access Tokens,
you still fall back to the ordinary

53
00:03:19,311 --> 00:03:20,772
explicit reopen behavior.

54
00:03:22,033 --> 00:03:25,394
Second, because recovered history is
marked as potentially incomplete,

55
00:03:25,815 --> 00:03:28,756
if you suspect turns finished or were
missed while you were disconnected,

56
00:03:29,256 --> 00:03:33,058
you should still explicitly reopen the
conversation to reload those missed turns.

57
00:03:33,799 --> 00:03:37,621
And finally, keep in mind this is on the
zero point one seventy four point zero

58
00:03:37,861 --> 00:03:41,463
alpha pre release line, not yet in the
latest stable release,

59
00:03:41,503 --> 00:03:45,245
which is zero point one seventy two point
zero from November twenty fourth.

60
00:03:46,025 --> 00:03:50,409
Beyond idle Cloud recovery, there have
been a handful of smaller quality of life

61
00:03:50,429 --> 00:03:52,750
updates across Codex this past week worth
noting.

62
00:03:53,511 --> 00:03:58,695
First, on December first, twenty twenty
six, OpenAI pushed a rapid alpha cadence on

63
00:03:58,795 --> 00:04:04,219
GitHub Releases, shipping both zero point
one seventy four point zero alpha fourteen

64
00:04:04,239 --> 00:04:07,462
and zero point one seventy three point
zero alpha four point one.

65
00:04:08,342 --> 00:04:11,185
If you like living on the bleeding edge,
those builds are out there.

66
00:04:12,027 --> 00:04:16,330
On the desktop side, Codex App twenty six
point eleven twenty,

67
00:04:16,671 --> 00:04:19,913
released November twenty third, brought
two solid fixes.

68
00:04:20,873 --> 00:04:25,677
On Windows, branch reviews now count
changed files and lines correctly when you have

69
00:04:25,777 --> 00:04:27,438
many files with long paths.

70
00:04:28,099 --> 00:04:32,962
That was a classic Windows path length
headache, so it is great to see it resolved.

71
00:04:33,622 --> 00:04:38,106
They also fixed an issue that prevented
some HTML files with large embedded images

72
00:04:38,146 --> 00:04:39,847
or videos from opening in preview.

73
00:04:40,490 --> 00:04:45,473
And finally, back in Codex CLI zero point
one seventy two point zero from November

74
00:04:45,493 --> 00:04:50,035
twenty fourth, there are two quiet quality
of life improvements that make the

75
00:04:50,095 --> 00:04:51,876
terminal UI much smoother.

76
00:04:52,716 --> 00:04:56,859
You can now use PageUp and PageDown to
read and submit answer choices that are

77
00:04:56,919 --> 00:05:01,755
taller than the terminal's answer area,
which is pull request sixty two thousand two

78
00:05:01,755 --> 00:05:02,782
hundred nine.

79
00:05:02,782 --> 00:05:06,604
And Cloud replies that finish after
history loads now update in place,

80
00:05:06,944 --> 00:05:11,156
keeping your terminal transcript in order,
thanks to pull request sixty two thousand

81
00:05:11,156 --> 00:05:12,487
four hundred three.

82
00:05:12,487 --> 00:05:13,887
That is everything for today.

83
00:05:14,308 --> 00:05:17,049
Go try out the alpha if you want that
automatic Cloud recovery,

84
00:05:17,449 --> 00:05:18,550
and we will catch you next time.

