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

Init global state within pipeline #2577

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

andyfengHKU
Copy link
Contributor

@andyfengHKU andyfengHKU commented Dec 13, 2023

Initialize global state only before a pipeline is going to be executed. This ensures a child pipeline can access the result of its parent's pipeline.

Note that we could remove the lock at initialization stage if the task schedular can notify when a new task is being registered.

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (60ebb05) 93.16% compared to head (24ae736) 93.16%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2577      +/-   ##
==========================================
- Coverage   93.16%   93.16%   -0.01%     
==========================================
  Files        1027     1027              
  Lines       38418    38414       -4     
==========================================
- Hits        35793    35787       -6     
- Misses       2625     2627       +2     

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

@andyfengHKU andyfengHKU merged commit ac33484 into master Dec 13, 2023
14 checks passed
@andyfengHKU andyfengHKU deleted the init-gloabl-state-within-pipeline branch December 13, 2023 06:28
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

2 participants