Commit Graph

4 Commits

Author SHA1 Message Date
kshitijk4poor
f7bbbc474e fix(plugins): abandon only nested plugin loads still running at outer timeout
Gate finding BN10.r1.2c (Low): the inline re-entrant branch appended the
nested ctx to the outer load's scope and never removed it, so a nested
load that had already finished (and was recorded enabled under its own
key) got fenced by _abandon_load() when the outer load later timed out.
Keep the ctx in scope only while its fn() runs.

The kept nested-inline test now times the outer load out with one finished
and one hung nested load, asserting only outer + hung are abandoned; this
also pins the nested-abandon behaviour of the previous commit.
2026-10-03 16:53:54 +05:30
kshitijk4poor
e95ca8c3ae test(plugins): drop marker-visibility test kept by the nested-inline test
The marker test passes counterfactually (any worker-local flag satisfies it);
test_nested_plugin_load_runs_inline_on_deadline_worker covers the headline
behaviour and goes red on BASE.
2026-10-03 16:53:54 +05:30
Yuan Li
cfb005ed14 fix(plugins): avoid recursive deadline workers
(cherry picked from commit 54e2f207df63f58030d38319f37761f4fb53e97c)
2026-10-03 16:53:54 +05:30
Yuan Li
eec8928406 test(plugins): cover deadline worker re-entrancy marker
(cherry picked from commit ae9e171f142911191e4ecec99f2e48e3785f33db)
2026-10-03 16:53:54 +05:30