Skip to content

docs(env): 补上 AI_RENDER3D_UNLIMITED_USER_IDS - #892

Merged
xiaocheny214 merged 1 commit into
1024XEngineer:mainfrom
johnnyzhang-eng:docs/env-example-3d-unlimited
Aug 28, 2026
Merged

docs(env): 补上 AI_RENDER3D_UNLIMITED_USER_IDS#892
xiaocheny214 merged 1 commit into
1024XEngineer:mainfrom
johnnyzhang-eng:docs/env-example-3d-unlimited

Conversation

@johnnyzhang-eng

Copy link
Copy Markdown
Contributor

Closes #891

#870 加了「组内账号免 3D 额度」的开关,但那个键没进 .env.example,部署时也没人加。结果是 PR 合入并部署之后生产上一直是空名单,而代码里「空名单时对谁都不成立」——1/2/3 和所有人一样卡在 2 个资产上限,零效果且不报错

生产 .env 已补上并 up -d 生效(restart 不重读 .env)。这个 PR 只把键补进 example,让下一个部署的人不必读源码才知道它存在。

1024XEngineer#870 加了这个开关但没写进 .env.example,部署时也就没人加 —— 于是那个 PR
从合入到今天一直是零效果,而空名单时代码「对谁都不成立」,没有任何一处会报错。

Closes 1024XEngineer#891
@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
windup Ignored Ignored Preview Aug 28, 2026 2:23pm

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           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           
Flag Coverage Δ
backend 91.30% <ø> (-0.01%) ⬇️
frontend 80.51% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

核对了新增模板键与 AIProviderSettings.render3d_unlimited_user_idsAI_ 前缀映射、空字符串默认值、Compose 对 .env 的注入,以及资产数与动作数两道额度消费者;这次文档补充与现有运行时契约一致,未发现会造成回归或误导部署的具体问题。

验证方面,git diff --check 与静态契约检查通过。尝试运行 tests/test_env_example_keys_are_live.pytests/test_render3d_unlimited_users.py,但当前 runner 未安装 uv/pytest,因此测试套件未实际执行。

View job run

@johnnyzhang-eng

Copy link
Copy Markdown
Contributor Author

Fenno 已审完零意见,全绿。生产 .env 已经补上并 up -d 生效(名单 [1,2,3]),这个 PR 只是把键补进 example,免得下一个部署的人再踩一次。

@xiaocheny214
xiaocheny214 merged commit b910cb5 into 1024XEngineer:main Aug 28, 2026
10 checks passed
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.

AI_RENDER3D_UNLIMITED_USER_IDS 没进 .env.example,#870 合了之后一直是零效果

2 participants