Skip to content
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

Artifacts #4077

Closed
wants to merge 68 commits into from
Closed

Artifacts #4077

wants to merge 68 commits into from

Conversation

wild-endeavor
Copy link
Contributor

This PR is a WIP please ignore.

Signed-off-by: Yee Hing Tong <[email protected]>
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8ac697e) 58.13% compared to head (7557d62) 58.14%.
Report is 5 commits behind head on master.

❗ Current head 7557d62 differs from pull request most recent head de919c0. Consider uploading reports for the commit de919c0 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4077      +/-   ##
==========================================
+ Coverage   58.13%   58.14%   +0.01%     
==========================================
  Files         626      626              
  Lines       53782    53782              
==========================================
+ Hits        31267    31273       +6     
+ Misses      20007    20001       -6     
  Partials     2508     2508              
Flag Coverage Δ
unittests 58.14% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

wild-endeavor and others added 21 commits October 30, 2023 09:47
Main pr to bring in the boilerplate code for artifact service into the main pr.

Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
This PR adds the trigger concept.

Other changes:
* Forgot to make the index on artifactkey unique.
* Fix to create artifact, it wasn't pulling back out the artifact key.
* Updated the Artifact service to handle the passing of artifacts created by the events processor to the trigger handling components. Currently, and this is potentially a design flaw, the events processor has no way of contacting the trigger component directly.

Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Most of the changes here are generated proto changes. Actual code changes are:
IDL
* Remove the supplemental fields in the CloudEventTaskExecution object and move them to CloudEventNodeExecution object.
* Remove some fields that the artifact service ended up not using (parent_node_execution and scheduled_at)

in the cloudevent publisher, change the code filling in of the aforementioned supplemental information to happen for node execution events instead of task execution events.
* Remove the deleted fields.

On the event handling side, move the logic to the handling of the node event instead of the task event.
Signed-off-by: Yee Hing Tong <[email protected]>
* lint fixes
* rename sandbox_utils without underscore

Signed-off-by: Yee Hing Tong <[email protected]>
Add additional handling of pgconn
* Change datacatalog logic to use flytestdlib function instead.
* Change flytestdlib constants to capitalize
* Add handling of the other type to Admin code directly

Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: squiishyy <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
…lone artifact client and move into idl clientset, update local config file, remove a deprecated function (#4473)

Signed-off-by: Yee Hing Tong <[email protected]>
squiishyy and others added 28 commits December 20, 2023 09:37
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
This reverts commit cfa4745.

Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
This reverts commit 8ded67b.

Signed-off-by: Eduardo Apolinario <[email protected]>
This reverts commit 3968d40.

Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Clean up.

* Remove the inputs/outputs logic from the cloud publisher on the admin side and move it to the event handler on the artifact side
* Remove the initialization sql bit and made hstore extension creation just a migration
* Refactor the handler to be outside of the receiver in artifact events
* Add adminclient into the servicecallhandler object
* Set gizmo sqs config to false for consuming base64 and update the sqs processor to be roughly functional
* Fixing lint issues
* Add artifact configuration to the sandbox values file
* Infra related updates
  * Remove the old python artifact service helm templates
  * update local sandbox configuration to support routing back out to local development endpoint
 
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
make goimports
Update minio address so artifacts can find s3 in sandbox.
make helm

Signed-off-by: Yee Hing Tong <[email protected]>
@wild-endeavor wild-endeavor deleted the artifacts branch January 22, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants