Publish Dev#1621
Conversation
…heck-skip Заглушка отсутствующего процесса при Attach из адаптера
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughThe Jenkinsfile's VersionSuffix environment variable is simplified to a constant value 'rc.9', removing dynamic BUILD_NUMBER concatenation. Additionally, the DefaultMessageServer protocol channel is now properly disposed when the message loop completes and when the server stops. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
Bug: Double dispose of channel causes race condition
The _protocolChannel.Dispose() call was added in two locations that can both execute during a Stop() scenario. When Stop() interrupts the thread and disposes the channel, the thread catches the ThreadInterruptedException, exits the while loop, and then also tries to dispose the same channel. The channel implementations (JsonDtoChannel, BinaryChannel) lack double-dispose protection, so this will throw ObjectDisposedException. This also contradicts the class documentation which explicitly states the server does not manage channel lifecycle.
src/OneScript.DebugProtocol/TcpServer/DefaultMessageServer.cs#L116-L117
OneScript/src/OneScript.DebugProtocol/TcpServer/DefaultMessageServer.cs
Lines 116 to 117 in 0d6efd2
src/OneScript.DebugProtocol/TcpServer/DefaultMessageServer.cs#L138-L139
OneScript/src/OneScript.DebugProtocol/TcpServer/DefaultMessageServer.cs
Lines 138 to 139 in 0d6efd2
к PR #1584: сортировка строк разных алфавитов
35a9078 to
0d6efd2
Compare
# Conflicts: # src/OneScript.DebugProtocol/TcpServer/DefaultMessageServer.cs
|

30 New Issues
59 Fixed Issues
4 Accepted Issues
No data about coverage (0.00% Estimated after merge)
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.
Note
Overhauls debugging and symbol binding, adds explicit-import enforcement and deprecation support, refines comparisons and stdlib behavior, upgrades to .NET 8, and removes legacy ASP.NET handler.
ScopeBindingDescriptorand refactor symbol bindings (ModuleSymbolBinding,JoinedScopes); removeAttachedContext.ExplicitImportsBehavior) with compile-time checks;PackageInfo+IPackageSymbolwiring.DeprecatedName, warnings/errors for methods/properties/enums).IBslComparable,ComparisonException); adjust string/date/enum behaviors.IDebugger/IDebugSession; new TCP server, JSON channel, stream utils.StrReplaceon empty search; improve ValueListToString; sorting and comparer updates; timezone handling via IANA.ЗаписатьТекущийcases; reader/writer settings tweaks (DTD, declaration handling).waitOnStart, path mapping (pathsMapping), and improved attach;-noWaitCLI flag.ASPNETHandlerproject and related assets.Written by Cursor Bugbot for commit 57a16fe. This will update automatically on new commits. Configure here.