Josh Gratton
206feb75de
Merge upstream/main (+212): codex Effect-service normalization wave
...
Catch up to pingdotgg/main (82a9bcc7 ), resolving 16 conflicts while
preserving the WSL parallel-backend feature set.
Upstream's codex wave normalized Effect services repo-wide: inlined
*Shape interfaces into Context.Service classes, converted errors to
Schema.TaggedErrorClass, switched to namespace imports, and split
make + layer. Our branch keeps DesktopBackendPool + a per-instance
factory (upstream's singleton DesktopBackendManager service does not
exist in this tree).
Resolutions:
- DesktopBackendManager.ts: kept ours (factory model; upstream's
singleton rewrite does not apply). Re-deleted the superseded
single-instance DesktopBackendOutputLog.ts and its test.
- DesktopObservability / DesktopBackendConfiguration /
DesktopLocalEnvironmentAuth / DesktopApp / DesktopWindow /
DesktopAppSettings: adopted upstream's normalized structure (inline
service shapes, TaggedErrorClass, make + layer, namespace imports,
DesktopShutdown module, OTLP tracing) while preserving our WSL
additions (per-instance log factory, pool-based bearer auth, splash
and handleBackendReady(httpBaseUrl), WSL settings methods).
- client-runtime EnvironmentRegistry: namespace imports + kept our
reconcilePlatform / registerPlatform / networkStatus.
- web primary environment: adopted upstream's Schema error classes;
kept PRIMARY_LOCAL_ENVIRONMENT_ID and the plural
getLocalEnvironmentBootstraps path.
- Tests: applied the repo-wide *Shape to X["Service"] removal across
desktop tests; converted singular getLocalEnvironmentBootstrap stubs
to our plural form; refreshed DesktopAppSettings stubs with the WSL
methods; restored our factory-based DesktopBackendManager test.
Verified: desktop + web + client-runtime typecheck clean; affected
desktop + web tests pass. The 15 remaining desktop test failures are
pre-existing Windows-only path-separator assertions (forward vs back
slash) and pass on the Linux CI.
2026-06-21 11:52:55 -04:00
Josh Gratton
8e3012d32b
Merge upstream/main: Effect-service refactors
...
Resolve conflicts from upstream's Effect-service normalization batch while
preserving the WSL parallel-backend feature set.
Key resolutions:
- ipc/methods/window.ts: adopt the DesktopIpc.makeIpcMethod /
DesktopIpc.makeSyncIpcMethod namespace convention; keep our plural
getLocalEnvironmentBootstraps and the getLocalEnvironmentBearerToken
method.
- app/DesktopState.ts: adopt upstream's Context.Service class with
backendReady + quitting. The window keeps its own backendReadyRef, so
state.backendReady is unused but harmless.
- app/DesktopObservability.ts: keep our per-instance
DesktopBackendOutputLogFactory (per-instance backend logs are required
for parallel backends). Drop upstream's newly-extracted single-instance
DesktopBackendOutputLog.ts: zero consumers in this tree, fully
superseded by the factory (primary maps to forInstance(primary), same
server-child.log path).
- backend/DesktopBackendManager.test.ts: keep our factory-based harness.
Upstream's side provisioned the removed DesktopBackendManager.layer
service model (DesktopState / DesktopWindow / DesktopBackendConfiguration
deps), which no longer exists in this tree.
- Adapt DesktopObservability.ts + ipc/methods/wsl.test.ts to upstream's
removal of the standalone DesktopEnvironmentShape export: use
DesktopEnvironment.DesktopEnvironment["Service"] (the normalized form).
Verified: web + desktop typecheck clean; affected desktop tests pass
(DesktopObservability, DesktopBackendPool, DesktopBackendManager, wsl).
2026-06-21 10:23:18 -04:00
Julius Marminge
82a9bcc7f4
[codex] add session context to credential errors ( #3349 )
2026-06-20 20:45:17 -07:00
Julius Marminge
61f8d46fa2
[codex] Enforce Effect error handling conventions ( #3380 )
2026-06-20 20:43:41 -07:00
Julius Marminge
0debebafbb
[codex] Structure thread archive blocked error ( #3451 )
2026-06-20 20:41:58 -07:00
Julius Marminge and codex
2a29de7502
[codex] Structure primary auth validation failures ( #3471 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 20:20:12 -07:00
Julius Marminge and codex
8c1605b383
[codex] Structure OpenCode text generation failures ( #3472 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 20:20:09 -07:00
Julius Marminge and codex
90074e359f
[codex] Preserve desktop update state causes ( #3473 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 20:20:07 -07:00
Julius Marminge and codex
6155f5cf64
[codex] Preserve VCS project config error causes ( #3474 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 20:20:04 -07:00
Julius Marminge and codex
e3970e755b
[codex] Preserve APNs delivery failure context ( #3475 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 20:20:01 -07:00
Julius Marminge and codex
3c246f56b4
[codex] Structure VCS process boundary errors ( #3476 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 20:19:59 -07:00
Julius Marminge and codex
cebbe6ff19
[codex] Preserve child process termination context ( #3469 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 19:20:04 -07:00
Julius Marminge and codex
e4a84a348e
[codex] Structure release output failures ( #3470 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 19:20:01 -07:00
Julius Marminge and codex
61e6d89d69
[codex] Structure GitHub CLI failures ( #3456 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 19:14:35 -07:00
Julius Marminge and codex
1b2f39d018
[codex] Structure theme synchronization failures ( #3466 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 19:09:05 -07:00
Julius Marminge and codex
8c2d33abde
[codex] Structure release package updater failures ( #3468 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 19:09:02 -07:00
Julius Marminge and codex
60dc4af916
[codex] Structure desktop build script failures ( #3452 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:58:22 -07:00
Julius Marminge and codex
d389cfd4e3
[codex] Structure Azure DevOps CLI failures ( #3460 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:58:19 -07:00
Julius Marminge and codex
6fc79737c3
[codex] Structure mobile native static-check failures ( #3464 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:58:16 -07:00
Julius Marminge and codex
cdd03591ef
[codex] Structure release metadata failures ( #3467 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:58:13 -07:00
Julius Marminge and codex
2fbb0565d7
[codex] Structure workspace search cleanup failures ( #3465 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:58:08 -07:00
Julius Marminge and codex
a3dadc04bf
[codex] Structure Bitbucket API errors ( #3457 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:47:12 -07:00
Julius Marminge and codex
1a59277dc8
[codex] Structure GitLab CLI failures ( #3458 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:41:25 -07:00
Julius Marminge and codex
6424197a19
[codex] Structure unroutable app-server messages ( #3463 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:30:19 -07:00
Julius Marminge and codex
8d4a8b4f31
[codex] Structure preview capability errors ( #3454 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:19:12 -07:00
Julius Marminge and codex
23ab75e84a
[codex] Split project command failures ( #3459 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:19:07 -07:00
Julius Marminge and codex
0488e47d9c
[codex] Structure checkpoint diff failures ( #3453 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 18:07:22 -07:00
Julius Marminge and codex
0eba548282
[codex] Model asset access failures with distinct errors ( #3448 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 17:35:07 -07:00
Julius Marminge and codex
68c0dd3b70
[codex] Structure server CLI failures ( #3450 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 17:35:02 -07:00
Julius Marminge and codex
4cd958445f
[codex] Migrate desktop app errors to Schema ( #3449 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 17:25:27 -07:00
Julius Marminge and codex
9f7861aadd
[codex] Structure desktop update persistence errors ( #3261 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 17:09:17 -07:00
Julius Marminge and codex
9243ead1c3
[codex] Preserve Linux icon resize fallback failures ( #3447 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 17:09:11 -07:00
Julius Marminge and codex
803c2b7738
[codex] Preserve desktop backend output read failures ( #3444 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 16:58:21 -07:00
Julius Marminge and codex
28e7c9ae17
[codex] Structure mobile waitlist enrollment failures ( #3446 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 16:58:15 -07:00
Julius Marminge and codex
a9460bb772
[codex] Structure pull request link failures ( #3445 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 16:44:22 -07:00
Julius Marminge and codex
5edf7c56ba
[codex] Preserve PR materialization failure chains ( #3443 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 16:38:56 -07:00
Julius Marminge and codex
90dc76b11e
Preserve asset access failure causes ( #3342 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 16:15:22 -07:00
Julius Marminge and codex
57d25c934b
[codex] Structure persistence error correlation ( #3439 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 16:15:16 -07:00
Julius Marminge and codex
a26f0dc89f
[codex] structure source-control repository failures ( #3336 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:56:46 -07:00
Julius Marminge and codex
6ff6c13fc8
[codex] structure desktop backend process errors ( #3254 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:55:50 -07:00
Julius Marminge and codex
60c9ca0e33
[codex] Preserve checkpoint repository detection failures ( #3360 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:55:44 -07:00
Julius Marminge and codex
ad2cb1dd57
[codex] Diagnose desktop client settings read failures ( #3432 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:55:38 -07:00
Julius Marminge and codex
674590e009
[codex] Fix terminal cwd error test construction ( #3440 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:47:58 -07:00
Julius Marminge and codex
f2cb14e774
[codex] Structure mobile relay token-store failures ( #3309 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:31:33 -07:00
Julius Marminge and codex
e042c25f56
[codex] Structure rotating log sink errors ( #3279 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:24:38 -07:00
Julius Marminge and codex
90f1936fad
[codex] Structure server runtime-state failures ( #3319 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:15:05 -07:00
Julius Marminge and codex
42ff43915a
[codex] Preserve mobile review highlighter failures ( #3337 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:15:00 -07:00
Julius Marminge and codex
834e5db458
[codex] structure project CLI failures ( #3339 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:14:55 -07:00
Julius Marminge and codex
8ce627ba91
[codex] Structure mobile thread outbox failures ( #3341 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:14:51 -07:00
Julius Marminge and codex
9a78c6f2ba
[codex] Structure web local storage failures ( #3350 )
...
Co-authored-by: codex <[email protected] >
2026-06-20 15:14:46 -07:00