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

bugfix: add tests for workflow return values and fix null handling #94

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

wooln
Copy link
Contributor

@wooln wooln commented Dec 27, 2024

  • Fix null value handling for execute again
  • Add unit test and sample for different workflow return

execute的返回结果null和empty时候,再用同一gid再次发起均没有返回的result的json字段,既byte长度是0不记录也不区分,这些单测和针对Result是null的处理都是建立在务端这feature基础上。

Copy link

codecov bot commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.05%. Comparing base (2150dcc) to head (a121932).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   70.02%   70.05%   +0.02%     
==========================================
  Files          45       45              
  Lines        1998     2000       +2     
  Branches      194      195       +1     
==========================================
+ Hits         1399     1401       +2     
  Misses        561      561              
  Partials       38       38              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wooln wooln force-pushed the bugfix-workflow-return-value branch from 254a47b to 563015e Compare December 27, 2024 05:40
@wooln wooln changed the title test(DtmSample): add tests for workflow return values and fix null handling bugfix: add tests for workflow return values and fix null handling Dec 27, 2024
@wooln wooln force-pushed the bugfix-workflow-return-value branch 2 times, most recently from 3a4b89e to e991c7c Compare December 27, 2024 06:13
- Fix null value handling for execute again
- Add unit test and sample for different workflow return
@wooln wooln force-pushed the bugfix-workflow-return-value branch from e991c7c to a121932 Compare December 27, 2024 11:05
@catcherwong catcherwong merged commit 477b12b into dtm-labs:main Dec 31, 2024
4 of 5 checks passed
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