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

refactor(glue-alpha): glue L2 alpha construct #30833

Open
wants to merge 79 commits into
base: main
Choose a base branch
from

Conversation

natalie-white-aws
Copy link

@natalie-white-aws natalie-white-aws commented Jul 11, 2024

Issue # (if applicable)

RFC 0497-glue-l2-construct
Link: https://github.com/aws/aws-cdk-rfcs/blob/main/text/0497-glue-l2-construct.md

Reason for this change

Refactor existing Glue L2 alpha construct to adhere to CDK best practices, enforce Job types and parameters via interface constructs, and improve the developer experience pushing validations left and disallowing deprecated Glue and language versions.

Description of changes

The existing Job and Job Executable monoliths have been decomposed into Job Type and Language specific classes that implement and extend an abstract Job parent class. Developers will be able to see mandatory and optional parameters that apply just to their selected job type and language, rather than having to reference documentation and examples or find out during synth or deploy time that they've selected the wrong configuration.

BREAKING CHANGE: Developers must refactor their existing Job instantiation method calls to choose the right job type and language, and use the new constants static values to define the associated Job configuration settings. See the RFC and/or new README for examples.

Description of how you validated changes

We've added unit and integration tests for each valid job type and language combination and validated the creation of new Glue Jobs adhere to opinionated best practices such as continuous logging and runtime versions.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

natalie-white-aws and others added 30 commits February 23, 2024 06:04
…-glue-l2 to mjanardhan/aws-cdk-glue-l2 to resolve non-trivial merge situation
@Rizxcviii
Copy link
Contributor

Hi, not sure on the progress of this PR, but I also have a PR open that attempts to tackle Glue Workflows. If this PR doesn't get merged, is it possible to review my PR instead? Thank you.

@natalie-white-aws
Copy link
Author

Hi, not sure on the progress of this PR, but I also have a PR open that attempts to tackle Glue Workflows. If this PR doesn't get merged, is it possible to review my PR instead? Thank you.

We're awaiting review from the CDK service team at the moment, so the plan is still to merge it. @TheRealAmazonKendra is the lead for the original RFP.

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@Rizxcviii
Copy link
Contributor

bump?

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

3 similar comments
@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@aws-cdk-automation
Copy link
Collaborator

This PR has been in the BUILD FAILING state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week.

@Rizxcviii
Copy link
Contributor

Hi, not sure on the progress of this PR, but I also have a PR open that attempts to tackle Glue Workflows. If this PR doesn't get merged, is it possible to review my PR instead? Thank you.

We're awaiting review from the CDK service team at the moment, so the plan is still to merge it. @TheRealAmazonKendra is the lead for the original RFP.

They've given the review for the PR

@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Nov 20, 2024
@natalie-white-aws
Copy link
Author

Finally fixed the build. You know, in my spare time. :) Thanks for your patience, everyone.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 0dc075a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@GavinZZ
Copy link
Contributor

GavinZZ commented Nov 20, 2024

@natalie-white-aws thanks for fixing the failed build. There's still some more conflicts that need to be fixed. I'm happy to give it another pass once that's fixed.

@natalie-white-aws
Copy link
Author

natalie-white-aws commented Nov 21, 2024 via email

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

2 similar comments
@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@GavinZZ
Copy link
Contributor

GavinZZ commented Nov 28, 2024

@natalie-white-aws I looked into it and I'm not sure how the conflicts happened... It's saying your change is conflict with #12506 from 3 years ago. I would recommend you to rebase your change.

The changes in this PR are massive making it extremely hard to review. I went through all the comments left by me and Paul previously and I saw that you've managed to address them mostly. I'll give it another pass this week but it's likely that I don't have any major concern and most feedback are minors so we can have those fixed in a follow-up PR.

Once you are able to manage to resolve the conflicts, we can coordinate to have this merged in.

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

3 similar comments
@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.