<#3195 Rename Slurm task and sbatch config for imp...
# flyte-github
c
#3195 Rename Slurm task and sbatch config for improved UX Pull request opened by JiangJiaWei1103 ## Tracking issue flyteorg/flyte#5634 ## Why are the changes needed? The original task config naming for
SlurmTask
,
SlurmShellTask
, and
SlurmFunctionTask
is not intuitive. Additionally,
sbatch_conf
is inconsistent with the naming convention used for other options, such as
ssh_config
. ## What changes were proposed in this pull request? 1. Rename
Slurm
to
SlurmConfig
2. Rename
SlurmRemoteScript
to
SlurmScriptConfig
3. Rename
SlurmFunction
to
SlurmFunctionConfig
4. Rename
sbatch_conf
to
sbatch_config
## How was this patch tested? This patch is tested by running three task type examples in the following repo: https://github.com/JiangJiaWei1103/Flyte-Demos/tree/main/slurm_agent/snacks/new_config_name ### Setup process For agent local test, the setup process is summarized as follows: git clone https://github.com/flyteorg/flytekit.git gh pr checkout 3195 make setup && pip install -e . cd plugins/flytekit-slurm && pip install -e . ### Screenshots [Screenshot 2025-03-17 at 9 59 52 PM](https://private-user-images.githubusercontent.com/36886416/423505593-d2dbdd2c-8737-472d-b543-727ebe7771b3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDI0ODM3OTIsIm5iZiI6MTc0MjQ4MzQ5MiwicGF0aCI6Ii8zNjg4NjQxNi80MjM1MDU1OTMtZDJkYmRkMmMtODczNy00NzJkLWI1NDMtNzI3ZWJlNzc3MWIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAzMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMzIwVDE1MTEzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3OWY2NjM5NTMyMWRiNDNlMGMyOTFiMjgzZjYzZDBmZmY0NDUzZTMxY2VhN2FhZjdmYzcwYjdjNTE5OGZlMjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.M6W8d1rTWTi-KqNCD0k2cJVTj2fNHkwXhzA0SzHQ_V0) ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs • #3150 • #3159 ## Docs link N/A ### Summary by Bito This PR refactors the codebase from agent-based to connector-based terminology, improving clarity and consistency across multiple plugins. Components have been renamed to more intuitive names, particularly in the flytekit-slurm plugin. Core components now support both synchronous and asynchronous execution with enhanced exception handling, while streamlining integration between modules and introducing new capabilities like GeoPandas plugin. Unit tests added: False Estimated effort to review (1-5, lower is better): 5 flyteorg/flytekit