Skip to content

Conversation

chaen
Copy link
Contributor

@chaen chaen commented Aug 14, 2025

And again !
Something which is in utilities should be usable by everything (Client,Agent,Services, etc). So can we please stop importing DB in utilities ?

BEGINRELEASENOTES

*WMS
FIX: Do not import DB at the top of the utility module

ENDRELEASENOTES

@chaen chaen requested review from fstagni and atsareg as code owners August 14, 2025 12:41
@chrisburr
Copy link
Member

Can we move these functions to WorkloadManagementSystem/DB/StatusUtils.py?

@chaen chaen force-pushed the v9.0_fix_utilityAgain branch from 43437d8 to 412e909 Compare August 26, 2025 09:45
@fstagni
Copy link
Contributor

fstagni commented Aug 28, 2025

The PR is OK (basically, you just moved the code to another module). The CI is failing though, but clearly unrelated to these changes, maybe it's another effect of DIRACGrid/diracx#634 ?

@chaen chaen closed this Aug 29, 2025
@chaen chaen reopened this Aug 29, 2025
@fstagni fstagni merged commit f86225d into DIRACGrid:integration Aug 29, 2025
118 of 129 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep:ignore Prevent sweeping from being ran for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants