Skip to content

Self-host: docker-exec tar-fallback sync-back for M5 build drivers (#2963)#3255

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-2963-docker-exec-sync-back
May 30, 2026
Merged

Self-host: docker-exec tar-fallback sync-back for M5 build drivers (#2963)#3255
PurHur merged 1 commit into
masterfrom
agent/issue-2963-docker-exec-sync-back

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 29, 2026

Summary

  • Fix auto --sync-back trigger matching for make bootstrap-selfhost-link and related targets (patterns no longer require a trailing space after the target name).
  • Expand M5 sync-back artifact list: build/bin-compile-aot-inventory, build/selfhost, build/selfhost-lib-spine-smoke, build/selfhost-helloworld-compile, plus existing driver binaries.
  • Document tar-fallback sync-back in docs/bootstrap-selfhost.md.
  • Unit test guards sync-back wiring (CiScriptsTest::testDockerExecTarFallbackSyncsM5BuildDrivers).

Problem (#2963)

On harness hosts using tar-copy docker-exec, ephemeral containers dropped build/ artifacts between steps, forcing Zend gen-0 fallback in north-star5 step 4b and vendor prelink step 5.

Verification

# Pattern + sync-back (tar-fallback harness):
rm -f build/bin-compile-aot
./script/docker-exec.sh -- bash -lc 'make bootstrap-selfhost-link'
test -x build/bin-compile-aot && echo OK

# Second invocation sees host artifact:
./script/docker-exec.sh -- test -x build/bin-compile-aot

# Unit test:
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && php vendor/bin/phpunit test/unit/CiScriptsTest.php --filter testDockerExecTarFallbackSyncsM5BuildDrivers'

Closes #2963

Made with Cursor

Expand auto sync-back paths (bin-compile-aot-inventory, selfhost-lib-spine-smoke,
selfhost link output) and match bootstrap make targets without requiring a trailing
space so multi-step M5 ladders persist compiled drivers across docker-exec runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 16202e0 into master May 30, 2026
@PurHur PurHur deleted the agent/issue-2963-docker-exec-sync-back branch May 30, 2026 04:53
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.

Self-host M5: docker-exec tar-fallback should persist compiled driver artifacts to avoid Zend fallback

1 participant