[Bug] On Windows, `deploy.sh` run in Git Bash rewrites path-like values from `.env`

オープン 初心者向け
#4,428 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, docker-compose, shell
領域
devops

調査の方向性

deploy/docker/deploy.sh の set -a; source ブロック(おおよそ 624-625、693-694、633-635、1481-1483 行目)から始め、すでに MSYS_NO_PATHCONV=1 を設定している deploy-official-agents.sh と比較してください。再現には Git Bash と Docker Desktop を備えた Windows ホストが必要なので、レビュー担当者は supabase-auth-mini コンテナ内の GOTRUE_MAILER_URLPATHS_* の値を確認することで修正を検証できます。完了とは、Git Bash からデプロイしたときにそれらの値が /auth/v1/verify のままであることを意味します。

索引モデルが issue の本文から書いたものです。

説明

Nexent Version

v2.8.5

Problem Description

Where: deploy/docker/deploy.sh:624-625 (also 693-694) set -a; source "$ROOT_ENV_FILE".

Why: Git Bash (MSYS) converts POSIX-path-looking environment values when launching native programs (docker.exe),
and compose gives shell variables precedence over --env-file.

Actual: after deploying from Git Bash, GOTRUE_MAILER_URLPATHS_CONFIRMATION / INVITE / RECOVERY / EMAIL_CHANGE in the
supabase-auth-mini container are a Windows path under the Git for Windows installation (…/Git/auth/v1/verify) instead of /auth/v1/verify, so e-mail links
would be wrong. deploy-official-agents.sh already sets MSYS_NO_PATHCONV=1; deploy.sh does not.

Reproduction Steps

on a Windows host, run deploy/docker/deploy.sh from Git Bash with the default .env, then read the
GOTRUE_MAILER_URLPATHS_* variables inside the supabase-auth-mini container.

Additional Information

Suggestion: set MSYS_NO_PATHCONV=1 and MSYS2_ARG_CONV_EXCL='*' on MINGW/MSYS, or do not export .env into the
environment and rely on --env-file.

Related: #4305 is another Windows Git Bash deployment problem (port check), not this one.

Status on develop (95d7cbf, read 2026-11-24): still present. deploy/docker/deploy.sh still runs set -a before
sourcing the env files (lines 633-635 and 1481-1483); MSYS2_ARG_CONV_EXCL is set only for /opt/ (lines 1182
and 1253). Not re-run on develop.

Environment: Nexent v2.8.5, Docker Compose deployment, Windows 11 host with Docker Desktop; reproduced only on the local machine.

This report was drafted with AI assistance (Claude Code); the observations come from our local Nexent v2.8.5 deployment.

主要言語
Python
スター
6.2k
フォーク
785
平均マージ
1日 10時間
マージ済み PR(30日)
123

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ModelEngine-Group/nexent のほかの issue

ModelEngine-Group/nexent の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。