Commit Graph

28968 Commits

Author SHA1 Message Date
Peter Steinberger
c907dfa058 test: trim duplicate config migration coverage 2026-04-08 01:07:38 +01:00
Peter Steinberger
c1d08e3ddc test: split channel textChunkLimit schema coverage 2026-04-08 01:04:49 +01:00
Peter Steinberger
cddfd7781e test: fold identity defaults into existing config suites 2026-04-08 00:58:02 +01:00
Peter Steinberger
b998156083 test: trim config defaults and secrets refresh coverage 2026-04-08 00:54:08 +01:00
Peter Steinberger
51633fc13a fix: respect disabled heartbeat guidance 2026-04-08 00:51:13 +01:00
Peter Steinberger
4d3c72a521 fix: surface Claude CLI API errors 2026-04-08 00:44:50 +01:00
Peter Steinberger
259e9abbc5 Tests: align provider synthetic auth fixture 2026-04-08 00:43:55 +01:00
Peter Steinberger
93d71acbd8 test: fix provider usage mocks and trim media runner setup 2026-04-08 00:40:11 +01:00
Peter Steinberger
7f508755a1 Tests: use timeout-classed compaction failure 2026-04-08 00:39:22 +01:00
Peter Steinberger
552b5d3859 test: speed up cli and process tests 2026-04-08 00:30:22 +01:00
Peter Steinberger
f9dcd1e155 test: speed up agent runtime helper tests 2026-04-08 00:30:22 +01:00
Peter Steinberger
c01666f7ab test: speed up agent auth config tests 2026-04-08 00:30:22 +01:00
Peter Steinberger
cda0c66258 Tests: type provider usage plugin mocks 2026-04-08 00:25:39 +01:00
zhumengzhu
f6bf8c7202 fix(logging): correct levelToMinLevel mapping and related filter logic for tslog v4 (#44646)
* fix: correct levelToMinLevel mapping and isFileLogLevelEnabled direction for tslog v4

* test: add regression tests for logging level filter and child logger inheritance

* fix: propagate minLevel to toPinoLikeLogger sub-loggers

* fix: correct shouldLogToConsole comparison direction in subsystem.ts

* test: cover logging threshold regressions

* fix(logging): treat silent as non-emittable level

---------

Co-authored-by: Altay <altay@uinaf.dev>
2026-04-08 00:19:20 +01:00
Josh Lehman
6bd480ea1f fix: honor explicit auth profile selection (#62744)
* Auth: fix native model profile selection

Fix native `/model ...@profile` targeting so profile selections persist onto the intended session, and preserve explicit session auth-profile overrides even when stored auth order prefers another profile. Update the reply/session regressions to use placeholder example.test profile ids.

Regeneration-Prompt: |
  Native `/model ...@profile` commands in chat were acknowledging the requested auth profile but later runs still used another account. Fix the target-session handling so native slash commands mutate the real chat session rather than a slash-session surrogate, and keep explicit session auth-profile overrides from being cleared just because stored provider order prefers another profile. Update the tests to cover the target-session path and the override-preservation behavior, and use placeholder profile ids instead of real email addresses in test fixtures.

* Auth: honor explicit user-locked profiles in runner

Allow an explicit user-selected auth profile to run even when per-agent auth-state order excludes it. Keep auth-state order for automatic selection and failover, and add an embedded runner regression that seeds stored order with one profile while verifying a different user-locked profile still executes.

Regeneration-Prompt: |
  The remaining bug after fixing native `/model ...@profile` persistence was in the embedded runner itself. A user could explicitly select a valid auth profile for a provider, but the run still failed if per-agent auth-state order did not include that profile. Preserve the intended semantics by validating user-locked profiles directly for provider match and credential eligibility, then using them without requiring membership in resolved auto-order. Add a regression in the embedded auth-profile rotation suite where stored order only includes one OpenAI profile but a different user-locked profile is chosen and must still be used.

* Changelog: note explicit auth profile selection fix

Add the required Unreleased changelog line for the explicit auth-profile selection and runner honor fix in this PR.

Regeneration-Prompt: |
  The PR needed a mandatory CHANGELOG.md entry under Unreleased/Fixes. Add a concise user-facing line describing that native `/model ...@profile` selections now persist on the target session and explicit user-locked OpenAI Codex auth profiles are honored even when per-agent auth order excludes them, and include the PR number plus thanks attribution for the PR author.
2026-04-07 16:12:25 -07:00
Peter Steinberger
1c1eb542b6 perf(test): trim infra provider and approval suites 2026-04-08 00:10:20 +01:00
Peter Steinberger
5e2736089d fix: resolve ci type regressions 2026-04-08 00:09:42 +01:00
Peter Steinberger
ef903d881e refactor: dedupe channel trimmed readers 2026-04-08 00:09:42 +01:00
Peter Steinberger
ee0425a705 refactor: dedupe agent trimmed readers 2026-04-08 00:09:42 +01:00
Peter Steinberger
b3ecabbbb7 refactor: dedupe gateway trimmed readers 2026-04-08 00:09:42 +01:00
Peter Steinberger
669b352d36 refactor: dedupe auto-reply trimmed readers 2026-04-08 00:09:42 +01:00
Peter Steinberger
c7ecc1ebf4 refactor: dedupe infra trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
134588fc17 refactor: dedupe gateway trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
65ea8c60f3 refactor: dedupe agent trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
e3b9c4a0a3 refactor: dedupe command trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
c7347a492e refactor: dedupe discord trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
96fe85fb77 refactor: dedupe telegram trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
aaa88398bf refactor: dedupe browser trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
7a28572caa refactor: dedupe ui trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
1868f301ed refactor: dedupe browser trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
5fa3b8d7a0 refactor: dedupe provider trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger
8fae182531 test: speed up model config provider tests 2026-04-08 00:09:07 +01:00
Peter Steinberger
f738297bda test: speed up stream and bash tool tests 2026-04-08 00:09:07 +01:00
Peter Steinberger
d2fa1de7ba test: use line adapters in setup-surface tests 2026-04-08 00:09:07 +01:00
Peter Steinberger
d51f527cca feat: add gh-read GitHub app helper 2026-04-08 00:09:07 +01:00
Peter Steinberger
6f159a9a28 fix(test): align exec approvals expectations 2026-04-07 23:57:46 +01:00
Peter Steinberger
6affd09dbe Tests: repair latest main type drift 2026-04-07 23:52:55 +01:00
Peter Steinberger
d1019eaa9f Tests: keep route notice coverage in coordinator 2026-04-07 23:52:55 +01:00
Peter Steinberger
5f5ec841fb Tests: align extension approval startup seams 2026-04-07 23:52:55 +01:00
Peter Steinberger
a80453f2e1 Tests: align exec approval policy expectations 2026-04-07 23:52:55 +01:00
Peter Steinberger
ae5118a8b5 Browser: align plugin registration mutability 2026-04-07 23:52:55 +01:00
Peter Steinberger
a51488c13c Approvals: align native runtime tests 2026-04-07 23:52:54 +01:00
Peter Steinberger
7e2fc57858 Tests: update compaction fallback retry mock 2026-04-07 23:52:54 +01:00
Peter Steinberger
c0aed59fca refactor: move qa suite definitions into markdown 2026-04-07 23:39:50 +01:00
Peter Steinberger
11185f6397 fix(test): align boundary and approval suites 2026-04-07 23:26:34 +01:00
Peter Steinberger
d471bbc94d test: speed up auth profile store tests 2026-04-07 23:17:39 +01:00
Peter Steinberger
b2169c4295 test: speed up subagent registry persistence resume test 2026-04-07 23:17:28 +01:00
Peter Steinberger
fdf60c06b0 refactor: dedupe gateway agent trimmed readers 2026-04-07 22:57:52 +01:00
Peter Steinberger
7999767a0f refactor: dedupe core trimmed string readers 2026-04-07 22:57:52 +01:00
Peter Steinberger
67035a6af8 refactor: dedupe trimmed string readers 2026-04-07 22:57:52 +01:00