



















@@ -26,12 +26,22 @@ on:
2626 - "packages/plugin-package-contract/**"
2727 - "packages/plugin-sdk/**"
2828 - "src/channels/**"
29+ - "src/auto-reply/reply/post-compaction-context.ts"
30+ - "src/auto-reply/reply/queue/**"
31+ - "src/auto-reply/reply/startup-context.ts"
32+ - "src/commands/doctor-session-*.ts"
33+ - "src/commands/session-store-targets.ts"
34+ - "src/commands/sessions*.ts"
2935 - "src/gateway/method-scopes.ts"
3036 - "src/gateway/protocol/**"
3137 - "src/gateway/server-methods/**"
3238 - "src/gateway/server-methods.ts"
3339 - "src/gateway/server-methods-list.ts"
40+ - "src/infra/diagnostic-*.ts"
41+ - "src/infra/diagnostics-timeline.ts"
3442 - "src/infra/outbound/**"
43+ - "src/infra/session-delivery-queue*.ts"
44+ - "src/logging/diagnostic*.ts"
3545 - "src/mcp/**"
3646 - "src/model-catalog/**"
3747 - "src/plugin-sdk/**"
@@ -65,6 +75,7 @@ jobs:
6575plugin: ${{ steps.detect.outputs.plugin }}
6676plugin_sdk_package: ${{ steps.detect.outputs.plugin_sdk_package }}
6777provider: ${{ steps.detect.outputs.provider }}
78+session_diagnostics: ${{ steps.detect.outputs.session_diagnostics }}
6879steps:
6980 - name: Detect PR shard paths
7081id: detect
@@ -82,6 +93,7 @@ jobs:
8293 plugin=false
8394 plugin_sdk_package=false
8495 provider=false
96+ session_diagnostics=false
85978698 if [[ "${EVENT_NAME}" != "pull_request" ]]; then
8799 channel=true
@@ -90,6 +102,7 @@ jobs:
90102 plugin=true
91103 plugin_sdk_package=true
92104 provider=true
105+ session_diagnostics=true
93106 else
94107 while IFS= read -r file; do
95108 case "${file}" in
@@ -100,13 +113,21 @@ jobs:
100113 plugin=true
101114 plugin_sdk_package=true
102115 provider=true
116+ session_diagnostics=true
117+ ;;
118+ src/auto-reply/reply/post-compaction-context.ts|src/auto-reply/reply/queue/*|src/auto-reply/reply/startup-context.ts|src/commands/doctor-session-*.ts|src/commands/session-store-targets.ts|src/commands/sessions*.ts|src/infra/diagnostic-*.ts|src/infra/diagnostics-timeline.ts|src/infra/session-delivery-queue*.ts|src/logging/diagnostic*.ts)
119+ session_diagnostics=true
103120 ;;
104121 src/channels/*)
105122 channel=true
106123 ;;
107124 src/gateway/method-scopes.ts|src/gateway/protocol/*|src/gateway/server-methods/*|src/gateway/server-methods.ts|src/gateway/server-methods-list.ts)
108125 gateway=true
109126 ;;
127+ src/infra/outbound/base-session-key.ts|src/infra/outbound/delivery-queue*.ts|src/infra/outbound/outbound-session.ts|src/infra/outbound/session-binding*.ts|src/infra/outbound/session-context.ts|src/infra/outbound/targets-session.ts)
128+ mcp_process=true
129+ session_diagnostics=true
130+ ;;
110131 src/infra/outbound/*|src/mcp/*|src/process/*)
111132 mcp_process=true
112133 ;;
@@ -138,6 +159,7 @@ jobs:
138159 echo "plugin=${plugin}"
139160 echo "plugin_sdk_package=${plugin_sdk_package}"
140161 echo "provider=${provider}"
162+ echo "session_diagnostics=${session_diagnostics}"
141163 } >> "${GITHUB_OUTPUT}"
142164143165 core-auth-secrets:
@@ -299,7 +321,8 @@ jobs:
299321300322session-diagnostics-boundary:
301323name: Critical Quality (session-diagnostics-boundary)
302-if: ${{ github.event_name != 'pull_request' && (github.event_name != 'workflow_dispatch' || inputs.profile == 'all' || inputs.profile == 'session-diagnostics-boundary') }}
324+needs: quality-shards
325+if: ${{ needs.quality-shards.outputs.session_diagnostics == 'true' && (github.event_name != 'pull_request' || !github.event.pull_request.draft) && (github.event_name == 'pull_request' || github.event_name != 'workflow_dispatch' || inputs.profile == 'all' || inputs.profile == 'session-diagnostics-boundary') }}
303326runs-on: blacksmith-4vcpu-ubuntu-2404
304327timeout-minutes: 25
305328steps:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。