-
Notifications
You must be signed in to change notification settings - Fork 9
Ly/timeout #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zxypro1
wants to merge
20
commits into
serverless-cd:master
Choose a base branch
from
zxypro1:ly/timeout
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Ly/timeout #138
Conversation
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
Signed-off-by: 张星宇 <[email protected]>
Signed-off-by: 张星宇 <[email protected]>
This reverts commit 7bf512b.
Signed-off-by: 张星宇 <[email protected]>
- Change version from 0.0.57-beta.1 to 0.0.57 in package.json Signed-off-by: 张星宇 <[email protected]>
- Move the working directory validation before the path join operation - Reduce redundant path calculations
- Update @serverless-cd/engine version from 0.0.58-beta.1 to 0.0.58 - Modify error instance expectation in test from Error to Object
- 新增了基于步骤级别和全局级别的超时控制功能 - 步骤执行时启用超时定时器,超时则抛出TimeoutError - 支持步骤超时后根据continue-on-error决定是否继续执行后续步骤 - 全局超时触发时,取消所有步骤执行并结束任务 - 对超时状态进行统一管理,新增timeout-failure状态 - 引入性能统计数据记录初始化耗时、步骤耗时及总耗时 - 性能数据支持任务成功和失败两种状态的完整记录 - 实现性能数据的HTTP上报能力,包含任务ID与时间戳 - 新增多个单元测试覆盖超时逻辑及性能统计功能 - 优化了日志输出与状态变更逻辑,保证超时场景正确记录 - 添加超时插件模拟测试支持5秒模拟执行过程 - 修复步骤默认超时优先级处理,步骤配置优先于默认超时设置
- 将 @serverless-cd/engine 的版本号从 0.0.58 更新为 0.0.59-beta.1 - 标记为 beta 预览版本以供测试和反馈
此提交支持 `stepTimeout` 和 `timeout` 字段配置,用于设置步骤级和全局级的超时时间,并增加了相应的测试用例。
在全局超时发生时,增加终止所有子进程的逻辑,防止资源泄露。
在步骤超时发生时,增加终止所有子进程的逻辑,防止资源泄露。
- 将package.json中的版本号从0.0.59-beta.1更新到0.0.59-beta.2 - 修正了description中的拼写错误(sevrerless -> serverless) - 保持其他配置项不变,准备新版本发布
- 版本号从 0.0.59-beta.2 更新为 0.0.59 - 移除 beta 标签,标记正式发布 - 保持其他配置不变
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.
No description provided.