[Bug] On Windows, `deploy.sh` run in Git Bash rewrites path-like values from `.env`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 62/100
调研方向
从 deploy/docker/deploy.sh 中的 set -a; source 代码块开始(大约在第 624-625、693-694、633-635 和 1481-1483 行),并将它们与 deploy-official-agents.sh 比较,后者已经设置了 MSYS_NO_PATHCONV=1。复现需要一个装有 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 小时
- 30 天内合并 PR
- 123
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ModelEngine-Group/nexent 的其他 Issue
-
[Bug] Port 3000 forwards any path containing `/attachments/` to MinIO, so northbound uploads through 3000 fail可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
ModelEngine-Group/nexent#4423 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
ModelEngine-Group/nexent#4381 ·
维护者通常 1 天内回复
-
OpenAIModel: default observer is the class, not an instance — TypeError on any call that omits it可能已有人在做 @XixianWasTaken 于 67 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
ModelEngine-Group/nexent#3921 ·
维护者通常 1 天内回复
-
`convert_string_to_list` silently drops negative integers and non-digit entries可能已有人在做 @original4422 于 86 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
ModelEngine-Group/nexent#3818 ·
维护者通常 1 天内回复
-
Improvement: `sort_models_by_id` only sorts by the **first** character of the id可能已有人在做 @ump45nose 于 19 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
ModelEngine-Group/nexent#3817 ·
维护者通常 1 天内回复
查看 ModelEngine-Group/nexent 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
volcengine/OpenViking#8432 ·
维护者通常 1 天内回复
-
Failed chat turns are passed to the follow-up rewrite as completed history可能已有人在做 @hskhyl 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/auto-ontology#683 · 1 条评论 ·
维护者通常 1 天内回复
-
documentation task
难度 2/5 1-3 小时 新手友好度 62/100
-
Implement parse_url and accept http URLs for Pear backend可能已有人在做 @muskan-creates352 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
fedora-infra/anitya#2231 ·
维护者通常 2 天内回复
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMark未关闭
难度 2/5 1-3 小时 新手友好度 74/100
docling-project/docling-core#1067 ·
维护者通常 3 天内回复