Skip to content

ABI: implement Bun process warning emission #241

Description

@chrisbbreuer

Parent: #239
Depends on: #240

Implement Bun__Process__emitWarning and Bun__promises__emitUnhandledRejectionWarning over the realm-owned process EventEmitter.

Acceptance:

  • Match string/Error warning normalization, name/type/code/detail/stack descriptors, and ordered warning listener delivery.
  • Reproduce the two-warning unhandled-rejection path, exact own-stack classification, throwing stack reads, pure fallback stringification, and exception clearing between emissions.
  • Preserve selected-realm prototypes, reason/promise identity, sibling boundaries, and listener-throw behavior.
  • Add focused and pinned consumer evidence; refresh inventories/docs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions