-
Notifications
You must be signed in to change notification settings - Fork 9
Add request/response thrift types for start workflow http endpoint #729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughTwo new Thrift structs, Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant OrchestrationService
Client->>OrchestrationService: WorkflowStartRequest (nodeName, branch, startDate, endDate, partitionSpecFormat, partitionSpecMillis)
OrchestrationService-->>Client: WorkflowStartResponse (workflowId)
Poem
Warning Review ran into problems🔥 ProblemsGitHub Actions and Pipeline Checks: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository. Please grant the required permissions to the CodeRabbit GitHub App under the organization or repository settings. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
api/thrift/orchestration.thrift (2)
259-266: Document the request struct.
Add a brief comment aboveWorkflowStartRequestexplaining its purpose and expected parameters.
268-270: Document the response struct.
Add a comment forWorkflowStartResponseclarifying whatworkflowIdrepresents and its format.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)
📒 Files selected for processing (1)
api/thrift/orchestration.thrift(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (15)
- GitHub Check: api_tests
- GitHub Check: service_tests
- GitHub Check: online_tests
- GitHub Check: service_commons_tests
- GitHub Check: cloud_aws_tests
- GitHub Check: online_tests
- GitHub Check: aggregator_tests
- GitHub Check: cloud_gcp_tests
- GitHub Check: service_tests
- GitHub Check: cloud_aws_tests
- GitHub Check: flink_tests
- GitHub Check: flink_tests
- GitHub Check: cloud_gcp_tests
- GitHub Check: aggregator_tests
- GitHub Check: api_tests
🔇 Additional comments (1)
api/thrift/orchestration.thrift (1)
259-266: Validate field requirements.
Confirm which fields truly can be absent; e.g. shouldnodeNameorbranchberequiredinstead ofoptional?
) ## Summary Needed for orchestration service till we move over these thrift files ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for starting workflows with detailed parameters, including node name, branch, date range, and partition specifications. - Responses now include the workflow identifier when a workflow is started. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
) ## Summary Needed for orchestration service till we move over these thrift files ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for starting workflows with detailed parameters, including node name, branch, date range, and partition specifications. - Responses now include the workflow identifier when a workflow is started. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
) ## Summary Needed for orchestration service till we move over these thrift files ## Cheour clientslist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for starting workflows with detailed parameters, including node name, branch, date range, and partition specifications. - Responses now include the workflow identifier when a workflow is started. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
Needed for orchestration service till we move over these thrift files
Checklist
Summary by CodeRabbit