镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

ABI: implement exact proxy internal-field projection #233

Closed

Description

@chrisbbreuer

Parent: #134
Related: #140, #163, #164

Goal

Implement the shared pinned Bun__ProxyObject__getInternalField boundary for exact target/handler inspection.

Acceptance

  • Return the exact live proxy target for field 0 and handler for field 1 without invoking userland traps.
  • Return the pinned null state for revoked proxies and reject primitives, non-proxies, and unknown field values safely.
  • Preserve exact target/handler identity across same-VM sibling realms and independently valid VMs, without changing pending-exception state.
  • Add focused live/revoked/foreign/invalid coverage and compile-link-runtime fixture calls.
  • Refresh Home/Bun inventories with zero unclassified symbols.
  • Update README and compatibility docs, publish small implementation/docs commits on origin/main, and close only after evidence is live.

Activity

  1. chrisbbreuer commented on Jul 17, 2026

    @chrisbbreuer
    MemberAuthor

    Implemented and published in two direct main commits:

    • 48254bc0 — trap-free live target/handler projection, revoked-null behavior, safe invalid-input handling, raw encoded identity preservation through canonical per-VM private object handles, focused coverage, fixture linkage, and refreshed inventories
    • 783e6e65 — README and compatibility evidence/count refresh

    Verification:

    • focused proxy projection matrix: 3/3 passed, 0 leaked
    • Home fixture: 225/225 symbols linked and runtime matrix passed
    • Home inventory: 226/431 implemented, 205 pending
    • Bun core inventory: 220/421 implemented, 201 pending
    • public/private audit: 117 public, 19 extensions, 230 private/support exports
    • zero unclassified inventory entries

    The benchmark artifact remains 36a617b3: this is an ABI identity/inspection slice and does not change measured execution performance.

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