docs(env): 补上 AI_RENDER3D_UNLIMITED_USER_IDS - #892
Merged
xiaocheny214 merged 1 commit intoAug 28, 2026
Merged
Conversation
1024XEngineer#870 加了这个开关但没写进 .env.example,部署时也就没人加 —— 于是那个 PR 从合入到今天一直是零效果,而空名单时代码「对谁都不成立」,没有任何一处会报错。 Closes 1024XEngineer#891
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #892 +/- ##
=======================================
Coverage 86.51% 86.51%
=======================================
Files 299 300 +1
Lines 23151 23175 +24
Branches 3431 3437 +6
=======================================
+ Hits 20029 20050 +21
- Misses 2168 2171 +3
Partials 954 954
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
核对了新增模板键与 AIProviderSettings.render3d_unlimited_user_ids 的 AI_ 前缀映射、空字符串默认值、Compose 对 .env 的注入,以及资产数与动作数两道额度消费者;这次文档补充与现有运行时契约一致,未发现会造成回归或误导部署的具体问题。
验证方面,git diff --check 与静态契约检查通过。尝试运行 tests/test_env_example_keys_are_live.py 和 tests/test_render3d_unlimited_users.py,但当前 runner 未安装 uv/pytest,因此测试套件未实际执行。
Contributor
Author
|
Fenno 已审完零意见,全绿。生产 .env 已经补上并 up -d 生效(名单 [1,2,3]),这个 PR 只是把键补进 example,免得下一个部署的人再踩一次。 |
xiaocheny214
approved these changes
Aug 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #891
#870 加了「组内账号免 3D 额度」的开关,但那个键没进
.env.example,部署时也没人加。结果是 PR 合入并部署之后生产上一直是空名单,而代码里「空名单时对谁都不成立」——1/2/3 和所有人一样卡在 2 个资产上限,零效果且不报错。生产 .env 已补上并
up -d生效(restart不重读 .env)。这个 PR 只把键补进 example,让下一个部署的人不必读源码才知道它存在。