Commit Graph

239 Commits

Author SHA1 Message Date
Peter Steinberger
1e8564cb13 fix(auth-profiles): repair stale codex oauth profiles 2026-04-23 04:03:47 +01:00
Gustavo Madeira Santana
24db09a19b fix(cli): keep channel status checks off plugin runtimes (#69479)
Merged via squash.

Prepared head SHA: 63f6e416a9
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-04-21 13:53:08 -04:00
Peter Steinberger
510fe8b95d perf(test): speed up reply trigger hotspots 2026-04-20 14:14:55 +01:00
Peter Steinberger
57326feb8d test: share oauth mock setup 2026-04-18 23:48:26 +01:00
Peter Steinberger
7bc3019691 test: share oauth workspace helpers 2026-04-18 23:32:28 +01:00
Peter Steinberger
a4a34edd21 test: reuse codex refresh helpers 2026-04-18 22:52:32 +01:00
Peter Steinberger
f48c91ac2f test: share oauth fuzz utilities 2026-04-18 22:49:54 +01:00
Peter Steinberger
e89e214516 test: share oauth test helpers 2026-04-18 22:46:49 +01:00
Peter Steinberger
f60c3bf6e0 test: fix oauth rebase conflict 2026-04-18 21:44:27 +01:00
Peter Steinberger
46d6f500f3 test: reduce oauth concurrency fixture fanout 2026-04-18 21:44:27 +01:00
Peter Steinberger
c6784493fc test: split oauth effective credential policy 2026-04-18 21:44:27 +01:00
Peter Steinberger
4db3c5145f test: trim oauth adoption branch coverage 2026-04-18 21:44:27 +01:00
Peter Steinberger
cc8f4e98a6 test: split oauth mirror policy coverage 2026-04-18 21:44:27 +01:00
Peter Steinberger
eed0a93c59 test: narrow auth usage store mock 2026-04-18 21:44:27 +01:00
Peter Steinberger
2fc429dfbf fix: keep codex oauth bridge extension-owned (#68284) (thanks @vincentkoc) 2026-04-18 21:27:27 +01:00
Vincent Koc
4a4f52b097 fix(auth): restore codex oauth error and resume handling 2026-04-18 21:27:27 +01:00
Vincent Koc
a018257487 fix(auth): harden codex oauth bridge security 2026-04-18 21:27:27 +01:00
Vincent Koc
f6921fd733 refactor(auth): break oauth helper import cycle 2026-04-18 21:27:27 +01:00
Vincent Koc
20debfab90 test(auth): align codex bootstrap expectations 2026-04-18 21:27:27 +01:00
Vincent Koc
78288e37ed fix(auth): close codex review gaps 2026-04-18 21:27:27 +01:00
Vincent Koc
859eb06662 refactor(auth): route codex runtimes through canonical oauth 2026-04-18 21:27:27 +01:00
Vincent Koc
f98e98ab66 fix(auth): keep oauth fallback recovery consistent 2026-04-18 21:27:27 +01:00
Vincent Koc
d97d5c04f0 fix(auth): harden oauth bootstrap identity checks 2026-04-18 21:27:27 +01:00
Vincent Koc
6f450c2d1f refactor(auth): reuse shared oauth policy helpers 2026-04-18 21:27:27 +01:00
Vincent Koc
5f2e77a6e1 refactor(auth): centralize oauth lifecycle manager 2026-04-18 21:27:27 +01:00
Peter Steinberger
93a6c93865 test: reuse oauth lock timeout setup 2026-04-18 20:57:17 +01:00
Peter Steinberger
b928f360a1 test: reduce auth and subagent control hotspots 2026-04-18 20:47:47 +01:00
Peter Steinberger
0c245c35c5 test: trim auth and skill install setup 2026-04-18 20:37:04 +01:00
Peter Steinberger
ab1e091e39 test: reduce agents test hotspots 2026-04-18 20:31:02 +01:00
Peter Steinberger
f168a62068 test: speed up auth profile session override 2026-04-18 19:57:45 +01:00
Peter Steinberger
aa73df571d perf: narrow auth test mocks 2026-04-18 16:23:00 +01:00
Val Alexander
f45bc09206 [codex] fix(auth): harden OAuth refresh and Codex CLI bootstrap flows (#68396)
* Harden OAuth refresh and Codex CLI bootstrap flows

- Treat near-expiry OAuth credentials as unusable for bootstrap and refresh
- Add clearer timeout and callback validation handling for OpenAI Codex OAuth
- Tighten file lock retry behavior for stale OAuth refresh contention

* fix(auth): address PR review threads

* fix(auth): adopt fresher imported refresh tokens

* test(auth): align oauth expiry fixtures with refresh margin

* fix(auth): tighten Codex OAuth bootstrap and local fallback

* Keep explicit local auth over CLI bootstrap

- Preserve existing non-OAuth local profiles during external CLI OAuth sync
- Add regression coverage for OpenAI Codex and generic external OAuth overlays

* fix(auth): distinguish oauth lock timeout sources

* fix(auth): reject cross-account external oauth bootstrap

* fix(auth): narrow refresh contention classification
2026-04-18 01:02:29 -05:00
Vincent Koc
d834d270df fix(test): preserve new module exports in mocks 2026-04-17 14:28:16 -07:00
Vincent Koc
30895f7135 fix(auth): restore cli bootstrap split on rebase 2026-04-17 14:19:45 -07:00
Vincent Koc
5edf876a5e test(auth): add codex oauth red-blue coverage 2026-04-17 14:14:03 -07:00
Vincent Koc
1e7c7dd02f refactor(auth): polish external oauth bootstrap flow 2026-04-17 14:11:41 -07:00
Vincent Koc
f61712437f refactor(auth): tighten external oauth bootstrap policy 2026-04-17 14:05:26 -07:00
Peter Steinberger
8dde0acbae test: trim agent test hot spots 2026-04-17 21:53:08 +01:00
Vincent Koc
ff55cd5c16 refactor(auth): drop legacy external cli oauth sync path 2026-04-17 13:52:37 -07:00
Vincent Koc
a8a701291b refactor(auth): drop persisted external oauth ownership metadata 2026-04-17 13:28:54 -07:00
Vincent Koc
a001b5343f refactor(auth): make external cli oauth runtime-only 2026-04-17 13:14:17 -07:00
Vincent Koc
eed71160ae fix(status): align oauth health with runtime 2026-04-17 10:36:51 -07:00
Peter Steinberger
1519b006b8 test(auth): isolate provider alias registry mock 2026-04-17 18:35:06 +01:00
Vincent Koc
3ed0995fa9 fix(auth): keep codex oauth canonical in openclaw 2026-04-17 10:20:43 -07:00
Peter Steinberger
dfca5bd0fe test: isolate oauth refresh queue mocks 2026-04-17 18:10:07 +01:00
Peter Steinberger
89d3117ad0 test: narrow auth profile runtime mocks 2026-04-17 18:06:01 +01:00
Gustavo Madeira Santana
42817a1707 Tests: isolate OAuth mirror external auth lookup
Use the existing external auth test hook and a lightweight OAuth package mock so mirror-refresh coverage does not load provider runtime work while seeding test stores.
2026-04-17 12:50:52 -04:00
Peter Steinberger
310b5e4f6a test: reduce core command hotspots 2026-04-17 16:05:10 +01:00
Viz
8e79080bef fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) 2026-04-16 23:44:03 -07:00
Vincent Koc
bde246e7af perf(auth-profiles): narrow source check path imports 2026-04-13 17:23:59 +01:00