Conversation
Contributor
Reviewer's Guide by SourceryThis pull request implements significant changes to the TESK (Task Execution Service on Kubernetes) project, including a major restructuring of the codebase, addition of new features, and improvements to existing functionality. The changes encompass updates to the API, Kubernetes integration, documentation, testing, and project configuration. Architecture diagram for TESK task executiongraph TD;
A[TESK API Pod] -->|Translates TES requests| B[Taskmaster Pod];
B -->|Creates| C[Filer Pod];
C -->|Creates PVC| D[Persistent Volume Claim];
D -->|Used by| E[Executor Pods];
E -->|Execute tasks| F[Task Completion];
F -->|Triggers| G[Output Processing by Filer];
G -->|Uploads outputs| H[Remote Storage];
B -->|Monitors| E;
Class diagram for TESK API modelsclassDiagram
class TesTask {
+Optional~str~ id
+Optional~TesState~ state
+Optional~str~ name
+Optional~str~ description
+Optional~List~ inputs
+Optional~List~ outputs
+Optional~TesResources~ resources
+List~TesExecutor~ executors
+Optional~List~ volumes
+Optional~Dict~ tags
+Optional~List~ logs
+Optional~str~ creation_time
}
class TesExecutor {
+str image
+List~str~ command
+Optional~str~ workdir
+Optional~str~ stdin
+Optional~str~ stdout
+Optional~str~ stderr
+Optional~Dict~ env
+Optional~bool~ ignore_error
}
class TesResources {
+Optional~int~ cpu_cores
+Optional~bool~ preemptible
+Optional~float~ ram_gb
+Optional~float~ disk_gb
+Optional~List~ zones
+Optional~Dict~ backend_parameters
+Optional~bool~ backend_parameters_strict
}
TesTask --> TesExecutor
TesTask --> TesResources
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Author
|
Note the PR is still under progress and not tested, but feel free to go around and review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Implement a Task Execution Service (TES) API with Kubernetes integration for managing and executing tasks. Enhance the project with new features, refactor the codebase, improve documentation, and set up CI/CD workflows for quality assurance and automated deployments.
New Features:
Enhancements:
Build:
CI:
Deployment:
Documentation:
Tests: