-
Notifications
You must be signed in to change notification settings - Fork 1.2k
change: Implement test mechanism for Pipeline variables #3163
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
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Codecov Report
@@ Coverage Diff @@
## master #3163 +/- ##
==========================================
- Coverage 89.83% 89.25% -0.59%
==========================================
Files 645 203 -442
Lines 55560 18383 -37177
==========================================
- Hits 49913 16407 -33506
+ Misses 5647 1976 -3671
Help us with your feedback. Take ten seconds to tell us how you rate us. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
…d estimators annotations for processors + estimators / test mechanism change remove debug print reformatting
annotations for processors + estimators / test mechanism change annotations for processors + estimators / test mechanism change remove debug print reformatting update TM and resolve all AIs and all untested subclasses Add ppl var annotation to all composite object for training Adjust tm for recent model changes
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
update the name of the test folders
from
test_mechanism/
test_code/
test_entries/
to
test_pipeline_variable_compatibility/
template/
test_components/
assert '{"Get": "Parameters.nw_cfg_subnets"}' in step_dsl | ||
assert '{"Get": "Parameters.nw_cfg_security_group_ids"}' in step_dsl | ||
assert '{"Get": "Parameters.nw_cfg_enable_nw_isolation"}' in step_dsl | ||
if issubclass(self.clazz, SageMakerClarifyProcessor): |
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.
Is this even supported?
): | ||
assert '{"Get": "Parameters.instance_group_name"}' in step_dsl | ||
assert '{"Get": "Parameters.instance_group_instance_count"}' in step_dsl | ||
if issubclass(self.clazz, AmazonAlgorithmEstimatorBase): |
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.
I'm OK if we skip those AmazonAlgorithmEstimators
@qidewenwhen is this PR relevant, still in draft? |
Hey @mufaddal-rohawala, the test mechanism introduced in this PR has been deprioritized. And some updates are required on top of this PR considering the Pipeline cache improvement we released in 10/2022. I'll close this PR at this point and reopen in the future if we resume the work. |
Description of changes: Implement test mechanism for Pipeline variables to check if they are compatible with downstream classes
Testing done: N/A
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
unique_name_from_base
to create resource names in integ tests (if appropriate)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.