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

Fix #6608 normalized job_driver's agent life cycle code #6617

Merged
merged 9 commits into from
Jan 3, 2024

Conversation

robnagler
Copy link
Member

- Changed some conditionals to assertions to simplify code
- Locking around start and end of the agent life (_agent_life_change_lock)
- Ops are bound to driver in prepare_send, was too early in agent_start
- Fix #6613 _agent_start_delay is local to op
- Fix #6572 added more logging, fixed some messages, and normalized others
- Cleaned up some naming (opId > op_id when not in msg)
- Cascade exceptions into op.internal_error for better logging
- Improved error handling/logging in sirepo.status
Copy link
Member

@e-carlin e-carlin left a comment

Choose a reason for hiding this comment

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

Looks good! Two nits

@robnagler robnagler merged commit c12aedc into master Jan 3, 2024
2 checks passed
@robnagler robnagler deleted the 6608-improve-job-async branch January 3, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants