Skip to content

fix: 重放 dev-fix 最新稳定性修复 - #156

Merged
Eynzof merged 11 commits into
mainfrom
dev-fix
Aug 13, 2026
Merged

Eynzof merged 11 commits into
mainfrom
dev-fix

Conversation

@Eynzof

@Eynzof Eynzof commented Aug 12, 2026

Copy link
Copy Markdown
Owner

变更

  • 将 dev-fix 重放到当前 origin/main@933efec173,使 main 成为分支的直接祖先,PR 仅包含 9 个重放提交。
  • 识别并跳过已由 PR chore: 合并 dev-020 到 main #143 压缩合入、且树对象完全一致的 dev-020 历史,避免错误重放 4258 个旧提交。
  • 保留 dev-fix 中的终端/进程易用性、RTK 命令重写、便携运行时、cron、飞书懒加载、系统提示精简、Todo API 与相关测试调整。
  • rebase 唯一冲突位于中英文 FORK_NOTES;保留现有 P-059/P-060,并把新增终端补丁登记为唯一的 P-061。

原因

dev-fix 同时包含旧上游历史、已压缩进入主线的 dev-020,以及后续新增提交。直接执行普通 rebase 会生成 4258 个待重放提交,既不符合实际差异,也会污染 PR 历史。

影响

本 PR 让最新 dev-fix 变更基于当前主线接受 CI 验证,同时不重复引入已经进入 main 的 dev-020 内容。

验证

  • git merge-base --is-ancestor origin/main HEAD:通过。
  • git rev-list --left-right --count origin/main...HEAD:0 9。
  • 远端 dev-fix SHA 已核对为 711315c510045ab68d2c7ac05206f9e1fcc17177。
  • git diff --check origin/main...HEAD:未通过,发现 14 个来自原分支内容的文件末尾新增空行;按要求暂未修改,交由本 PR 的 CI 进一步确认。

MaxwellGengYF and others added 11 commits August 12, 2026 22:13
The auto-merge combined dev-fix's orjson-based todo tests with dev-020's
import header (json only); the missing import made 22 verification-gate /
regression tests fail with NameError.
…heduler

The subprocess-env guard (test_subprocess_env_guard) flags raw
os.environ.copy() spawn sites; the merged line uses build_subprocess_env()
which preserves the exact legacy behavior while scrubbing secrets.
The merged feishu adapter kept the lazy-load design (module __getattr__ +
_lark_bindings) but the conflict resolution dropped check_feishu_requirements.
Re-added it with the check-only semantics (tools.lazy_deps.ensure, no SDK
import/bind) that tests/gateway/test_feishu_lazy_import.py and the platform
connected-checker guard expect; actual SDK imports stay lazy.
The merged adapter kept dev-fix's lazy module design (no module-level
None placeholders; __getattr__ + _lark_bindings) but the auto-merged
static request builders used dev-020's 'if X is not None:' guard, which
NameErrors when the SDK names are unbound (module __getattr__ does not
fire for direct global references inside the module). Converted the 14
static builder guards to dev-fix's '"X" in globals()' pattern so they
fall back to SimpleNamespace until the SDK is actually bound.
@Eynzof
Eynzof marked this pull request as ready for review August 13, 2026 01:14
@Eynzof
Eynzof merged commit 5383307 into main Aug 13, 2026
48 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.

2 participants