[Bug]: InputDataAgent always uses FileCatalogClient

Open Beginner friendly
#8,752 1 comment 0 reactions 1 assignee View on GitHub

@maxnoe is already working on this.

Since Sep 17, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Start at src/DIRAC/TransformationSystem/Agent/InputDataAgent.py around line 48 and inspect how the input data agent obtains its file-catalog client. Compare that path with the existing FileCatalog abstraction and verify the agent uses the configured catalog, including RucioFileCatalog, rather than always selecting FileCatalogClient.

Written by the indexing model from the issue text.

Description

Bug
Search before creating an issue
  • I have searched existing issues and confirmed this is not a duplicate
Bug Description

The InputDataAgent directly instantiates the FileCatalogClient instead of going through FileCatalog, making it impossible to use the InputDataAgent when the main file catalog of a DIRAC deployment is a RucioFileCatalog.

Steps to Reproduce

https://github.com/DIRACGrid/DIRAC/blob/36806a11894e7330005b9fceaa42444a7ffb64f7/src/DIRAC/TransformationSystem/Agent/InputDataAgent.py#L48

Expected Behavior

Use FileCatalog to obtain the correct client for the current configuration.

Actual Behavior

No response

Environment

No response

Relevant Log Output

Additional Context

No response

Dominant language
Python
Stars
126
Forks
191
Avg merge
1d 13h
Merged PRs (30d)
33

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DIRACGrid/DIRAC

All issues in DIRACGrid/DIRAC

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.