Skip to content
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

✨ TaskContext 新增expectTriggerTime字段,用来传输该任务实际运行的数据周期。 #899

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yuhan0501
Copy link

What is the purpose of the change

#898
在重跑实例的时候,TaskContext 能够获取到这个实例首次被触发的时间。

Brief changelog

1.TaskContext 新增expectTriggerTime字段
2.修改其余各处需要给 TaskContext 赋值的地方

Verifying this change

已经自测通过:
image

Do I need to test?
Has testing been completed?
已经完成测试
Test method?
1.运行一个任务
2.在实例列表重新运行这个实例
3.观察收到的expectTriggerTime是否为首次任务运行的时间

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 3 checklist before request the community to review your PR.

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Follow the git commit specification
    • feat: xxx -> The feat type is used to identify production changes related to new backward-compatible abilities or functionality.
    • perf: xxx -> The perf type is used to identify production changes related to backward-compatible performance improvements.
    • fix: xxx -> The fix type is used to identify production changes related to backward-compatible bug fixes.
    • docs: xxx -> The docs type is used to identify documentation changes related to the project - whether intended externally for the end users (in case of a library) or internally for the developers.
    • test: xxx -> The test type is used to identify development changes related to tests - such as refactoring existing tests or adding new tests.
    • refactor: xxx -> The refactor type is used to identify development changes related to modifying the codebase, which neither adds a feature nor fixes a bug - such as removing redundant code, simplifying the code, renaming variables, etc.

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.

None yet

1 participant