Skip to content

fix frozen executable GitLab Duo automation#2

Open
redzrush101 wants to merge 1 commit intoFammasMaz:serverfrom
redzrush101:pr/server-frozen-gitlab-duo
Open

fix frozen executable GitLab Duo automation#2
redzrush101 wants to merge 1 commit intoFammasMaz:serverfrom
redzrush101:pr/server-frozen-gitlab-duo

Conversation

@redzrush101
Copy link

Summary

  • include optional Patchright/Playwright modules in PyInstaller builds so GitLab Duo auto-trial dependencies are bundled in the executable
  • set PLAYWRIGHT_BROWSERS_PATH automatically in frozen mode to the user cache (~/.cache/ms-playwright on Linux, platform equivalents on macOS/Windows)
  • keep source-runtime behavior unchanged while making packaged binaries able to launch GitLab Duo trial automation

Validation

  • built binary with python src/proxy_app/build.py
  • ran src/proxy_app/dist/proxy_app --add-credential and confirmed GitLab Duo auto-trial path now launches Patchright/Chromium instead of failing at import/browser-discovery stage

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