-
Notifications
You must be signed in to change notification settings - Fork 12
# 🚀 Task Spawning for Map Steps #213
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
base: 9-11-root-map-support
Are you sure you want to change the base?
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
View your CI Pipeline Execution ↗ for commit f462cf0
☁️ Nx Cloud last updated this comment at |
9bd624e
to
66e3c3b
Compare
ce696e8
to
850de93
Compare
850de93
to
05e2388
Compare
…low management - Introduced collect_perf_data.sh for performance testing of large array handling - Updated start_ready_steps function to handle empty map steps and initialize task states - Added migration script to modify start_ready_steps for correct task spawning - Created tests for map step message queueing, delayed message scheduling, and task spawning - Ensured proper handling of initial_tasks, task indices, and step status transitions - Included tests for both map and single steps to verify correct task creation and message dispatching
05e2388
to
f462cf0
Compare
c0fc2a1
to
2e5052c
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-213.pgflow.pages.dev 📝 Details:
_Last updated: _ |
🔍 Preview Deployment: Playground✅ Deployment successful! 🔗 Preview URL: https://pr-213--pgflow-demo.netlify.app 📝 Details:
_Last updated: _ |
Summary
Implements task spawning functionality for map steps, enabling parallel task creation based on array input length. This PR enhances
start_ready_steps()
to generate N tasks for map steps while maintaining backward compatibility with single steps.What's New
initial_tasks
count[]
outputgenerate_series()
Implementation Details
start_ready_steps()
to handle both single and map step typesCROSS JOIN LATERAL generate_series()
for efficient batch task creationTesting
Next Steps
This completes the task spawning phase. Next PRs will implement:
start_tasks()
complete_task()
maybe_complete_run()
Part of the map infrastructure implementation (PR #4 of 8)