Files
openclaw/src
Muhammed Mukhthar CM 9e49c762e0 fix(auth): prioritize round-robin over lastGood for multi-account rotation (#281)
* fix(auth): prioritize round-robin over lastGood for multi-account rotation

When multiple OAuth accounts are configured, the round-robin rotation was
not working because lastGood was always prioritized, defeating the sort by
lastUsed.

Changes:
- Remove lastGood prioritization in resolveAuthProfileOrder
- Always apply orderProfilesByMode (sorts by lastUsed, oldest first)
- Only respect configuredOrder when explicitly set in config
- preferredProfile still takes priority for explicit user choice

Tested with 2 Google Antigravity accounts - verified alternating usage.

Follow-up to PR #269.

* style: fix formatting
2026-01-06 08:16:35 +00:00
..
2026-01-06 01:46:59 +00:00
2026-01-06 00:42:23 +01:00
2026-01-06 02:22:19 +00:00
2026-01-04 14:38:51 +00:00
2026-01-06 06:40:42 +00:00
2026-01-06 08:41:04 +01:00
2026-01-06 07:21:10 +01:00
2026-01-06 06:40:42 +00:00
2026-01-04 14:57:57 +00:00
2026-01-04 14:38:51 +00:00
2026-01-06 04:51:05 +00:00
2026-01-06 04:51:05 +00:00
2025-12-26 02:35:40 +01:00
2026-01-04 14:38:51 +00:00