Repository navigation
feat(config/1.4): 支持重试部分命令,并允许指定命令重试间隔 - #408
Open
DuckDuckStudio wants to merge 4 commits into
Open
DuckDuckStudio wants to merge 4 commits into
DuckDuckStudio wants to merge 4 commits into
Conversation
DuckDuckStudio
marked this pull request as ready for review
September 27, 2026 17:45
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
September 27, 2026 18:33
2691a91 to
7214568
Compare
DuckDuckStudio
changed the base branch from
main
to
refactor/plr0402/r0402/from-import
September 27, 2026 18:35
DuckDuckStudio
added this pull request to stack #410
September 27, 2026 18:35
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
September 27, 2026 18:53
7214568 to
879e36a
Compare
DuckDuckStudio
removed this pull request from stack #410
September 27, 2026 18:53
DuckDuckStudio
changed the base branch from
refactor/plr0402/r0402/from-import
to
fix/func/constant/paths/SUNDRY_LOCATION
September 27, 2026 18:54
DuckDuckStudio
added this pull request to stack #412
September 27, 2026 18:54
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
September 27, 2026 19:03
879e36a to
d6cacca
Compare
Base automatically changed from
fix/func/constant/paths/SUNDRY_LOCATION
to
main
September 27, 2026 19:07
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
September 27, 2026 19:07
d6cacca to
37ab2ea
Compare
DuckDuckStudio
removed this pull request from stack #412
September 27, 2026 19:16
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
2 times, most recently
from
September 27, 2026 19:59
d1b9aa7 to
6f9c591
Compare
DuckDuckStudio
added this pull request to stack #417
September 27, 2026 20:00
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
September 28, 2026 03:38
6f9c591 to
6fa29e4
Compare
DuckDuckStudio
removed this pull request from stack #417
September 28, 2026 04:56
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
September 28, 2026 04:57
6fa29e4 to
67e0a05
Compare
DuckDuckStudio
added this pull request to stack #420
September 28, 2026 04:57
DuckDuckStudio
removed this pull request from stack #420
September 28, 2026 05:23
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
September 28, 2026 05:24
67e0a05 to
9977d5d
Compare
DuckDuckStudio
added this pull request to stack #422
September 28, 2026 05:24
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
2 times, most recently
from
October 1, 2026 10:38
ca2eb68 to
1a37793
Compare
DuckDuckStudio
removed this pull request from stack #422
October 1, 2026 11:17
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
October 1, 2026 11:29
1a37793 to
be787d0
Compare
DuckDuckStudio
added this pull request to stack #433
October 1, 2026 11:42
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
October 1, 2026 12:12
be787d0 to
0dd7871
Compare
DuckDuckStudio
removed this pull request from stack #433
October 1, 2026 12:13
DuckDuckStudio
changed the base branch from
main
to
chore/config-version-update/1.4
October 1, 2026 12:14
DuckDuckStudio
added this pull request to stack #435
October 1, 2026 12:14
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
2 times, most recently
from
October 9, 2026 06:41
d1edae7 to
9a2ddae
Compare
在有些地方(例如 Sundry 入口 `sundry.py`)会需要 `function.constant.general` 模块的其他常量(`SUNDRY_VERSION` 等),但不需要 `RETRY_INTERVAL`。 原先即使使用 `from...import` 也会初始化 `RETRY_INTERVAL`,如果这时初始化出现了错误(读取配置文件失败),就会输出一条意外的错误信息。 这个错误信息在初始化配置文件时显得格外意外。 这个提交改用 `__getattr__` 函数,在第一次读取 `RETRY_INTERVAL` 时(`RETRY_INTERVAL is None`)调用 `_get_retry_interval` 函数初始化,后续(`RETRY_INTERVAL is not None`)直接使用之前初始化的值。
此修改依赖于配置文件 1.4 中的 git.retry_interval 配置
DuckDuckStudio
force-pushed
the
feat/config/1.4/git.retry_interval
branch
from
October 9, 2026 07:49
9a2ddae to
7ca4dee
Compare
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.
取代
解决
相关
Stack created with GitHub Stacks CLI • Give Feedback 💬