Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(SDK): Artifact upload fails when same file referred multiple times (
#715) - [x] fix the bug where duplicate artifact references causing failure during artifact resolution(typegate) during runtime. - [x] add sync mode tests for Python and Deno runtime. - [x] add other edge test cases to artifact upload. - [x] test for no artifact in typegraph - [x] test for duplicate artifact reference in the same typegraph Issue: [MET-501](https://linear.app/metatypedev/issue/MET-501/bug-artifact-upload-fails-when-same-file-refered-twice) #### Migration notes _No Migrations Needed_ ... <!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced testing functionalities for Deno and Python runtimes, supporting artifact deployment and policy enforcement. - Added Python and Deno scripts for deploying Typegraphs and handling runtime configurations. - **Bug Fixes** - Improved artifact handling and deployment logic in both Python and Deno runtimes. - **Tests** - Added comprehensive test cases for Deno and Python runtimes, including scenarios for duplicate artifacts, no artifacts, and runtime synchronization. - Enhanced testing with integration of various services like Redis and S3. - **Documentation** - Updated test scripts to include detailed comments and summaries for new functionalities and test scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Teo Stocco <[email protected]> Co-authored-by: Teo Stocco <[email protected]> Co-authored-by: Teo Stocco <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information