Skip to content

chore(build): drop lite build variant and lite docker images - #3345

Open
PIKACHUIM wants to merge 3 commits into
mainfrom
chore/remove-lite-build
Open

PIKACHUIM wants to merge 3 commits into
mainfrom
chore/remove-lite-build

Conversation

@PIKACHUIM

Copy link
Copy Markdown
Member

Summary / 摘要

移除 lite 版本的后端构建与 Docker 发布,后续仅保留标准版。

  • 用户可见:Release Assets 不再包含 *-lite.zip、*-lite.tar.gz、md5*-lite.txt;Docker 不再发布 -lite、-lite-ffmpeg、-lite-aria2、-lite-aio 标签。

  • build.sh:删除 lite 参数识别、useLite 分支、产物 -lite 后缀与 MD5 文件名变体;前端 dist 始终下载 openlist-frontend-dist-*.tar.gz。

  • .github/workflows/release.yml:矩阵去掉 build-type: ['standard', 'lite'],Build 步骤不再传 lite。

  • .github/workflows/release_docker.yml:删除 ARTIFACT_NAME_LITE、build_binary_lite、release_docker_lite。

  • This PR has breaking changes.
    / 此 PR 包含破坏性变更。

  • This PR changes public API, config, storage format, or migration behavior.
    / 此 PR 修改了公开 API、配置、存储格式或迁移行为。

  • This PR requires corresponding changes in related repositories.
    / 此 PR 需要关联仓库同步修改。

Related repository PRs / 关联仓库 PR:

Testing / 测试

  • go test ./...
    / 未执行:本次仅改动构建脚本与 workflow,未涉及 Go 代码。
  • Manual test / 手动测试:
    / 手动验证:
    - 三个工作流经 YAML 解析通过;release.yml 作业为 prerelease, release,release_docker.yml 作业为 build_binary, release_docker。
    - 全仓检索确认无 lite 构建残留(仅剩第三方库 golang-sdk-lite 名称)。
    - 本机为 Windows 且无 bash,未执行 bash -n 与实际构建。

Checklist / 检查清单

  • I have read CONTRIBUTING.
    / 我已阅读 CONTRIBUTING。
  • I confirm this contribution follows the repository license, contribution policy, and code of conduct.
    / 我确认此贡献符合仓库许可证、贡献规范和行为准则。
  • I have formatted the changed code with gofmt, go fmt, or prettier where applicable.
    / 我已按适用情况使用 gofmt、go fmt 或 prettier 格式化变更代码。
  • I have requested review from relevant maintainers or code owners where applicable.
    / 我已在适用情况下请求相关维护者或代码所有者审查。

AI Disclosure / AI 使用声明

  • This PR includes AI-assisted content.
    / 此 PR 包含 AI 辅助内容。

Tools used / 使用工具:

  • ChatGPT
  • Codex
  • GitHub Copilot
  • Claude
  • Gemini
  • Other (please specify) / 其他(请注明): CodeBuddy

Usage scope / 使用范围:

  • Code generation / 代码生成

  • Refactoring / 重构

  • Documentation / 文档

  • Tests / 测试

  • Translation / 翻译

  • Review assistance / 审查辅助

  • I have reviewed and validated all AI-assisted content included in this PR.
    / 我已审核并验证此 PR 中的所有 AI 辅助内容。

  • I have ensured that all AI-assisted commits include Co-Authored-By attribution.
    / 提交未附加 Co-Authored-By,如项目要求可补充。

  • I can reproduce all AI-assisted content included in this PR without any AI tools.
    / 我可以在没有任何 AI 工具的情况下重现此 PR 中包含的所有 AI 辅助内容。

jyxjjj
jyxjjj previously requested changes Nov 13, 2026

@jyxjjj jyxjjj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[P1] build.sh 的 FetchWebRelease 删除 grep -v lite 后,会同时匹配标准版和 lite 版前端包。当前前端最新 Release v4.2.9 仍有这两个 tar.gz,release_tar_url 会包含换行,传给 curl 时成为无效 URL,标准版 Release 构建也会失败。要改成精确匹配标准包,或保留排除 lite 的条件,FetchWebRolling 同理。关联前端改动尚未发布时,后端不能假设旧 Release 的 lite 产物已经消失。

前端产物:https://github.com/OpenListTeam/OpenList-Frontend/releases/tag/v4.2.9

-- 人工核查认为 AI 本次评论可能有误


Reviewed or refined by GPT-6.1-Sol Medium

PIKACHUIM and others added 2 commits November 13, 2026 11:41
Releases from OpenList-Frontend still ship both
openlist-frontend-dist-<ver>.tar.gz and openlist-frontend-dist-lite-<ver>.tar.gz,
so matching "openlist-frontend-dist" alone returns two URLs. The multi-line
value reached curl as a single malformed argument and aborted release builds
(curl exit 3) before the archive was unpacked, breaking every release matrix
job and the docker release build until the frontend drops its lite artifact.

Match the standard name explicitly and require exactly one candidate, failing
with the offending list instead of handing a bad URL to curl.
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.

2 participants