Skip to content

optimize(api): make condition task precede more user-friendly#103

Merged
noneback merged 1 commit intononeback:mainfrom
Tangxinqi:issue/102
Aug 4, 2025
Merged

optimize(api): make condition task precede more user-friendly#103
noneback merged 1 commit intononeback:mainfrom
Tangxinqi:issue/102

Conversation

@Tangxinqi
Copy link
Contributor

Optimize ConditionTask.Precede by replacing i with len(cond.mapper) to resolve abnormal flow execution results caused by multiple calls to precede

…o resolve abnormal flow execution results caused by multiple calls to precede
Copy link
Contributor Author

@Tangxinqi Tangxinqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ap

@codecov
Copy link

codecov bot commented Aug 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.52%. Comparing base (f8e1652) to head (5ec09af).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   88.50%   88.52%   +0.01%     
==========================================
  Files          13       13              
  Lines         783      784       +1     
==========================================
+ Hits          693      694       +1     
  Misses         71       71              
  Partials       19       19              
Flag Coverage Δ
unittests 88.52% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@noneback noneback changed the title Optimize ConditionTask.Precede optimize(api): make condition task precede more user-friendly Aug 4, 2025
@noneback
Copy link
Owner

noneback commented Aug 4, 2025

LGTM

@noneback noneback closed this Aug 4, 2025
@noneback noneback reopened this Aug 4, 2025
@noneback noneback merged commit db2a424 into noneback:main Aug 4, 2025
3 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