Repository navigation
Make the default task failure email say what failed #73221
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
Open
rjgoyln
wants to merge
15
commits into
apache:main
Choose a base branch
from
rjgoyln:fix/runtime-ti-readable-str
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b9c537f
Fix task failure emails dumping raw task instance fields
rjgoyln 9445cf9
Add newsfragment
rjgoyln 01a9796
Show Dag, task and state in the default SMTP notifier email
rjgoyln 84c5f32
Restore the try-number assertion the new SMTP test displaced
rjgoyln c3affeb
Name the Dag, task, run and timestamps in task failure emails
rjgoyln 16ea3a9
Carry the timestamps into the legacy task failure email
rjgoyln 3513e49
Treat a null map_index as unmapped in the task instance string
rjgoyln 0785582
Give both task failure email paths the same subject
rjgoyln f010843
Stop labelling the task log link as Mark Success in alert emails
rjgoyln 2eefc9c
Document the task_state template variable
rjgoyln 070ad84
Report the state on emails sent from the Dag processor
rjgoyln 8de2ac6
Address review on the default task failure email
rjgoyln ea30e19
Use the datetime.UTC alias in the SMTP notifier tests
rjgoyln 672afa5
Rebuild the SmtpNotifier body on the design proposed in the issue
rjgoyln d7eb12f
Note the extra email template variables in the configuration guide
rjgoyln File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Simplified default task failure emails with concise task/run details, compact ``{{ ti }}``, a new ``{{ task_state }}`` variable, and removal of the obsolete ``Mark success`` link. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.