Post-deploy housekeeping: build script order, source maps, ogimage.xcf, old static/ tree
维护者通常 8 天内回复
@stephaniehobson 已经在做这个了。
开始于 2026年11月9日。
评估
这个 Issue 还没有评估数据。
描述
Small things noticed while building the deploy pipeline (#480). None is urgent; each is independent, so split this up if that is easier.
-
npm run buildordersbuild:appbeforebuild:css.buildisnpm-run-all build:*, which runs alphabetically, so the Vite build runs before the Stylus compile it depends on. It only works today because both CI and the deploy workflow runnpm run build:cssas a separate step first. Makebuildself-sufficient (for examplebuild:1-css,build:2-app,build:3-version.json, or an explicitrun-s), then drop the separate step fromci.ymlanddeploy.yml. - Source maps ship to the public bucket.
vite.config.mjssetsbuild.sourcemap: truesonpm run sizecan inspect the bundle, which means roughly 3 MB of.mapfiles are uploaded on every deploy. Decide whether that is wanted. If not, generate maps only for the size command (for example via an env var) and leave the production build without them. -
public/img/ogimage.xcfis deployed. It is a GIMP source file and gets copied intobuild/and uploaded with everything else. Move it out ofpublic/(or intodocs/) so only the rendered PNG ships. - Old create-react-app
static/tree in the prod bucket. The May 2025 hand upload leftstatic/js/*and friends ings://moz-fx-data-static-websit-8565-ensemble. The Vite build usesassets/instead, so the old tree is dead weight. Once a prod deploy has succeeded and the CDN has moved on, deletestatic/from the bucket by hand (never with a root-levelrsync --delete;datasets/shares the bucket). Seedocs/architecture/deploy.md.
Refs WT-1916.
- 主要语言
- JavaScript
- 星标
- 21
- 派生
- 7
- 平均合并
- 6 天 6 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla/ensemble 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 8 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 8 天内回复
-
Refresh deploy docs and contribute.json now that stage deploys from main可能已有人在做 @stephaniehobson 今天认领。 未关闭
mozilla/ensemble#487 · 已指派 1 人 ·
维护者通常 8 天内回复
-
Replace metrics-graphics with Observable Plot可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 5/5 一周以上 新手友好度 35/100
维护者通常 8 天内回复
-
Add analytics.未关闭
难度 3/5 1-2 天 新手友好度 52/100
维护者通常 8 天内回复
相似的 Issue
-
ai core enhancement good first issue testing
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
-
cli: `studio --request <missing file>` answers with a raw ENOENT/EISDIR instead of a clear error可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
laaielichter/Ai-edit-studio#81 ·
维护者通常 1 天内回复