From eea237b6ff1290e6356b4e49a0cf253b296739e8 Mon Sep 17 00:00:00 2001 From: Albert Chu Date: Mon, 2 Feb 2026 13:44:54 -0800 Subject: [PATCH] rfc21: add clarification on multiple exceptions Problem: RFC21 implies that the first exception of severity 0 is the root cause exception because it is the one that transitions a job state to CLEANUP. However, it is not explicitly stated. Add some additional language that notes that if multiple exceptions of severity 0 occur, the first one is the root cause for reporting purposes. --- spec_21.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec_21.rst b/spec_21.rst index 2342f3f3..ad4b6414 100644 --- a/spec_21.rst +++ b/spec_21.rst @@ -148,7 +148,9 @@ immediately transition to ``CLEANUP``. Exception events with a severity other than zero do not affect job state, and are assumed to be meaningful to other components managing non-fatal exceptions. -More than one exception MAY occur per job. +More than one exception MAY occur per job. If more than one exception +of severity zero occurs, the first one SHALL be considered the root +cause of the job failure for reporting purposes. The exception event format is described below.