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

job_id partially cast in to str cause wrong job state #6542

Open
unkcpz opened this issue Jul 22, 2024 · 0 comments
Open

job_id partially cast in to str cause wrong job state #6542

unkcpz opened this issue Jul 22, 2024 · 0 comments

Comments

@unkcpz
Copy link
Member

unkcpz commented Jul 22, 2024

Problem manifest in aiidateam/aiida-hyperqueue#30
When the job_id of JobInfo is in int format, the job in joblist is not parsed into correct state. The job in QUEUED is not wait but continuously moving to finish state.

The bug came from job_id is cast into str in _get_jobs_with_scheduler which return List[str] for job_id list but in _get_jobs_from_scheduler may have job_id in any hashable type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants