Skip to content

Foundation: helper-runtime prelink broken again — missing unit.bc / stale DOM (re-#24355) #24409

Description

@PurHur

Category

Foundation · Pillar 1 trust gate / release-readiness (re-#24355 / #24336 / #24302)

Problem

./script/release-readiness.sh --json reports user_release_ready: no because check-helper-runtime-prelink.php --strict fails.

Measured on master 2f5973133 (pinned Docker php-compiler:22.04-dev):

check-helper-runtime-prelink: x86_64-linux — 243 fresh, 16 stale, 15 broken — refresh: php script/emit-helper-runtime-object.php --prelink

Broken units are incomplete (have manifest.json + unit.o but missing unit.bc), including:

  • ext_standard_{Class,Trait,Property,Function,Method}ExistsJitHelper_php
  • several ext_dom_* helpers (DomCreateElement, DomGetElementById, …)

Stale set includes DOM helpers + JsonDecodeJitHelper (source drift after #24300 / #24357).

Spine coverage also red for the same readiness run: missing ext/standard/phpc_native_ht_set_long_at.php from compiler_lib_spine_smoke/main.php.

Repo reference

Repro

./script/docker-exec.sh -- bash -lc 'php script/check-helper-runtime-prelink.php --strict; echo EXIT:$?'
./script/release-readiness.sh --json   # helper-runtime-prelink fail → user_release_ready: no
php script/check-selfhost-spine-coverage-sync.php

Done when

  • php script/check-helper-runtime-prelink.php --strict → 0 stale / 0 broken in Docker
  • php script/check-selfhost-spine-coverage-sync.php green (include phpc_native_ht_set_long_at.php)
  • ./script/release-readiness.sh --jsonhelper-runtime-prelink ok, spine ok, user_release_ready: yes
  • No restamp-only change — units re-emitted via emit-helper-runtime-object.php --prelink; incomplete units dropped if emit cannot produce unit.bc

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

    area:toolingTooling / CI / docsbugSomething isn't workingimplementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claimphase-0:FoundationPhase 0 – foundation & DevEx

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions