[pull] main from oven-sh:main

Merged
PU
4mo ago
+13-1

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )


Summary by cubic

Fixes dropped async frames in error.stack when AsyncLocalStorage is active by unwrapping InternalFieldTuple from the promise reaction context. Restores async stack traces for direct await, combinators, and Promise.race under USE(BUN_JSC_ADDITIONS).

  • Bug Fixes
    • Include InternalFieldTuple.h behind USE(BUN_JSC_ADDITIONS).
    • In getAsyncStackTrace → getContextValueFromPromise, unwrap InternalFieldTuple(context, asyncContext) and return the underlying context so parent generator resolution succeeds.