-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Fixes #16972 - Slugify role session name in AWS base hook #17210
Fixes #16972 - Slugify role session name in AWS base hook #17210
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
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.
Nice!
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
Rebuilding |
Can you please rebase to latest main @mcreenan - I think I fixed all the "red-build" stability issues that plagued us in the last week |
7d8802a
to
345bcc6
Compare
Done... I think. I'm new to this style of workflow. |
Yeah. Airflow is a beast and keeping it tamed is a special kinda skill. Sometimes it shows it's humours :) |
Now - we are back to "real" issues - static checks are failing - there are some CHANGELOG,rst entries wrong (single instead of double backticks) |
And some unit tests |
Can you help me understand what's going on here? I didn't change CHANGELOG.rst.
I'll look at those. |
There's something strange going on. The tests that are failing aren't at all related to what I changed (especially the google ones). When I run the aws providers tests locally, I get 2 other unrelated errors. |
Please rebase to latest |
… uses only valid session name characters
- Move import of slugify to bottom of list
345bcc6
to
2bad45d
Compare
Done. |
Is there anything else I need to do with this PR? It looks like the latest run of tests still had some failures unrelated to this change. |
Awesome work, congrats on your first merged pull request! |
closes: #16972
This change ensures the role session name only contains valid characters according to the pattern defined by the RoleSessionName parameter in STS AssumeRole (https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html).