docs(contracts): document unpropagated operator_full_name, reserved enum values, correlation echo

This commit is contained in:
Joseph Doherty
2026-10-22 08:23:26 -04:00
parent 488649ce99
commit 7f665bf25b
5 changed files with 41 additions and 5 deletions
@@ -132,6 +132,12 @@ namespace ZB.MOM.WW.MxGateway.Contracts.Proto {
public enum WorkerFaultCategory {
[pbr::OriginalName("WORKER_FAULT_CATEGORY_UNSPECIFIED")] Unspecified = 0,
/// <summary>
/// Values 1 and 2 are reserved: never emitted. Bootstrap failures (bad
/// arguments, gateway authentication) exit via WorkerExitCode before the pipe
/// exists, so there is no channel to carry a fault. Names kept so the numbers
/// are not reused.
/// </summary>
[pbr::OriginalName("WORKER_FAULT_CATEGORY_INVALID_ARGUMENTS")] InvalidArguments = 1,
[pbr::OriginalName("WORKER_FAULT_CATEGORY_GATEWAY_AUTHENTICATION_FAILED")] GatewayAuthenticationFailed = 2,
[pbr::OriginalName("WORKER_FAULT_CATEGORY_PROTOCOL_MISMATCH")] ProtocolMismatch = 3,