Skip to content

Commit 2bb9679

Browse files
committed
test: real-Effect gates for the sink-based escape rules
Positive (must remove writeOne, fail on the current allow-list): - run_options: runPromise with an onFiberStart that ignores the Fiber. - retained_fiber: forkChild + Fiber.join, Fiber kept after its scope. Retention (must keep every method; pass today only through global bailouts, and miscompile when those are disabled): - internals_destructuring: `const { mapUnsafe } = context`. - enumeration: Object.values(context) finds the service Map. - enumeration_alias: the same through `const values = Object.values`. - dynamic_name: `context[["map", "Unsafe"].join("")]`. - json_literal: JSON.stringify({ context }, replacer) reaches the service through Context.toJSON, despite the inline literal. The live Context comes from Effect.withFiber inside the provided scope.
1 parent d33d53d commit 2bb9679

23 files changed

Lines changed: 32976 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"_comment": "Uses the real effect package from the repository devDependencies.",
3+
"config": {
4+
"experimental": {
5+
"effectServiceShaking": true
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)