Skip to content

feat: create tasks to clean sandbox store#1

Open
natthan-pigoux wants to merge 13 commits intochrisburr:feat/tasksfrom
natthan-pigoux:feat/tasks_clean_sb_store
Open

feat: create tasks to clean sandbox store#1
natthan-pigoux wants to merge 13 commits intochrisburr:feat/tasksfrom
natthan-pigoux:feat/tasks_clean_sb_store

Conversation

@natthan-pigoux
Copy link
Copy Markdown

No description provided.

@natthan-pigoux natthan-pigoux changed the title Feat/tasks clean sb store feat: create tasks to clean sandbox store Mar 24, 2026
@natthan-pigoux
Copy link
Copy Markdown
Author

DIRACGrid#842

@chrisburr chrisburr force-pushed the feat/tasks branch 6 times, most recently from 313b805 to 65f2e76 Compare March 27, 2026 12:05
@chrisburr chrisburr force-pushed the feat/tasks_clean_sb_store branch 2 times, most recently from c364a62 to a17e121 Compare April 1, 2026 20:51
@chrisburr chrisburr force-pushed the feat/tasks branch 2 times, most recently from 14fa1d3 to f8313ef Compare April 2, 2026 09:21
chrisburr and others added 7 commits April 2, 2026 09:46
* feat: add diracx-tasks

---------

Co-authored-by: Christophe Haen <christophe.haen@cern.ch>
The _validate_guid function was forcing GUIDs to uppercase, causing
FID mismatches in downstream systems (e.g. RootIOHandler) that perform
case-sensitive comparisons against the file's original GUID.
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.8...v0.15.9)
- [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.0](pre-commit/mirrors-mypy@v1.19.1...v1.20.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
The variable signature used for dependency injection violates the
Liskov Substiution Principle and makes it impossible to run type
checkers without ignore comments.
Add __init__.py to test subdirectories and diracx-tasks/src/diracx/tasks/jobs/
that were implicit namespace packages. Enable the INP ruff ruleset to prevent
this class of bug in the future.
Re-export NoTransaction from the plumbing layer so task authors
can import from diracx.tasks.depends rather than reaching into
plumbing internals.
Use diracx.tasks.depends instead of the non-existent .depends module.
Populate jobs/__init__.py to re-export CleanSandboxStoreTask as
expected by the entry point definition.
Add a parametrized test that calls .load() on every registered diracx.*
entry point. This catches broken imports that would otherwise only
surface at runtime.
Update documentation examples to import NoTransaction and
CallbackSpawner from diracx.tasks.depends instead of reaching
into diracx.tasks.plumbing.depends. Also add CallbackSpawner
to the public re-export.
@chrisburr chrisburr force-pushed the feat/tasks_clean_sb_store branch from f8067e0 to bf7b1a2 Compare April 14, 2026 09:14
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.

2 participants