Skip to content

Scope FileType handles to Sessions (OPC 10000-5)#4048

Merged
marcschier merged 3 commits into
OPCFoundation:masterfrom
marcschier:marcschier/review-fix/session-file-handles
Jul 22, 2026
Merged

Scope FileType handles to Sessions (OPC 10000-5)#4048
marcschier merged 3 commits into
OPCFoundation:masterfrom
marcschier:marcschier/review-fix/session-file-handles

test: cover session-scoped file handles

672c518
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 21, 2026 in 0s

73.59% (+0.04%) compared to 70c74e7

View this Pull Request on Codecov

73.59% (+0.04%) compared to 70c74e7

Details

Codecov Report

❌ Patch coverage is 99.31507% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 73.59%. Comparing base (70c74e7) to head (672c518).
⚠️ Report is 21 commits behind head on master.

Files with missing lines Patch % Lines
src/Opc.Ua.Server/FileSystem/FileHandle.cs 98.59% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4048      +/-   ##
==========================================
+ Coverage   73.55%   73.59%   +0.04%     
==========================================
  Files        1345     1345              
  Lines      180036   180182     +146     
  Branches    31677    31704      +27     
==========================================
+ Hits       132427   132612     +185     
+ Misses      36911    36858      -53     
- Partials    10698    10712      +14     
Files with missing lines Coverage Δ
...c/Opc.Ua.Server/FileSystem/DirectoryObjectState.cs 82.15% <100.00%> (+0.76%) ⬆️
src/Opc.Ua.Server/FileSystem/FileObjectState.cs 87.29% <100.00%> (+1.78%) ⬆️
.../Opc.Ua.Server/FileSystem/FileSystemNodeManager.cs 86.87% <100.00%> (+1.36%) ⬆️
src/Opc.Ua.Server/FileSystem/FileHandle.cs 96.57% <98.59%> (+0.27%) ⬆️

... and 35 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.