Wait for Codex account readiness
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
lib/openagents/scv/codex_accounts.ex -
modified
lib/openagents/scv/codex_login.ex -
modified
lib/openagents/scv/driver_account.ex -
modified
test/openagents/scv/codex_accounts_test.exs -
modified
test/openagents/scv/codex_app_server_test.exs -
modified
test/support/fake_codex_app_server.sh
Diff
6 files changed, +179 -26
lib/openagents/scv/codex_accounts.ex modified +39 -16
@@ -84,6 +84,11 @@ defmodule OpenAgents.SCV.CodexAccounts do
| 84 | 84 |
|
| 85 | 85 |
|
| 86 | 86 |
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
|
| 91 |
|
|
| 87 | 92 |
|
| 88 | 93 |
|
| 89 | 94 |
|
@@ -153,35 +158,46 @@ defmodule OpenAgents.SCV.CodexAccounts do
| 153 | 158 |
|
| 154 | 159 |
|
| 155 | 160 |
|
| 156 |
|
|
| 161 |
|
|
| 162 |
|
|
| 163 |
|
|
| 157 | 164 |
|
| 158 | 165 |
|
| 159 |
|
|
| 160 |
|
|
| 166 |
|
|
| 161 | 167 |
|
| 162 | 168 |
|
| 163 | 169 |
|
| 170 |
|
|
| 164 | 171 |
|
| 165 |
|
|
| 166 |
|
|
| 167 |
|
|
| 172 |
|
|
| 173 |
|
|
| 174 |
|
|
| 175 |
|
|
| 176 |
|
|
| 168 | 177 |
|
| 169 | 178 |
|
| 170 |
|
|
| 179 |
|
|
| 171 | 180 |
|
| 172 | 181 |
|
| 173 |
|
|
| 174 | 182 |
|
| 175 | 183 |
|
| 176 | 184 |
|
| 177 |
|
|
| 178 |
|
|
| 179 |
|
|
| 180 |
|
|
| 181 |
|
|
| 182 |
|
|
| 183 |
|
|
| 184 |
|
|
| 185 |
|
|
| 186 |
|
|
| 187 |
|
|
| 188 |
|
|
| 189 |
|
|
| 190 |
|
|
| 191 |
|
|
| 192 |
|
|
| 193 |
|
|
| 194 |
|
|
| 195 |
|
|
| 196 |
|
|
| 197 |
|
|
| 198 |
|
|
| 199 |
|
|
| 200 |
|
|
| 185 | 201 |
|
| 186 | 202 |
|
| 187 | 203 |
|
@@ -210,6 +226,13 @@ defmodule OpenAgents.SCV.CodexAccounts do
| 210 | 226 |
|
| 211 | 227 |
|
| 212 | 228 |
|
| 229 |
|
|
| 230 |
|
|
| 231 |
|
|
| 232 |
|
|
| 233 |
|
|
| 234 |
|
|
| 235 |
|
|
| 213 | 236 |
|
| 214 | 237 |
|
| 215 | 238 |
|
lib/openagents/scv/codex_login.ex modified +73 -8
@@ -9,6 +9,8 @@ defmodule OpenAgents.SCV.CodexLogin do
| 9 | 9 |
|
| 10 | 10 |
|
| 11 | 11 |
|
| 12 |
|
|
| 13 |
|
|
| 12 | 14 |
|
| 13 | 15 |
|
| 14 | 16 |
|
@@ -52,7 +54,10 @@ defmodule OpenAgents.SCV.CodexLogin do
| 52 | 54 |
|
| 53 | 55 |
|
| 54 | 56 |
|
| 55 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 56 | 61 |
|
| 57 | 62 |
|
| 58 | 63 |
|
@@ -98,14 +103,12 @@ defmodule OpenAgents.SCV.CodexLogin do
| 98 | 103 |
|
| 99 | 104 |
|
| 100 | 105 |
|
| 101 |
|
|
| 102 |
|
|
| 103 |
|
|
| 106 |
|
|
| 104 | 107 |
|
| 105 |
|
|
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
| 108 |
|
|
| 109 |
|
|
| 110 |
|
|
| 111 |
|
|
| 109 | 112 |
|
| 110 | 113 |
|
| 111 | 114 |
|
@@ -122,6 +125,53 @@ defmodule OpenAgents.SCV.CodexLogin do
| 122 | 125 |
|
| 123 | 126 |
|
| 124 | 127 |
|
| 128 |
|
|
| 129 |
|
|
| 130 |
|
|
| 131 |
|
|
| 132 |
|
|
| 133 |
|
|
| 134 |
|
|
| 135 |
|
|
| 136 |
|
|
| 137 |
|
|
| 138 |
|
|
| 139 |
|
|
| 140 |
|
|
| 141 |
|
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
| 145 |
|
|
| 146 |
|
|
| 147 |
|
|
| 148 |
|
|
| 149 |
|
|
| 150 |
|
|
| 151 |
|
|
| 152 |
|
|
| 153 |
|
|
| 154 |
|
|
| 155 |
|
|
| 156 |
|
|
| 157 |
|
|
| 158 |
|
|
| 159 |
|
|
| 160 |
|
|
| 161 |
|
|
| 162 |
|
|
| 163 |
|
|
| 164 |
|
|
| 165 |
|
|
| 166 |
|
|
| 167 |
|
|
| 168 |
|
|
| 169 |
|
|
| 170 |
|
|
| 171 |
|
|
| 172 |
|
|
| 173 |
|
|
| 174 |
|
|
| 125 | 175 |
|
| 126 | 176 |
|
| 127 | 177 |
|
@@ -155,6 +205,7 @@ defmodule OpenAgents.SCV.CodexLogin do
| 155 | 205 |
|
| 156 | 206 |
|
| 157 | 207 |
|
| 208 |
|
|
| 158 | 209 |
|
| 159 | 210 |
|
| 160 | 211 |
|
@@ -265,6 +316,7 @@ defmodule OpenAgents.SCV.CodexLogin do
| 265 | 316 |
|
| 266 | 317 |
|
| 267 | 318 |
|
| 319 |
|
|
| 268 | 320 |
|
| 269 | 321 |
|
| 270 | 322 |
|
@@ -325,6 +377,19 @@ defmodule OpenAgents.SCV.CodexLogin do
| 325 | 377 |
|
| 326 | 378 |
|
| 327 | 379 |
|
| 380 |
|
|
| 381 |
|
|
| 382 |
|
|
| 383 |
|
|
| 384 |
|
|
| 385 |
|
|
| 386 |
|
|
| 387 |
|
|
| 388 |
|
|
| 389 |
|
|
| 390 |
|
|
| 391 |
|
|
| 392 |
|
|
| 328 | 393 |
|
| 329 | 394 |
|
| 330 | 395 |
|
lib/openagents/scv/driver_account.ex modified +23
@@ -76,4 +76,27 @@ defmodule OpenAgents.SCV.DriverAccount do
| 76 | 76 |
|
| 77 | 77 |
|
| 78 | 78 |
|
| 79 |
|
|
| 80 |
|
|
| 81 |
|
|
| 82 |
|
|
| 83 |
|
|
| 84 |
|
|
| 85 |
|
|
| 86 |
|
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
|
| 91 |
|
|
| 92 |
|
|
| 93 |
|
|
| 94 |
|
|
| 95 |
|
|
| 96 |
|
|
| 97 |
|
|
| 98 |
|
|
| 99 |
|
|
| 100 |
|
|
| 101 |
|
|
| 79 | 102 |
|
test/openagents/scv/codex_accounts_test.exs modified +28 -1
@@ -28,7 +28,7 @@ defmodule OpenAgents.SCV.CodexAccountsTest do
| 28 | 28 |
|
| 29 | 29 |
|
| 30 | 30 |
|
| 31 |
|
|
| 31 |
|
|
| 32 | 32 |
|
| 33 | 33 |
|
| 34 | 34 |
|
@@ -129,6 +129,33 @@ defmodule OpenAgents.SCV.CodexAccountsTest do
| 129 | 129 |
|
| 130 | 130 |
|
| 131 | 131 |
|
| 132 |
|
|
| 133 |
|
|
| 134 |
|
|
| 135 |
|
|
| 136 |
|
|
| 137 |
|
|
| 138 |
|
|
| 139 |
|
|
| 140 |
|
|
| 141 |
|
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
| 145 |
|
|
| 146 |
|
|
| 147 |
|
|
| 148 |
|
|
| 149 |
|
|
| 150 |
|
|
| 151 |
|
|
| 152 |
|
|
| 153 |
|
|
| 154 |
|
|
| 155 |
|
|
| 156 |
|
|
| 157 |
|
|
| 158 |
|
|
| 132 | 159 |
|
| 133 | 160 |
|
| 134 | 161 |
|
test/openagents/scv/codex_app_server_test.exs modified +7
@@ -37,6 +37,13 @@ defmodule OpenAgents.SCV.CodexAppServerTest do
| 37 | 37 |
|
| 38 | 38 |
|
| 39 | 39 |
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 40 | 47 |
|
| 41 | 48 |
|
| 42 | 49 |
|
test/support/fake_codex_app_server.sh modified +9 -1
@@ -3,6 +3,7 @@ set -eu
| 3 | 3 |
|
| 4 | 4 |
|
| 5 | 5 |
|
| 6 |
|
|
| 6 | 7 |
|
| 7 | 8 |
|
| 8 | 9 |
|
@@ -18,9 +19,16 @@ while IFS= read -r line; do
| 18 | 19 |
|
| 19 | 20 |
|
| 20 | 21 |
|
| 22 |
|
|
| 21 | 23 |
|
| 22 | 24 |
|
| 23 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
|
| 24 | 32 |
|
| 25 | 33 |
|
| 26 | 34 |
|