<#6325 [flytepropeller][flyteidl][flyteconnector][...
# flyte-github
c
#6325 [flytepropeller][flyteidl][flyteconnector][flytagent] Connector Service and Connnector IDL Pull request opened by Future-Outlier ## Tracking issue #3936 ## Why are the changes needed? Given there's a name collision between LLM agent and flyte agent, we are going to rename flyte agent to flyte connectors. ## What changes were proposed in this pull request? 1. you can't enable
agent-service
and
connector-service
now in the same time, propeller will crash because the task type is ambiguous. https://github.com/flyteorg/flyte/blob/new-proto-agent/flytepropeller/pkg/controller/nodes/task/handler.go#L360-L363 2. new connector IDL succeed when sending gRPC request to agent server with old flytekit. ## How was this patch tested? from flytekit import task, workflow from flytekit.sensor.file_sensor import FileSensor sensor = FileSensor(name="test_file_sensor") @workflow def wf(): sensor(path=".") ### new flyte and old flytekit single binary with this branch and flytekit with master branch at 5/11. flytekit commit hash: 0214448e96c18ecfcbc050d767be77966f7191fb 1. enable
connector-service
plugin. tasks: task-plugins: enabled-plugins: - container - sidecar - K8S-ARRAY - connector-service - echo connector-service: defaultConnector: endpoint: "localhost:8000" insecure: true defaultTimeout: 100s [image](https://private-user-images.githubusercontent.com/76461262/421378061-0bcfb3bc-f0a0-4004-b1e7-9b1a85341fa7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDIzODcyNzAsIm5iZiI6MTc0MjM4Njk3MCwicGF0aCI6Ii83NjQ2MTI2Mi80MjEzNzgwNjEtMGJjZmIzYmMtZjBhMC00MDA0LWIxZTctOWIxYTg1MzQxZmE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAzMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMzE5VDEyMjI1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNiM2Y3YWZjNDJmMTQwN2IxODJkMDBiNmJkZTFmZDhlY2EyMzhkODJlMzViMjk3NjZhNTE2MmNlNmViZGFhNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SpWGbiY2cIQ9GMV1YyyEVAy-7tdyR2spd9aD6xMnNuk) 1. enable
agent-service
plugin. tasks: task-plugins: enabled-plugins: - container - sidecar - K8S-ARRAY - agent-service - echo agent-service: defaultAgent: endpoint: "localhost:8000" insecure: true defaultTimeout: 100s [image](https://private-user-images.githubusercontent.com/76461262/421379633-04e42818-4a62-4f6b-aa25-91eb6df098af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDIzODcyNzAsIm5iZiI6MTc0MjM4Njk3MCwicGF0aCI6Ii83NjQ2MTI2Mi80MjEzNzk2MzMtMDRlNDI4MTgtNGE2Mi00ZjZiLWFhMjUtOTFlYjZkZjA5OGFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAzMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMzE5VDEyMjI1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTczZWM2NjU2YzI1MmJiYzNkMmMxMTRhMWI5NmU2ZjQ1OGJkYjRkODgyM2M5ODJhZjIxYjUzNWQ1OTM4NWExYjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Bt1Emx0UJMk0y8_LvlfZifiREMi-_PygCDDfUCwKyDk) ### Labels Please add one or more of the following labels to categorize your PR: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link flyteorg/flyte