rusackas commented on code in PR #43903:
URL: https://github.com/apache/superset/pull/43903#discussion_r3949800553
##########
docs/admin_docs/configuration/alerts-reports.mdx:
##########
@@ -472,6 +472,65 @@ ALERT_REPORTS_ENABLE_LINK_REDIRECT = False
The feature uses `WEBDRIVER_BASEURL_USER_FRIENDLY` (or `WEBDRIVER_BASEURL`)
to determine which hosts are internal.
+## Retry on Failure
+
+This feature is gated behind the `ALERT_REPORTS_RETRY` feature flag, which is
+disabled by default:
+
+```python
+FEATURE_FLAGS = {
+ "ALERT_REPORTS_RETRY": True,
+}
+```
+
+With the flag enabled, reports (not alerts) can be configured to
+automatically retry when sending fails — this covers rendering/export
Review Comment:
Good catch, noted that timeouts and the execution-budget check skip the
retry path and go straight to `Error`.
##########
docs/admin_docs/configuration/alerts-reports.mdx:
##########
@@ -472,6 +472,65 @@ ALERT_REPORTS_ENABLE_LINK_REDIRECT = False
The feature uses `WEBDRIVER_BASEURL_USER_FRIENDLY` (or `WEBDRIVER_BASEURL`)
to determine which hosts are internal.
+## Retry on Failure
+
+This feature is gated behind the `ALERT_REPORTS_RETRY` feature flag, which is
+disabled by default:
+
+```python
+FEATURE_FLAGS = {
+ "ALERT_REPORTS_RETRY": True,
+}
+```
+
+With the flag enabled, reports (not alerts) can be configured to
+automatically retry when sending fails — this covers rendering/export
+failures (e.g. a chart screenshot or CSV export erroring out) as well as
+delivery failures such as a transient SMTP or Slack error — instead of
+moving straight to an `Error` state. This is configured per report in the
+**Error Handling** section of the report modal:
+
+- **Enable Retries** – turn on automatic retries for this report.
+- **Maximum Retry Attempts** – how many times to retry before giving up (1–10,
default 3).
+- **Send Failed Reports** – send a final failure notification to the report's
recipients once all retries fail (default off).
+- **Failure Notifications** – choose whether **Owners** and/or **Report
Recipients** get a notification after a failed retry attempt (not the initial
failure). Owners are notified by email; report recipients are notified on their
configured channel (email, Slack, etc).
Review Comment:
Good catch, noted that owner notifications only go to individual-user
owners, not roles or groups.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]