feat(policy-smart): implement smart selection policy and SCI gate#24
Merged
feat(policy-smart): implement smart selection policy and SCI gate#24
Conversation
DNS Benchmark Compare
Suite Status
control_core_flowDNS Benchmark Compare
Common Benchmarks
Head-Only Benchmarks
Output Files
control_singleflight_scaleDNS Benchmark Compare
Common Benchmarks
Head-Only Benchmarks
Output Files
control_cache_hotpathDNS Benchmark Compare
Common Benchmarks
Head-Only Benchmarks
Output Files
control_cache_structuresDNS Benchmark Compare
Common Benchmarks
Head-Only Benchmarks
Output Files
component_upstream_hotpathDNS Benchmark Compare
Common Benchmarks
Head-Only Benchmarks
Output Files
|
Policy Smart SCI
Job Status
|
1086088 to
5dac5de
Compare
5dac5de to
e79bc84
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
smart选择策略接入:新增 policy 常量、解析、DialerGroup选择分支与AliveDialerSet.GetSmartBest()。RouteDialTcp增加重试循环、containsDialer去重、防止重复命中同一 dialer。Policy Smart SCIworkflow(SCI-1/SCI-2/SCI-3)并支持feat/policy-smartpush 触发。测试证明摘要
SCI-1 Strategy Correctness/SCI-2 TCP Retry Semantics/SCI-3 Concurrency Race全部successPolicy Smart SCI作为唯一且必需测试门禁;其验证范围覆盖本次 smart policy 的核心正确性、TCP 重试语义与并发竞态检查。影响范围
common/consts/dialer.gocomponent/outbound/dialer_selection_policy.gocomponent/outbound/dialer_group.gocomponent/outbound/dialer/alive_dialer_set.gocomponent/outbound/dialer/connectivity_check.gocontrol/tcp.go.github/workflows/policy-smart-sci.yml备注
dialer.test、outbound.test(未纳入提交)。