Repository navigation
2.0.0 beta9 - #102
Merged
Merged
2.0.0 beta9#102
Conversation
- ModbusTcp/OpcUa:Dispose 与 DisconnectAsync 收敛到同一条释放路径,并去掉 Connected 守卫(它只是上次 I/O 的快照,半死连接会被漏掉) - ModbusTcp:去掉 DisconnectAsync 里用 Thread 包装同步 Close 的残留 - DefaultTagGrpRunnerDisconnectStrategy:已完成的断开任务补一次 await, 故障才能冒到清理路径(此前故障 Task 无人观察,DisconnectAllAsync 的 catch 永远不会触发) - ITagChannel:把"DisconnectAsync 抛、Dispose 只留痕"写进公开契约 - src/:开启 TreatWarningsAsErrors(整解 0 警告) - 测试:断开策略 4 个用例 + Dispose 幂等用例
- dotnet.yml:`build` job 增加 `Tests.NetCoreOnly` - src/Directory.Build.props:开启 TreatWarningsAsErrors ,tests/ 与 samples/ 有意不加——AOT 冒烟的 publish 会带出第三方 IL2104/IL3053 噪声。
- StdUnit.Tags:用 System.Diagnostics.Metrics 暴露 4 个入口级指标 turns / turn.duration(单位 s) / failures / reconnects,维度只有 entry(入口定位路径); 无监听者时零分配、无开关;net472 因此引入 System.Diagnostics.DiagnosticSource(仅该 TFM) - 契约常量集中在公开的 TagsMetricContract(名称/单位/tag 键),由 MetricsContractTests 与字面量比对钉住;实现(Meter/instrument/记录)在 internal 的 TagsMetric - ITagGrpExtensions.GetLocationPath() 改为 public:加载期错误消息与指标 entry 维度共用同一格式 - publish-packages.ps1 额外注入 -p:InformationalVersion:此前每个版本的程序集都自称 1.0.0; AssemblyVersion 仍保持 1.0.0.0
yml这个东西实实在在说明了流行不等于优秀
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
No description provided.