VCST-4413: Copy and resolve native libraries#2971
Conversation
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.781
Timestamp: 17-12-2025T10:26:08
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.481
Timestamp: 17-12-2025T10:48:12
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.131
Timestamp: 13-01-2026T14:51:52
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.55
Timestamp: 19-01-2026T16:06:13
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.682
Timestamp: 20-01-2026T08:14:29
|
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.869
Timestamp: 21-01-2026T11:12:51
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.639
Timestamp: 04-03-2026T07:40:10
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.681
Timestamp: 04-03-2026T09:47:52
|
vc-ci
left a comment
There was a problem hiding this comment.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.718
Timestamp: 04-03-2026T10:11:23



Description
References
QA-test:
Jira-link:
https://virtocommerce.atlassian.net/browse/VCST-4413
Note
High Risk
Changes module probing/copy and assembly resolution behavior, including native DLL/SO loading via
ResolvingUnmanagedDll; mis-resolution can cause startup/load failures or load incorrect binaries on some RIDs/architectures.Overview
Native library support for modules. Module dependency extraction now returns both managed and native assets (
LibraryreplacesManagedLibrary) andLoadContextAssemblyResolverregisters native library paths from.deps.jsonand resolves them viaAssemblyLoadContext.Default.ResolvingUnmanagedDll+NativeLibrary.TryLoad.Module file copying reworked.
IFileCopyPolicygainsGetTargetRelativePath, andLocalStorageModuleCatalogdelegates copy decisions/target paths to it soruntimes/**native assets preserve folder structure while TPA/reference assemblies and non-allowed files are skipped; new tests (FileCopyPolicyTests) cover path mapping and copy-required logic.Diagnostics/logging tweaks. System info now includes
RuntimeIdentifier(API + UI localization/template), startup bootstrap logging reads Serilog config, and module resolver DI switches to SerilogILogger.Written by Cursor Bugbot for commit f44fe99. This will update automatically on new commits. Configure here.
Artifact URL:
Image tag:
ghcr.io/VirtoCommerce/platform:3.1008.0-pr-2971-f44f-vcst-4413-runtimes-f44fe99a