qwen-code/packages
易良 3d5924bd2f
fix(github-channel): validate and document reasonFilter (#8035)
* feat(github-channel): add reasonFilter config to skip unwanted notification reasons

Adds an optional `reasonFilter` allowlist to the GitHub channel config.
When set, notifications whose `reason` is not in the list are skipped
before any lane dispatch, reducing unnecessary API calls and agent work
for notification types the operator does not care about.

- New `reasonFilter?: string[]` field on `GithubConfig`
- O(1) Set lookup (`reasonFilterSet`); undefined = no filter (all reasons)
- Early-skip in the poll loop, before subject URL extraction and lane dispatch
- Two tests: filtered reasons skipped, unset filter processes all

Default behavior is unchanged (undefined = process all reasons).

* fix(channels): log github reason filter skips

* fix(channels): validate github reason filter

* fix(channels): address github reason filter comments

* fix(github-channel): reject invalid reason filters

* fix(github-channel): validate reason filters on connect

---------

Co-authored-by: qwen-code-dev-bot <qwen-code-dev-bot@users.noreply.github.com>
2026-07-30 01:17:44 +00:00
..
acp-bridge fix(channels): disable native cron in daemon sessions (#8034) 2026-07-29 14:54:56 +00:00
audio-capture chore(release): v0.21.1 (#7958) 2026-07-29 00:25:30 +00:00
channels fix(github-channel): validate and document reasonFilter (#8035) 2026-07-30 01:17:44 +00:00
chrome-extension chore(release): v0.21.1 (#7958) 2026-07-29 00:25:30 +00:00
cli fix(serve): Add certified session writer handoff (#7976) 2026-07-29 23:36:58 +00:00
core fix(core): allow transport stream retry during the thinking-only phase (#7938) 2026-07-30 01:08:33 +00:00
cua-driver fix(mcp): add opt-in model payload filtering (#7413) 2026-07-21 09:49:04 +00:00
desktop fix(daemon): harden Todo Stop Guard continuations (#7821) 2026-07-28 06:51:40 +00:00
mobile-mcp chore(release): v0.20.1 (#7461) 2026-07-22 02:00:22 +00:00
sdk-java fix(sdk-java): Harden daemon transport reliability (#7603) 2026-07-24 04:22:05 +00:00
sdk-python fix(sdk-python): validate max_tool_calls and max_subagent_depth as integers (#7548) 2026-07-23 08:45:13 +00:00
sdk-typescript feat(channels): add pairing approval management API (#8045) 2026-07-29 14:55:03 +00:00
vscode-ide-companion feat(core): preload deferred tools within a context-window threshold (#7922) 2026-07-29 23:01:01 +00:00
web-shell feat(web-shell): add split pane header action slot with overflow (#7808) 2026-07-29 13:06:48 +00:00
web-templates chore(release): v0.21.1 (#7958) 2026-07-29 00:25:30 +00:00
webui fix(webui): stabilize history pagination (#8001) 2026-07-29 08:13:46 +00:00
zed-extension chore(deps): upgrade ink 6.2.3 → 7.0.2 + bump Node engine to 22 (#3860) 2026-05-11 17:29:50 +08:00