Skip to content

feat(LA-59): complete reflective mutation failure metadata - #758

Merged
ellainng merged 1 commit into
mainfrom
feat/LA-59-native-mutation-metadata
Nov 2, 2026
Merged

ellainng merged 1 commit into
mainfrom
feat/LA-59-native-mutation-metadata

Conversation

@ellainng

@ellainng ellainng commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Reflective attribute edits now preserve CPython-style AttributeError name/obj selection for frames, frame locals proxies, code objects, cells, properties and super objects. Missing names retain the original receiver and reflected string-subtype key independently of args; read-only native fields remain empty. Direct numeric storage descriptors use the same native failure contract, with receiver validation first.

Adds 78 supported reference cases and nine explicit boundary cases, parked lifetime/allocation checks, composed module/dynamic/generator programs and an installed offline example with Stop/Restart acceptance. Tracing/jumping and callback-bearing reflective mutation keys remain explicit refusals. The latter has a finite follow-up in #757, including the other native mutation layouts.

Validation on macOS arm64 with CPython 3.14.7, Node 24.19.0 and Chromium 156.0.8078.4:

  • All 678 shared PR-check IDs pass before the first push, including Python/packaging, complete Node/Chromium conformance and all nine browser integrations (scripts/run_tests.py pr inventory).
  • 2,257 exception unit tests and every Node/Chromium drain, step and parked profile combination pass. The 1,828-case corpus separates 1,808 supported comparisons, 20 explicit refusals and six existing qualifications; 267 cases remain explicitly shared with core-source/1.
  • 215 isolated installed-wheel offline checks pass, including new source, original dynamic diagnostics, retained cycles, Stop/Restart and reduced-profile updates. Wheel/source-distribution checks and the eight revision-22 execution resource observations pass.

The scalar-subtype dictionary regression was caught during review and affected checks were repeated after its fix. Local parallel Chromium runs produced worker module-loading errors; failed or unfinished checks ran in one browser runner, followed by one residual retry with POCKET_PYTHON_BROWSER_WORKERS=1. Passing results for unchanged behavior were retained.

Closes #756 (LA-59–LA-61). Refs #600 and #124; both parent milestones remain open.

Merged as 56e19c1 using the complete local validation above. The automatically triggered duplicate PR workflow was cancelled; final main smoke passes. #600/#124 are reconciled and #756 is complete in the Project.

Adopt selective native mutation fields for frames, code, cells, properties and super objects, plus direct numeric storage descriptors. Add source/reference, lifetime, resource and installed offline acceptance for LA-59 through LA-61.

Refs #756, #124, #600.
@ellainng
ellainng merged commit 56e19c1 into main Nov 2, 2026
5 of 18 checks passed
@ellainng
ellainng deleted the feat/LA-59-native-mutation-metadata branch November 2, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LA-59–LA-61: Complete reflective native mutation failure metadata

1 participant