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

Cast job_id to str to conform with type of _jobs_cache #6543

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Jul 22, 2024

fixes #6542

As @sphuber pointed out in aiidateam/aiida-hyperqueue#30 (comment), this is only a workaround. The ultimate solution should be using dataclass for JobInfo.

@unkcpz unkcpz force-pushed the fix/6542/cast-job-id-to-str-in-update-job-info branch from 780017c to ce3b1ee Compare July 22, 2024 09:12
@unkcpz unkcpz force-pushed the fix/6542/cast-job-id-to-str-in-update-job-info branch from ce3b1ee to 5d96167 Compare July 22, 2024 09:13
@unkcpz
Copy link
Member Author

unkcpz commented Jul 22, 2024

TBH, I am very confusing here. I give up on this fix can not get my head right with these types.

@unkcpz unkcpz closed this Jul 22, 2024
Copy link

codecov bot commented Oct 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.82%. Comparing base (ef60b66) to head (5d96167).
Report is 118 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6543      +/-   ##
==========================================
+ Coverage   77.51%   77.82%   +0.31%     
==========================================
  Files         560      564       +4     
  Lines       41444    41926     +482     
==========================================
+ Hits        32120    32623     +503     
+ Misses       9324     9303      -21     

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

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.

job_id partially cast in to str cause wrong job state
1 participant