Skip to content

Bootstrap: gen-0 sidecar stamp drift after StringJsonEncodeInventoryStubs spine edit (#14818) #14831

Closed

Description

@PurHur

Category

bootstrap | compile/link gate

Problem

#14818 added StringJsonEncodeInventoryStubs.php to test/selfhost/compiler_lib_spine_smoke/main.php but did not refresh prelinked/bootstrap-gen0/.m3_compiler_lib_sidecar.sha.

php script/check-selfhost-spine-sidecar-sync.php fails:

stamp 8943a5b93dd400e7700138463bd68b741886c801 ≠ spine entry SHA-1 e62d3ec969206c7e4e364eafed00dc9839590dee

make bootstrap-loop-probe M2 fails when sidecar fallback runs: bundle stdout crashes (free(): invalid pointer) but VM driver env probe OK (#8559) — link script does not refresh sidecar stamp on that path.

Done when

  • php script/check-selfhost-spine-sidecar-sync.php exits 0
  • make bootstrap-loop-probe M2 lib spine smoke passes (or documents expected gen-0 sidecar byte-match path)
  • Spine link refreshes sidecar stamp when VM driver execute probe OK even if main() bundle stdout fails

Verify

php script/check-selfhost-spine-sidecar-sync.php
./script/docker-exec.sh -- bash -lc 'make bootstrap-loop-probe 2>&1' | tail -30
make north-star5-verify-fast

Links

#1492 · #8703 · #8559 · #14818

Activity

  1. added
    implementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claim
    on Jul 2, 2026
  2. PurHur commented on Jul 2, 2026

    @PurHur
    OwnerAuthor

    claim: cursor-agent — batch (issues #14831)

  3. PurHur commented on Jul 2, 2026

    @PurHur
    OwnerAuthor

    Merged via #14832.

    Fix: Refresh gen-0 sidecar stamp to current spine entry SHA-1 (046998584f… after #14826 landed during merge) and teach bootstrap-selfhost-lib-spine-smoke-link.sh to refresh sidecar stamp when VM driver execute probe OK (#8559) even if main() bundle stdout fails.

    Verification:

    • php script/check-selfhost-spine-sidecar-sync.php → OK
    • ./script/docker-exec.sh -- bash -lc 'make bootstrap-loop-probe' → M4 full ladder OK
    • make north-star5-verify-fast → OK
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

    implementation-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