Skip to content

Patch Stack #10

Open
Open

Description

@sgammon

Tracks the GraalPython changes carried by Elide's active elide-25.5.x line and shipped through the GraalVM release pipeline. The 25.5 line replays the existing Elide overrides on upstream 154205b7511; the entries below record subsequent merged work and current release qualification.

Merged on elide-25.5.x

25.5.5-elide.23

Released. The immutable Python pin is 8020c130f1b718382c7386e83b5c48b9b83e0f7f. Release run 41337199344 was triggered by Graal tag gvm-elide-25.5.5-elide.23 at fe7f970d99b. It builds CE/EE distributions on four platforms and publishes Maven overrides under https://maven.elide.dev/gvm-elide/25.5.5-elide.23/; the release run completed successfully, including publication.

The accompanying Graal change is graal#177, a Bytecode DSL node-object metadata hook. The Python null-frame scope repair is independent of that new hook.

Qualification and Consumer Contract

  • Expose lexical bindings for unexecuted Python functions #9's local JVM build and 16 lexical-scope/debugger tests passed on macOS/AArch64; formatting, Checkstyle and copyright checks passed.
  • The PR's upstream-style CI failed before building while downloading Oracle JDK 21 (HTTP 404/download failures), rather than reporting a source/test failure. ABI check passed. These jobs do not establish native qualification.
  • Register the source-section load listener before parsing to discover nested uncalled roots. The regression covers all four existing instrumentation-option combinations, closures, generators, async functions, Unicode, same-URI edits and an unexecuted poison module.
  • Native Image scope inspection and the downstream Elide probe against the published artifact remain follow-up validation. Complete module/class namespace analysis is not promised by this patch.

Open on elide-25.5.x

  • Adopt SDK .23 variable-access instrumentation metadata #11 Adopt SDK .23 variable-access instrumentation metadata (0289c6d292). Pins the fork's immutable .23 Graal revision and implements getInstrumentationNodeObject(TagTreeNode) for compiler-emitted name reads/writes, with normalized/private-mangled names and exact UTF-16 access locations. Keeps debugger statement locations stable, serializes metadata with code units, and bumps the cache version 35 → 36. Local JVM build, 20 Java tooling/debugger tests, and 18 Python marshal tests passed. Changed-file style/copyright/Pylint checks pass; repository-wide Pylint stops on existing live_heap_tracker.py warnings. Native Image, downstream Elide integration and performance/retained-metadata costs remain follow-ups. This PR is newer than .23's published Python pin and needs local overrides or a subsequent release. GitHub CI stopped before checkout/tests on the existing Oracle JDK 21 download failure (wget exit 8; style job).

Older-Line/Open PRs

Related Tracking

Native-Library Sanitizer Release Integration (25.5)

Graal #180, targeting elide-25.5.x, adds Linux amd64 ASan/TSan/MSan variants of the GraalPy native resources alongside Truffle/NFI and SVM native libraries. Graal #181 wires those add-ons into the release CI stack with the same immutable GRAALPYTHON_REF and Elide toolchain version as the ordinary release build.

No GraalPy source patch is needed: explicit CMake/compiler settings rebuild the existing native-resource graph with the toolchain's matching sanitizer add-on. The freezer's build-time JVM uses an ordinary bootstrap Truffle attach library, while the packaged attach library is instrumented. Replacement python-resources.jar files retain the standard resource metadata and are distributed in separate sanitizer archives.

All three local full builds and inspections passed, with 18 instrumented GraalPy native libraries per variant. The ASan replacement jars passed an ordinary-JVM smoke test using native POSIX, zlib/bz2/lzma, ctypes/libffi, and SQLite. MSan qualification covers the native artifacts and C probes; it does not claim an instrumented JVM or generated Java code. Released on 2026-11-04 as add-ons to the existing .24: downloads and release notes. The GraalPy source tree and toolchain match .24; its existing artifacts were preserved. All three public archive downloads and checksums were verified. Source/matrix support and CI wiring are merged as Graal oracle#180/oracle#181.

25.6 Trunk Migration (2026-11-04)

The maintainer authorized elide-25.6.x following trunk and approved upstream security imports. The published 25.6 branch, at 31dbb1af62cf166288e49db7852a4fbc70039ae1, integrates upstream 684b3b50b3150bf76ccda55963fc3abaff24388a, including C-API/buffer repairs, float floor-division rounding, Unicode integer whitespace, bytecode-name interning, and newer PyREPL support. The POSIX/signal wakeups, lexical scopes, and variable-access metadata overrides are retained across the refactored root compiler/code-unit APIs.

The immutable Graal imports are e966bdbe04017d068cb0160804df9f9e22d3d425 from the published core 25.6 branch; default JDK pins match JVMCI 25.6-b27. Bytecode cache version 38 distinguishes the combined format from upstream 37 and the older fork format 36. Synthetic placeholder code units carry empty variable metadata, and runtime sys-state patching includes the new _xoptions support.

mx --java-home=lookup:default python-jvm passes on Linux amd64. The optimizing JVM standalone build, 20 tooling/debugger JUnit tests, 27 signal/marshal tests, Checkstyle and formatting also pass. A JVM probe verifies native POSIX/poll, bz2/lzma/zlib, ctypes, SQLite and runtime -X options; the optimizing probe confirms actual JIT compilation (opt done) and correct results. Graal patch stack #3 tracks matching collector ABI 250600, sanitizer requalification, and the EE base mismatch (Oracle 25i6 EA.01 remains JVMCI b24). No 25.6 release is qualified yet.

#11 is merged at 57c2c23756f7 and shipped in .24, superseding its older Open entry. Graal sanitizer PRs oracle#180/oracle#181 are now merged after all five checks passed on each; the existing .24 add-ons remain the released artifacts.

Qualification Update (2026-11-05, 00:32 UTC)

GraalPy 64a08ecf26e0fda314d36fb43397a1782c61c124 pins semantic core 258e9f44a453191483afc6c087679ac738c5e26c. Final optimizing JVM build and native-resource/tier-2 JIT probe pass, alongside the interpreter build, 20 tooling tests, 27 signal/marshal tests, formatting and Checkstyle. Python sources are unchanged from the validated trunk merge.

Paired core e5ce669b6bb fixes compressed-reference conversion, targeted runtime-lambda metadata and identity PLT/GOT deoptimization-variant relocations. Local checks pass: 33 optimized Shenandoah regressions, 53 combined Truffle/Ristretto native tests with host-exception overrides, 12 identity PLT/GOT tests, 14 JDWP tests and 9 strict continuation tests. Installed runtime compilation was verified.

Final CI passes: all three sanitizer variants, with downloaded checksums, payload hashes, four static archives and 20 resources per variant verified; expanded Shenandoah, with all four probes in both collector modes plus the 33 optimized regressions. The main gate passes all four jobs: regex, Native Image tests, Truffle tests and Truffle-on-Native-Image. The new packed-reference regression executed and passed. All final 25.6 qualification workflows are green. All five checks on the 25.5 CI-hardening follow-up also pass.

Released add-ons remain .24, with existing distribution assets preserved. No 25.6 distribution release has been issued. Oracle EE remains blocked: verified EA.01 uses JVMCI b24 versus trunk b27; strict enterprise compatibility checks remain enabled. G1 archives are build-qualified only (CE does not expose G1 runtime selection), and Node's native executable is not qualified. Graal #3 records exact paired heads and full evidence. All four worktrees are clean.

Final branch heads were checked against GitHub and match the clean local worktrees. The latest Oracle EA Linux x64 asset still has SHA-256 9375282353aee6f3e596f29205b6879ee3f1a42cbf56942d3ac51b1c3d2b6ae5, matching the inspected b24 binary; no compatible replacement was published. Source/CE qualification is complete, and strict EE compatibility checks remain enabled.

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