-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Fix awslogs_stream_prefix pattern #43138
Conversation
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.
Could please add/update unit test?
@vincbeck Should be covered by current log fetch tests because the log stream name is inherited from the function changed in the commit. Let me know if you disagree and I can add a specific test. |
You're right! It might not be needed |
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
The 'run_task` task in the ECS system test [here] has started failing since this change with the following stacktrace:
The test is already embedding the container name in the |
I think adding some logic to check if the container name is already in the prefix would make sense |
I agree, I think that is the safest way to handle it. @pyrr , are you able to add that? |
Thanks for taking it on. I don't think you need to bother re-opening the Issue. Just cut a new PR with the fix, put "fixes PR: {link to this one}" in the description (preferably with a little context), and tag me/us in it for reviewers. We'll get a notification and get it merged. |
closes: #43130
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.