Commit Graph

31914 Commits

Author SHA1 Message Date
Peter Steinberger
2e2f927d5d test: mock proxy capture store 2026-04-17 19:45:06 +01:00
Peter Steinberger
0a38098248 test: mock tts facade explicitly 2026-04-17 19:44:02 +01:00
Devin Robison
f61896b03c fix(cron): preserve untrusted awareness event labels (#68210)
* fix(cron): preserve untrusted awareness event labels

Keep isolated cron awareness summaries untrusted when they are promoted into the main session, and forward explicit trust downgrades through the gateway cron wrapper. Add focused regression coverage for both paths.

* changelog: note cron awareness untrusted-label preservation (#68210)
2026-04-17 12:43:48 -06:00
Peter Steinberger
2745e5b3bd test: narrow canvas and context hotspots 2026-04-17 19:42:59 +01:00
Gustavo Madeira Santana
f70b651b12 Tests: avoid media registry load for duplicate ids 2026-04-17 14:41:18 -04:00
Peter Steinberger
dadcfb574f test: trim surrogate chunk fixtures 2026-04-17 19:38:53 +01:00
Peter Steinberger
729feb4b99 test: reuse exec approval home fixture 2026-04-17 19:37:47 +01:00
Peter Steinberger
8c3a8f0b1b test: shrink context registry chunk coverage 2026-04-17 19:35:55 +01:00
Gustavo Madeira Santana
ee0c8177bf Fix canvas host header test type 2026-04-17 14:35:36 -04:00
Gustavo Madeira Santana
462074c4c2 Fix check type errors 2026-04-17 14:35:36 -04:00
Peter Steinberger
c0a9b694f3 test: reuse node host home fixture 2026-04-17 19:35:19 +01:00
Peter Steinberger
2c43c441b2 test: source minimal install helper fixture 2026-04-17 19:34:01 +01:00
Peter Steinberger
b39f3cf266 test: avoid polling settled acp reconnect 2026-04-17 19:31:40 +01:00
Peter Steinberger
79dfb4db69 test: shorten routing cache scalability case 2026-04-17 19:30:36 +01:00
Peter Steinberger
990bd81726 test: avoid canvas host socket setup 2026-04-17 19:29:42 +01:00
Devin Robison
90979d7c3e fix(feishu): resolve card-action chat type before dispatch (#68201)
* fix(feishu): resolve card-action chat type before dispatch

* changelog: resolve card-action chat type before dispatch (#68201)

* address review: prefer chat_mode over chat_type, add error-path tests

- Swap resolution order to check chat_mode (conversation type) before
  chat_type (privacy classification), since Feishu's chat_type can
  return "private" for private group chats which would be wrongly
  classified as p2p.
- Treat "topic" as group semantics in the normalizer.
- Add comment explaining the field semantics and why "private" maps
  to "p2p" (safe-failure direction).
- Add two error-path tests: API returns non-zero code, and API throws.

* map chat_type=public to group in normalizer

Feishu's chat_type can return "public" for public group chats.
Without this mapping the fallback resolver would miss it and default
to p2p, routing a group card action through DM handling.

* address Aisle: cache chat-type lookups and scrub log output

- Add a 30-minute TTL cache for chatId -> chatType so repeated card
  actions on the same chat skip the Feishu API call.
- Strip chatId, event.token, and raw error strings from log messages;
  use err.message instead of String(err) to avoid leaking stack traces
  or HTTP internals from the Feishu SDK.

* prune expired chat-type cache entries

Add pruneChatTypeCache() called on each lookup so expired entries are
evicted and the cache stays bounded in long-running processes.

* address Aisle: scope cache by account, cap size, sanitize logs

- Key cache by accountId:chatId to prevent cross-account contamination.
- Cap cache at 5000 entries and evict oldest when exceeded.
- Sanitize response.msg and err.message with CR/LF stripping and
  length cap before logging to prevent log injection.
2026-04-17 12:29:04 -06:00
Peter Steinberger
8eb577b361 test: slim routing cache rollover coverage 2026-04-17 19:27:52 +01:00
Peter Steinberger
7edce9c8fa test: reuse inline eval fixtures 2026-04-17 19:25:58 +01:00
Peter Steinberger
e75cd46ba6 test: isolate plugin tools mcp handlers 2026-04-17 19:25:20 +01:00
Peter Steinberger
38923d13a6 test: trim boundary and fixture hotspots 2026-04-17 19:22:38 +01:00
Peter Steinberger
b303b6c492 test: streamline navigation browser checks 2026-04-17 19:17:07 +01:00
Peter Steinberger
b6e55bf819 test: combine config and skill render checks 2026-04-17 19:13:44 +01:00
Peter Steinberger
c47c4b3574 test: trim remaining ui browser cases 2026-04-17 19:11:58 +01:00
Peter Steinberger
d155d578eb test: merge more ui render hotspots 2026-04-17 19:10:22 +01:00
Gustavo Madeira Santana
3a1e469732 QA: track scenario coverage intent 2026-04-17 14:05:49 -04:00
Gustavo Madeira Santana
f334ca2b50 Auto-reply: fast-path sandbox media root resolution 2026-04-17 14:05:49 -04:00
Peter Steinberger
e606656b56 test: merge remaining small render checks 2026-04-17 19:02:05 +01:00
Peter Steinberger
9feeb921f5 test: trim config form search render cases 2026-04-17 19:00:57 +01:00
Peter Steinberger
c050cdaa96 test: merge small view render cases 2026-04-17 18:59:08 +01:00
Peter Steinberger
783bb1f759 test: move query token checks to settings unit 2026-04-17 18:57:15 +01:00
Peter Steinberger
4ba12bd134 test: trim duplicated navigation auth cases 2026-04-17 18:55:35 +01:00
Peter Steinberger
f0c6b102be test: trim duplicate navigation and cron cases 2026-04-17 18:54:46 +01:00
Peter Steinberger
354dbf2161 test: reset config view state directly 2026-04-17 18:50:18 +01:00
Peter Steinberger
1a3a040cc3 test: move chat markdown sidebar to direct render 2026-04-17 18:49:15 +01:00
Gustavo Madeira Santana
6184f17c91 Twitch: add bundled setup entry (#68008)
Merged via squash.

Prepared head SHA: 59305356a0
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-04-17 13:49:08 -04:00
Peter Steinberger
bbac7773ff test: fold chat context browser check 2026-04-17 18:47:00 +01:00
Peter Steinberger
aaf9064a75 test: move chat image safety to direct render 2026-04-17 18:46:16 +01:00
Peter Steinberger
36b98f78b2 test: merge navigation singleton browser checks 2026-04-17 18:45:34 +01:00
Peter Steinberger
ddd2c2a602 test: merge chat side-result checks 2026-04-17 18:42:03 +01:00
Peter Steinberger
f7eb746081 test: merge cron history checks 2026-04-17 18:41:16 +01:00
Peter Steinberger
c2e4b47d7b test: merge responsive navigation shell checks 2026-04-17 18:40:07 +01:00
Vincent Koc
628e6cd446 docs(changelog): add codex oauth fixes 2026-04-17 10:39:21 -07:00
Peter Steinberger
5d8cecbe7d test: merge navigation routing cases 2026-04-17 18:39:00 +01:00
Gustavo Madeira Santana
2b08233a3e Tests: mock channel registry bundled fallback
Keep the registry fallback unit test on a minimal bundled fixture instead of loading the real Google Chat plugin. Doctor capability metadata remains covered by the doctor channel capability tests.
2026-04-17 13:38:24 -04:00
Gustavo Madeira Santana
a464f5926b Secrets: avoid broad web search discovery for single plugin config
Add an Exa web-search contract artifact and use single bundled plugin-scoped webSearch config as a provider hint. This keeps runtime secret resolution on metadata-only surfaces instead of importing full provider tool implementations.
2026-04-17 13:38:24 -04:00
Peter Steinberger
20cf51169b test: merge config view browser checks 2026-04-17 18:37:53 +01:00
Vincent Koc
eed71160ae fix(status): align oauth health with runtime 2026-04-17 10:36:51 -07:00
Peter Steinberger
5c2f4afcce test: merge chat context notice checks 2026-04-17 18:36:33 +01:00
Peter Steinberger
1df50183b2 test: merge chat image safety cases 2026-04-17 18:35:52 +01:00
Peter Steinberger
0747a9c85a test(discord): isolate debug proxy env 2026-04-17 18:35:06 +01:00