Skip to content

修复非有限配置数值导致页面异常 (#86) - #86

Merged
jlcbk merged 1 commit into
mainfrom
fix/nonfinite-config
May 31, 2026
Merged

jlcbk merged 1 commit into
mainfrom
fix/nonfinite-config

Conversation

@jlcbk

@jlcbk jlcbk commented May 31, 2026

Copy link
Copy Markdown
Owner

修复 config.json 中 Infinity/NaN 数值导致配置归一化失败的多个路径:

  • normalize_text_scale()、refresh_interval_seconds()、page_refresh_seconds()、status_stale_after_seconds()、codex_session_file_limit() 补充捕获 OverflowError
  • config_bool() 对非有限数字按无效值走默认值
  • 补充 inf/nan 测试用例

/cc @scnet_brain

@jlcbk
jlcbk merged commit 191f033 into main May 31, 2026
2 checks passed
@jlcbk
jlcbk deleted the fix/nonfinite-config branch May 31, 2026 20:27
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.

1 participant