Skip to content

Extend task context logging support for remote logging using AWS S3 - #32950

Merged
pankajkoti merged 2 commits into
apache:mainfrom
astronomer:task-context-log-s3-logging
Nov 17, 2023
Merged

Extend task context logging support for remote logging using AWS S3#32950
pankajkoti merged 2 commits into
apache:mainfrom
astronomer:task-context-log-s3-logging

Conversation

@pankajkoti

@pankajkotipankajkoti commented Jul 30, 2023

Copy link
Copy Markdown
Member

With the addition of task context logging feature in PR #32646,
this PR extends the feature to AWS S3 when is it set as remote
logging store. Here, backward compatibility is ensured for older
versions of Airflow that do not have the feature included in
Airflow Core.


^ 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.

@pankajkotipankajkoti changed the title Add task context logging support for remote AWS S3 loggingAdd task context logging support for remote logging using AWS S3Jul 30, 2023
@pankajkotipankajkoti changed the title Add task context logging support for remote logging using AWS S3Extend task context logging support for remote logging using AWS S3Jul 30, 2023
@pankajkoti

pankajkoti commented Jul 31, 2023

Copy link
Copy Markdown
MemberAuthor

Backward compatibility test by putting this change on top of main branch locally:
Screenshot 2023-07-31 at 10 56 47 PM

Feature testing by putting these changes on the base PR branch which adds the feature in Airflow Core:
Without this change for AWS S3 remote logging when tasks fail in scheduler:
Screenshot 2023-07-31 at 10 56 58 PM

With this change for AWS S3 remote logging when tasks fail in scheduler:
Screenshot 2023-07-31 at 10 59 03 PM

uranusjr
uranusjr previously approved these changes Aug 1, 2023
@uranusjr
uranusjr dismissed their stale reviewAugust 1, 2023 01:26

Static checks indicate there’s an implementation error somewhere.

@pankajkoti

pankajkoti commented Aug 1, 2023

Copy link
Copy Markdown
MemberAuthor

@uranusjr yes, since the base PR #32646 is not merged to main yet, the keyword argument identifier is not available yet for the set_context method and it is complaining for that. Once the base PR is merged, this check will pass.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actionsgithub-actionsBot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Sep 16, 2023
@pankajkotipankajkoti reopened this Nov 14, 2023
@github-actionsgithub-actionsBot removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Nov 16, 2023
With the addition of taxt context logging feature in PR apache#32646,
this PR extends the feature to AWS S3 when is it set as remote
logging store. Here, backward compatibility is ensured for older
versions of Airflow that do not have the feature included in
Airflow Core.
@pankajkoti
pankajkotiforce-pushed the task-context-log-s3-logging branch from a0ab0eb to cb83eb1CompareNovember 17, 2023 11:19
@pankajkoti
pankajkoti marked this pull request as ready for review November 17, 2023 12:20
@pankajkoti

Copy link
Copy Markdown
MemberAuthor

Latest successful testing with S3 remote logging

Screenshot 2023-11-17 at 5 54 05 PM

@pankajkoti
pankajkoti merged commit 3e6676b into apache:mainNov 17, 2023
@pankajkoti
pankajkoti deleted the task-context-log-s3-logging branch November 17, 2023 14:47
@ephraimbuddyephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Nov 20, 2023
@ephraimbuddyephraimbuddy added this to the Airflow 2.8.0 milestone Nov 20, 2023
@pankajkotipankajkoti mentioned this pull request Oct 19, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:loggingarea:providerschangelog:skipChanges that should be skipped from the changelog (CI, tests, etc..)provider:amazonAWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@pankajkoti@uranusjr@phanikumv@ephraimbuddy