Copilot commented on code in PR #1260:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/1260#discussion_r4711322176


##########
docs/content/docs/operations/events.md:
##########
@@ -75,11 +75,12 @@ These events are emitted by the core reconcile and observe 
loops that manage Fli
 | Reason                | Type    | Component                 | Description    
                                                                                
                                                                                
                                                                                
                              |
 
|-----------------------|---------|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
 | `JobStatusChanged`    | Normal  | Job                       | The Flink job 
transitioned to a new state (e.g. `RUNNING`, `FINISHED`, `FAILED`, `CANCELED`). 
                                                                                
                                                             |
-| `JobException`        | Warning | Job                       | The job 
manager reported an exception (root cause or vertex-level). Annotations record 
the task name, task manager id and exception timestamp. **Dedup:** by a hash of 
the formatted message (`messageKey = jobmanager-exception-<hash>`). |
+| `JobException`        | Warning | Job                       | The job 
manager reported an exception (root cause or vertex-level). The message is the 
stack trace, truncated to 
`kubernetes.operator.events.exceptions.stacktrace.max.length` characters with a 
`... (<N> more characters)` suffix. If the deprecated 
`kubernetes.operator.events.exceptions.stacktrace-lines` is set to 0 or more, 
the stack trace is also cut to that many lines. Annotations record the task 
name, task manager id and exception timestamp. **Dedup:** by a hash of the 
formatted message (`messageKey = jobmanager-exception-<hash>`). |

Review Comment:
   This still says the formatted message is hashed, but the observer now hashes 
the full, untruncated stack trace. Identical displayed messages can therefore 
belong to separate events. Update this description and 
`docs/content.zh/docs/operations/events.md:78` to reflect that behavior.



-- 
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]

Reply via email to