Skip to content

fix(demo): Git safe.directory for demo-smoke CI - #14

Merged
HecFranco merged 5 commits into
mainfrom
fix/demo-smoke-git-safe-directory
Sep 3, 2026
Merged

fix(demo): Git safe.directory for demo-smoke CI#14
HecFranco merged 5 commits into
mainfrom
fix/demo-smoke-git-safe-directory

Conversation

@HecFranco

Copy link
Copy Markdown
Contributor

Summary

  • Register /var/auth-kit-bundle as a Git safe.directory in the demo Dockerfile and entrypoint
  • Fixes Composer path-repository install in CI where the bind-mounted bundle triggers "dubious ownership" and the demo returns HTTP 500

Test plan

  • Demo smoke workflow passes (HTTP 200 on /en/login)
  • Main CI workflow remains green

Made with Cursor

Composer path repositories mount the bundle at /var/auth-kit-bundle with
host-owned files; without safe.directory Composer cannot symlink the
local package and the demo returns HTTP 500 in demo-smoke.
FrankenPHP reboots workers after cache:clear during make up; the
single-shot curl in demo-smoke often runs before workers are ready
and returns HTTP 500. Retry for up to 60s like other bundle demos.
Twig compiles calls in _slide_to_confirm_assets.html.twig even inside
{% if %}, so demo-smoke HTTP 500 when slide-to-confirm is not installed.
Register no-op stubs until the optional bundle provides real functions.
Ignore optional stub closure lines when slide-to-confirm is present in
dev dependencies; keep a regression test for demo installs without it.
@HecFranco
HecFranco merged commit 914aac3 into main Sep 3, 2026
13 checks passed
@HecFranco
HecFranco deleted the fix/demo-smoke-git-safe-directory branch September 3, 2026 19:18
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.

1 participant