Skip to content

Commit 56f666d

Browse files
[9.2] [ResponseOps][Reporting] stop toasting "Could not check Reporting job status!" (#245184) (#245937)
# Backport This will backport the following commits from `main` to `9.2`: - [[ResponseOps][Reporting] stop toasting "Could not check Reporting job status!" (#245184)](#245184) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Patrick Mueller","email":"patrick.mueller@elastic.co"},"sourceCommit":{"committedDate":"2025-12-10T23:50:35Z","message":"[ResponseOps][Reporting] stop toasting \"Could not check Reporting job status!\" (#245184)\n\nresolves https://github.com/elastic/kibana/issues/216181\n\nRemoves the toast that popped up, every few seconds, informing us that\n\"Could not check Reporting job status!\", when Kibana becomes\nunavailable. Not useful, so removed.","sha":"b53f22d6c324a7e2362197731d17562d01dd5821","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","backport:all-open","Feature:Reporting:Framework","Feature:Reporting:Screenshot","v9.3.0"],"title":"[ResponseOps][Reporting] stop toasting \"Could not check Reporting job status!\"","number":245184,"url":"https://github.com/elastic/kibana/pull/245184","mergeCommit":{"message":"[ResponseOps][Reporting] stop toasting \"Could not check Reporting job status!\" (#245184)\n\nresolves https://github.com/elastic/kibana/issues/216181\n\nRemoves the toast that popped up, every few seconds, informing us that\n\"Could not check Reporting job status!\", when Kibana becomes\nunavailable. Not useful, so removed.","sha":"b53f22d6c324a7e2362197731d17562d01dd5821"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/245184","number":245184,"mergeCommit":{"message":"[ResponseOps][Reporting] stop toasting \"Could not check Reporting job status!\" (#245184)\n\nresolves https://github.com/elastic/kibana/issues/216181\n\nRemoves the toast that popped up, every few seconds, informing us that\n\"Could not check Reporting job status!\", when Kibana becomes\nunavailable. Not useful, so removed.","sha":"b53f22d6c324a7e2362197731d17562d01dd5821"}}]}] BACKPORT--> Co-authored-by: Patrick Mueller <patrick.mueller@elastic.co>
1 parent a520b28 commit 56f666d

5 files changed

Lines changed: 2 additions & 15 deletions

File tree

x-pack/platform/plugins/private/reporting/public/lib/stream_handler.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,8 @@ export class ReportingNotifierStreamHandler {
169169
return { completed: newCompleted, failed: newFailed };
170170
}),
171171
catchError((err) => {
172-
// show connection refused toast
173-
this.core.notifications.toasts.addDanger(
174-
getGeneralErrorToast(
175-
i18n.translate('xpack.reporting.publicNotifier.httpErrorMessage', {
176-
defaultMessage: 'Could not check Reporting job status!',
177-
}),
178-
err,
179-
this.core
180-
)
181-
);
182-
window.console.error(err);
172+
// Seems to only occur when the connection to Kibana fails.
173+
// We used to toast here, but ... it was very noisy.
183174
return Rx.of({});
184175
})
185176
);

x-pack/platform/plugins/private/translations/translations/de-DE.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31827,7 +31827,6 @@
3182731827
"xpack.reporting.publicNotifier.error.couldNotCreateReportTitle": "Der Bericht {reportType} für „{reportObjectTitle}“ kann nicht erstellt werden.",
3182831828
"xpack.reporting.publicNotifier.error.reportingSectionUrlLinkLabel": "Stack-Management &gt; Kibana &gt; Berichterstattung",
3182931829
"xpack.reporting.publicNotifier.error.tryRefresh": "Versuchen Sie, die Seite neu zu laden.",
31830-
"xpack.reporting.publicNotifier.httpErrorMessage": "Der Status des Berichterstattungs-Jobs konnte nicht überprüft werden.",
3183131830
"xpack.reporting.publicNotifier.maxSizeReached.partialReportDescription": "Der Bericht hat die maximale Größe erreicht und enthält unvollständige Daten.",
3183231831
"xpack.reporting.publicNotifier.maxSizeReached.partialReportTitle": "Teilweise {reportType} für ''{reportObjectTitle}'' erstellt",
3183331832
"xpack.reporting.publicNotifier.pollingErrorMessage": "Fehler beim Melden des Notifiers!",

x-pack/platform/plugins/private/translations/translations/fr-FR.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32008,7 +32008,6 @@
3200832008
"xpack.reporting.publicNotifier.error.couldNotCreateReportTitle": "Impossible de créer un rapport {reportType} pour \"{reportObjectTitle}\".",
3200932009
"xpack.reporting.publicNotifier.error.reportingSectionUrlLinkLabel": "Gestion de la Suite &gt; Kibana &gt; Reporting",
3201032010
"xpack.reporting.publicNotifier.error.tryRefresh": "Essayez d'actualiser la page.",
32011-
"xpack.reporting.publicNotifier.httpErrorMessage": "Impossible de vérifier le statut de la tâche de reporting !",
3201232011
"xpack.reporting.publicNotifier.maxSizeReached.partialReportDescription": "Le rapport a atteint la taille maximale et contient des données partielles.",
3201332012
"xpack.reporting.publicNotifier.maxSizeReached.partialReportTitle": "Création partielle du rapport {reportType} pour \"{reportObjectTitle}\"",
3201432013
"xpack.reporting.publicNotifier.pollingErrorMessage": "Erreur de notification de reporting !",

x-pack/platform/plugins/private/translations/translations/ja-JP.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32047,7 +32047,6 @@
3204732047
"xpack.reporting.publicNotifier.error.couldNotCreateReportTitle": "''{reportObjectTitle}''の{reportType}レポートを作成できませんでした。",
3204832048
"xpack.reporting.publicNotifier.error.reportingSectionUrlLinkLabel": "スタック管理 &gt; Kibana &gt; レポート",
3204932049
"xpack.reporting.publicNotifier.error.tryRefresh": "ページを更新してみてください。",
32050-
"xpack.reporting.publicNotifier.httpErrorMessage": "レポートジョブステータスを確認できませんでした",
3205132050
"xpack.reporting.publicNotifier.maxSizeReached.partialReportDescription": "レポートが最大サイズに達し、部分データが含まれています。",
3205232051
"xpack.reporting.publicNotifier.maxSizeReached.partialReportTitle": "''{reportObjectTitle}''の部分{reportType}レポートが作成されました",
3205332052
"xpack.reporting.publicNotifier.pollingErrorMessage": "レポート通知エラー",

x-pack/platform/plugins/private/translations/translations/zh-CN.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32030,7 +32030,6 @@
3203032030
"xpack.reporting.publicNotifier.error.couldNotCreateReportTitle": "无法为“{reportObjectTitle}”创建 {reportType} 报告。",
3203132031
"xpack.reporting.publicNotifier.error.reportingSectionUrlLinkLabel": "堆栈管理 &gt; Kibana &gt; Reporting",
3203232032
"xpack.reporting.publicNotifier.error.tryRefresh": "请尝试刷新页面。",
32033-
"xpack.reporting.publicNotifier.httpErrorMessage": "无法检查 Reporting 作业状态!",
3203432033
"xpack.reporting.publicNotifier.maxSizeReached.partialReportDescription": "报告已达到最大大小,仅包含部分数据。",
3203532034
"xpack.reporting.publicNotifier.maxSizeReached.partialReportTitle": "已为“{reportObjectTitle}”创建部分 {reportType}",
3203632035
"xpack.reporting.publicNotifier.pollingErrorMessage": "报告通知器错误!",

0 commit comments

Comments
 (0)