@mikitasazan/notify 1.12.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/send.js +7 -1
- package/package.json +1 -1
package/dist/send.js
CHANGED
|
@@ -426,7 +426,13 @@ export const brokenCardEvent = (e, faults, offenderHtml) => {
|
|
|
426
426
|
project: 'mac-config',
|
|
427
427
|
job: 'notify: a card broke the standard',
|
|
428
428
|
status: 'fail',
|
|
429
|
-
|
|
429
|
+
// The faults go in the LIST, not in Reason: a fault message quotes the
|
|
430
|
+
// offending text verbatim ("the tag #аналитика carries…"), and quoted
|
|
431
|
+
// text inside a system field is exactly what rule L forbids — the
|
|
432
|
+
// watchdog was failing its own lint on any Russian-speaking offender
|
|
433
|
+
// (caught live by its own journal, 31.08.2026).
|
|
434
|
+
note: `a ${String(e.type)} card for ${String(e.project)} broke ${faults.length} rule(s)`,
|
|
435
|
+
items: faults.map((f) => ({ text: f, group: 'Faults' })),
|
|
430
436
|
detail: offender || undefined,
|
|
431
437
|
detailLabel: 'Offender',
|
|
432
438
|
check: 'config jobs --log notify-broken',
|
package/package.json
CHANGED