Repository navigation
fix: 保留 Label Studio 既有直连入口 - #61
Merged
bioinformatist merged 2 commits intoOct 15, 2026
Merged
Conversation
bioinformatist
deleted the
codex/preserve-label-studio-on-main-20261015
branch
October 15, 2026 11:16
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.
问题与修复
从当前
main重建 host 116,会把现有 Label Studio 的 HTTP 直连入口改回旧的 Caddy/2053 配置,并移除 TCP 8085 的回程路由规则。现有 OpenWrt DNAT 仍指向192.168.0.116:28088,与该主线配置不匹配。此前已投入运行的直连配置已在 PR #59 提出,也保存在本地运维提交c6ac3ec9d0dbc0dcc5dbf855faa3bed4d42fdc91,尚未进入主线。本 PR 的 Label Studio 功能补丁及三个对应文件与 #59 完全相同,基线更新到包含继承锁的最新 main;#59 已按维护者要求关闭。原始故障复现、抓包和公网验证记录保留在 #59。将该提交中已有的 Label Studio 配置补入最新
main:http://8.sctmes.com:28088,容器发布192.168.0.116:28088:8085。label-studio-return-route.service,优先级 8990 的规则让 TCP 源端口 8085 的响应使用主路由表,避开 Mihomo TUN。入口修复修改三个相关文件,另在下游维护策略中添加一个精确的生成文件项。
flake.lock与最新main完全一致,保留 PR #60 的上游继承;主线其他模块和登录 shell 配置没有改动。验证与当前运行状态
maine0b93cadba82651b05e58a9eef0d7fefa27b6a66的隔离工作树。git diff --check通过,flake.lock无差异。0.160.0。28088登录入口返回 HTTP 200,Docker 端口和优先级 8990 的路由规则正确,Label Studio PostgreSQL healthy,系统没有失败单元。1.23.2,revision 为df96d79183156e556d91825d15fa7721f1145e1a。安装包元数据仍显示1.23.0,因此不以该字段判断降级。这个修复候选尚未部署。等待现有 Maintenance Gate,通过并合并后,再从精确的干净 main 重建,完成 Codex 继承与生产入口的共同验收。
CI 门禁修正
首次 CI 唯一拦截项是
label-studio-compose.yml.drv。已核对其生成方式:派生只写出约 1.6 KB 的 Compose 文本,未执行 Docker 镜像或服务构建。下游已有ddns-go-config.yaml.drv等主机专属生成文件项,此处补充精确的-label-studio-compose.yml.drv;该项属于 host 116 的覆盖策略。本地调用 CI 脚本的真实分类函数复现:修改前,该 CI 派生被拦截;修改后获准,Label Studio 应用/镜像、Docker 和 PostgreSQL 的负例仍被拦截。有效策略比较确认仅新增这一项;脚本语法和差异格式检查通过。完整缓存门禁仍交给新一轮 CI,运行主机继续保留已恢复的上一代系统。