Skip to content

test: 断言 InfiniteTimeSpan 关闭卸载计时器 - #23

Merged
residua1 merged 1 commit into
mainfrom
fix/adr-0042-infinite-timeout
Nov 9, 2026
Merged

residua1 merged 1 commit into
mainfrom
fix/adr-0042-infinite-timeout

Conversation

@residua1

@residua1 residua1 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

做了什么

ADR-0042 在 11-04 被改成「只接受有限值」,但实现从 1.0 起就接受 Timeout.InfiniteTimeSpan,1.2.0 已发布该取值。这里以实现为准,把 ADR 改回一致。

  • ADR-0042(Design 仓,直接进 main):决定与替代方案两处恢复 InfiniteTimeSpan,注明它随 1.2.0 一起发布、1.x 继续接受(ADR-0041)。
  • host/Program.cs:新增 A51b,设置 InfiniteTimeSpan 后在验证通过前保持等待,通过后释放成功。
  • README 两版与 PluginManagerOptions 的注释写清该取值的语义。

验证

  • dotnet run --project host -c Release:A51b 与既有全部断言通过,退出码 0。

ADR-0042 改回与实现一致:有限值校验、InfiniteTimeSpan 关闭计时器。
补 A51b 覆盖等待与释放,文档同步取值语义。
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T03:08:35.995575Z 94ba4b4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@residua1
residua1 merged commit 5e50d2f into main Nov 9, 2026
5 checks passed
@residua1
residua1 deleted the fix/adr-0042-infinite-timeout branch November 9, 2026 03:09
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