Repository navigation
Conversation
|
Workflow [PR], commit [345e9c1] Summary: ❌
AI ReviewSummaryThis PR moves Silk runtime initialization out of the global gtest environment and into PR Metadata
Findings❌ Blockers
Final Verdict❌ Changes required before merge. The teardown half of the scope fix is still missing, and the PR metadata should be switched to |
| silk::FiberScheduler::initialize(&options); | ||
| } | ||
|
|
||
| void TearDown() override |
There was a problem hiding this comment.
Keeping silk::destroy() in the global environment still makes the runtime process-scoped after the first SilkFiberSocketTest suite runs. unit_tests_dbms links every gtest*.cpp under src/, so any non-Silk suite that runs later still executes with Silk initialized. That means the teardown half of the scope fix is still missing; to actually confine the runtime to the Silk tests, this needs a suite-local teardown (for example TearDownTestSuite() plus a small shared refcount across the typed instantiations).
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 10/11 (90.91%) · Uncovered code Newly covered by added/modified tests: 49 line(s), 2 function(s) across 1 file(s) · Details Top files
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
We now only initialize and destroy Silk runtime for Silk unit tests.