feat(worker,gateway): report record-info pin outcome in WorkerReady; drain-thread completion tests

The worker logged its MXSTATUS_PROXY record-info pin outcome only to its own
stderr, which the gateway's launcher does not capture, so operators never saw
whether the pin took.

- Contract (additive, internal IPC): WorkerReady.record_info_pin_status = 5.
  No protocol version bump; an older peer ignores it or sends it empty.
  Regenerated Contracts/Generated, the client protoset, the Rust vendored
  proto, and the Go/Python/Java worker bindings (real delta only).
- Worker: the handshake copies MxStatusProxyRecordInfoPin.Status into
  WorkerReady unless the runtime already set it.
- Gateway: WorkerClient records it (IWorkerClient.RecordInfoPinStatus, default
  null) and logs it at Information when pinned, Warning otherwise; empty is
  not logged. Shown as "Record-info pin" in the dashboard session details
  Worker table via DashboardSessionSummary.WorkerRecordInfoPinStatus.
- Tests: drain-thread cancellation (task ends Canceled; RunAsync cancels,
  runtime disposed, thread exits, no EventDrain stop-failure log) and fault
  (exception on the thread faults RunAsync with the same instance) paths;
  WorkerReady carries the pin status; gateway logging/recording and the
  dashboard projection.
- Docs: gateway.md STA thread model (drain thread, pin step in COM lifetime),
  MxAccessWorkerInstanceDesign, GatewayProcessDesign, GatewayDashboardDesign,
  WorkerFrameProtocol.
This commit is contained in:
Joseph Doherty
2026-11-21 08:11:31 -05:00
parent 659bb831a2
commit 30ac3f3225
23 changed files with 878 additions and 145 deletions
@@ -580,8 +580,15 @@ type WorkerReady struct {
MxaccessProgid string `protobuf:"bytes,2,opt,name=mxaccess_progid,json=mxaccessProgid,proto3" json:"mxaccess_progid,omitempty"`
MxaccessClsid string `protobuf:"bytes,3,opt,name=mxaccess_clsid,json=mxaccessClsid,proto3" json:"mxaccess_clsid,omitempty"`
ReadyTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ready_timestamp,json=readyTimestamp,proto3" json:"ready_timestamp,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
// Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
// (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
// success, or the failing call and HRESULT / exception type otherwise. Empty when the
// worker made no attempt (an older worker, or a runtime that never created the
// MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
// dashboard, and never gates readiness on it, because the pin is a cache warm-up.
RecordInfoPinStatus string `protobuf:"bytes,5,opt,name=record_info_pin_status,json=recordInfoPinStatus,proto3" json:"record_info_pin_status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkerReady) Reset() {
@@ -642,6 +649,13 @@ func (x *WorkerReady) GetReadyTimestamp() *timestamppb.Timestamp {
return nil
}
func (x *WorkerReady) GetRecordInfoPinStatus() string {
if x != nil {
return x.RecordInfoPinStatus
}
return ""
}
type WorkerCommand struct {
state protoimpl.MessageState `protogen:"open.v1"`
Command *MxCommand `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
@@ -1139,12 +1153,13 @@ const file_mxaccess_worker_proto_rawDesc = "" +
"\x10protocol_version\x18\x01 \x01(\rR\x0fprotocolVersion\x12\x14\n" +
"\x05nonce\x18\x02 \x01(\tR\x05nonce\x12*\n" +
"\x11worker_process_id\x18\x03 \x01(\x05R\x0fworkerProcessId\x12%\n" +
"\x0eworker_version\x18\x04 \x01(\tR\rworkerVersion\"\xce\x01\n" +
"\x0eworker_version\x18\x04 \x01(\tR\rworkerVersion\"\x83\x02\n" +
"\vWorkerReady\x12*\n" +
"\x11worker_process_id\x18\x01 \x01(\x05R\x0fworkerProcessId\x12'\n" +
"\x0fmxaccess_progid\x18\x02 \x01(\tR\x0emxaccessProgid\x12%\n" +
"\x0emxaccess_clsid\x18\x03 \x01(\tR\rmxaccessClsid\x12C\n" +
"\x0fready_timestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x0ereadyTimestamp\"\x92\x01\n" +
"\x0fready_timestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x0ereadyTimestamp\x123\n" +
"\x16record_info_pin_status\x18\x05 \x01(\tR\x13recordInfoPinStatus\"\x92\x01\n" +
"\rWorkerCommand\x128\n" +
"\acommand\x18\x01 \x01(\v2\x1e.mxaccess_gateway.v1.MxCommandR\acommand\x12G\n" +
"\x11enqueue_timestamp\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x10enqueueTimestamp\"\x9c\x01\n" +
@@ -5477,6 +5477,36 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
* <code>.google.protobuf.Timestamp ready_timestamp = 4;</code>
*/
com.google.protobuf.TimestampOrBuilder getReadyTimestampOrBuilder();
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @return The recordInfoPinStatus.
*/
java.lang.String getRecordInfoPinStatus();
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @return The bytes for recordInfoPinStatus.
*/
com.google.protobuf.ByteString
getRecordInfoPinStatusBytes();
}
/**
* Protobuf type {@code mxaccess_worker.v1.WorkerReady}
@@ -5502,6 +5532,7 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
private WorkerReady() {
mxaccessProgid_ = "";
mxaccessClsid_ = "";
recordInfoPinStatus_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
@@ -5633,6 +5664,63 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
return readyTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readyTimestamp_;
}
public static final int RECORD_INFO_PIN_STATUS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object recordInfoPinStatus_ = "";
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @return The recordInfoPinStatus.
*/
@java.lang.Override
public java.lang.String getRecordInfoPinStatus() {
java.lang.Object ref = recordInfoPinStatus_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
recordInfoPinStatus_ = s;
return s;
}
}
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @return The bytes for recordInfoPinStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRecordInfoPinStatusBytes() {
java.lang.Object ref = recordInfoPinStatus_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
recordInfoPinStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -5659,6 +5747,9 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getReadyTimestamp());
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(recordInfoPinStatus_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, recordInfoPinStatus_);
}
getUnknownFields().writeTo(output);
}
@@ -5682,6 +5773,9 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getReadyTimestamp());
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(recordInfoPinStatus_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, recordInfoPinStatus_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -5708,6 +5802,8 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
if (!getReadyTimestamp()
.equals(other.getReadyTimestamp())) return false;
}
if (!getRecordInfoPinStatus()
.equals(other.getRecordInfoPinStatus())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -5729,6 +5825,8 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
hash = (37 * hash) + READY_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getReadyTimestamp().hashCode();
}
hash = (37 * hash) + RECORD_INFO_PIN_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getRecordInfoPinStatus().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -5874,6 +5972,7 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
readyTimestampBuilder_.dispose();
readyTimestampBuilder_ = null;
}
recordInfoPinStatus_ = "";
return this;
}
@@ -5923,6 +6022,9 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
: readyTimestampBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.recordInfoPinStatus_ = recordInfoPinStatus_;
}
result.bitField0_ |= to_bitField0_;
}
@@ -5954,6 +6056,11 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
if (other.hasReadyTimestamp()) {
mergeReadyTimestamp(other.getReadyTimestamp());
}
if (!other.getRecordInfoPinStatus().isEmpty()) {
recordInfoPinStatus_ = other.recordInfoPinStatus_;
bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -6002,6 +6109,11 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
recordInfoPinStatus_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@@ -6316,6 +6428,123 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
return readyTimestampBuilder_;
}
private java.lang.Object recordInfoPinStatus_ = "";
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @return The recordInfoPinStatus.
*/
public java.lang.String getRecordInfoPinStatus() {
java.lang.Object ref = recordInfoPinStatus_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
recordInfoPinStatus_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @return The bytes for recordInfoPinStatus.
*/
public com.google.protobuf.ByteString
getRecordInfoPinStatusBytes() {
java.lang.Object ref = recordInfoPinStatus_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
recordInfoPinStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @param value The recordInfoPinStatus to set.
* @return This builder for chaining.
*/
public Builder setRecordInfoPinStatus(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
recordInfoPinStatus_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @return This builder for chaining.
*/
public Builder clearRecordInfoPinStatus() {
recordInfoPinStatus_ = getDefaultInstance().getRecordInfoPinStatus();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <pre>
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
* worker made no attempt (an older worker, or a runtime that never created the
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
* </pre>
*
* <code>string record_info_pin_status = 5;</code>
* @param value The bytes for recordInfoPinStatus to set.
* @return This builder for chaining.
*/
public Builder setRecordInfoPinStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
recordInfoPinStatus_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:mxaccess_worker.v1.WorkerReady)
}
@@ -12698,60 +12927,61 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
"ay_version\030\003 \001(\t\022\027\n\017max_frame_bytes\030\004 \001(" +
"\r\"i\n\013WorkerHello\022\030\n\020protocol_version\030\001 \001" +
"(\r\022\r\n\005nonce\030\002 \001(\t\022\031\n\021worker_process_id\030\003" +
" \001(\005\022\026\n\016worker_version\030\004 \001(\t\"\216\001\n\013WorkerR" +
" \001(\005\022\026\n\016worker_version\030\004 \001(\t\"\256\001\n\013WorkerR" +
"eady\022\031\n\021worker_process_id\030\001 \001(\005\022\027\n\017mxacc" +
"ess_progid\030\002 \001(\t\022\026\n\016mxaccess_clsid\030\003 \001(\t" +
"\0223\n\017ready_timestamp\030\004 \001(\0132\032.google.proto" +
"buf.Timestamp\"w\n\rWorkerCommand\022/\n\007comman" +
"d\030\001 \001(\0132\036.mxaccess_gateway.v1.MxCommand\022" +
"5\n\021enqueue_timestamp\030\002 \001(\0132\032.google.prot" +
"obuf.Timestamp\"\201\001\n\022WorkerCommandReply\0222\n" +
"\005reply\030\001 \001(\0132#.mxaccess_gateway.v1.MxCom" +
"mandReply\0227\n\023completed_timestamp\030\002 \001(\0132\032" +
".google.protobuf.Timestamp\"\036\n\014WorkerCanc" +
"el\022\016\n\006reason\030\001 \001(\t\"Q\n\016WorkerShutdown\022/\n\014" +
"grace_period\030\001 \001(\0132\031.google.protobuf.Dur" +
"ation\022\016\n\006reason\030\002 \001(\t\"H\n\021WorkerShutdownA" +
"ck\0223\n\006status\030\001 \001(\0132#.mxaccess_gateway.v1" +
".ProtocolStatus\":\n\013WorkerEvent\022+\n\005event\030" +
"\001 \001(\0132\034.mxaccess_gateway.v1.MxEvent\"\245\002\n\017" +
"WorkerHeartbeat\022\031\n\021worker_process_id\030\001 \001" +
"(\005\022.\n\005state\030\002 \001(\0162\037.mxaccess_worker.v1.W" +
"orkerState\022?\n\033last_sta_activity_timestam" +
"p\030\003 \001(\0132\032.google.protobuf.Timestamp\022\035\n\025p" +
"ending_command_count\030\004 \001(\r\022\"\n\032outbound_e" +
"vent_queue_depth\030\005 \001(\r\022\033\n\023last_event_seq" +
"uence\030\006 \001(\004\022&\n\036current_command_correlati" +
"on_id\030\007 \001(\t\"\364\001\n\013WorkerFault\0229\n\010category\030" +
"\001 \001(\0162\'.mxaccess_worker.v1.WorkerFaultCa" +
"tegory\022\026\n\016command_method\030\002 \001(\t\022\024\n\007hresul" +
"t\030\003 \001(\005H\000\210\001\001\022\026\n\016exception_type\030\004 \001(\t\022\032\n\022" +
"diagnostic_message\030\005 \001(\t\022<\n\017protocol_sta" +
"tus\030\006 \001(\0132#.mxaccess_gateway.v1.Protocol" +
"StatusB\n\n\010_hresult*\227\002\n\013WorkerState\022\034\n\030WO" +
"RKER_STATE_UNSPECIFIED\020\000\022\031\n\025WORKER_STATE" +
"_STARTING\020\001\022\034\n\030WORKER_STATE_HANDSHAKING\020" +
"\002\022!\n\035WORKER_STATE_INITIALIZING_STA\020\003\022\026\n\022" +
"WORKER_STATE_READY\020\004\022\"\n\036WORKER_STATE_EXE" +
"CUTING_COMMAND\020\005\022\036\n\032WORKER_STATE_SHUTTIN" +
"G_DOWN\020\006\022\030\n\024WORKER_STATE_STOPPED\020\007\022\030\n\024WO" +
"RKER_STATE_FAULTED\020\010*\307\004\n\023WorkerFaultCate" +
"gory\022%\n!WORKER_FAULT_CATEGORY_UNSPECIFIE" +
"D\020\000\022+\n\'WORKER_FAULT_CATEGORY_INVALID_ARG" +
"UMENTS\020\001\0227\n3WORKER_FAULT_CATEGORY_GATEWA" +
"Y_AUTHENTICATION_FAILED\020\002\022+\n\'WORKER_FAUL" +
"T_CATEGORY_PROTOCOL_MISMATCH\020\003\022,\n(WORKER" +
"_FAULT_CATEGORY_PROTOCOL_VIOLATION\020\004\022+\n\'" +
"WORKER_FAULT_CATEGORY_PIPE_DISCONNECTED\020" +
"\005\0222\n.WORKER_FAULT_CATEGORY_MXACCESS_CREA" +
"TION_FAILED\020\006\0221\n-WORKER_FAULT_CATEGORY_M" +
"XACCESS_COMMAND_FAILED\020\007\022:\n6WORKER_FAULT" +
"_CATEGORY_MXACCESS_EVENT_CONVERSION_FAIL" +
"ED\020\010\022\"\n\036WORKER_FAULT_CATEGORY_STA_HUNG\020\t" +
"\022(\n$WORKER_FAULT_CATEGORY_QUEUE_OVERFLOW" +
"\020\n\022*\n&WORKER_FAULT_CATEGORY_SHUTDOWN_TIM" +
"EOUT\020\013B&\252\002#ZB.MOM.WW.MxGateway.Contracts" +
".Protob\006proto3"
"buf.Timestamp\022\036\n\026record_info_pin_status\030" +
"\005 \001(\t\"w\n\rWorkerCommand\022/\n\007command\030\001 \001(\0132" +
"\036.mxaccess_gateway.v1.MxCommand\0225\n\021enque" +
"ue_timestamp\030\002 \001(\0132\032.google.protobuf.Tim" +
"estamp\"\201\001\n\022WorkerCommandReply\0222\n\005reply\030\001" +
" \001(\0132#.mxaccess_gateway.v1.MxCommandRepl" +
"y\0227\n\023completed_timestamp\030\002 \001(\0132\032.google." +
"protobuf.Timestamp\"\036\n\014WorkerCancel\022\016\n\006re" +
"ason\030\001 \001(\t\"Q\n\016WorkerShutdown\022/\n\014grace_pe" +
"riod\030\001 \001(\0132\031.google.protobuf.Duration\022\016\n" +
"\006reason\030\002 \001(\t\"H\n\021WorkerShutdownAck\0223\n\006st" +
"atus\030\001 \001(\0132#.mxaccess_gateway.v1.Protoco" +
"lStatus\":\n\013WorkerEvent\022+\n\005event\030\001 \001(\0132\034." +
"mxaccess_gateway.v1.MxEvent\"\245\002\n\017WorkerHe" +
"artbeat\022\031\n\021worker_process_id\030\001 \001(\005\022.\n\005st" +
"ate\030\002 \001(\0162\037.mxaccess_worker.v1.WorkerSta" +
"te\022?\n\033last_sta_activity_timestamp\030\003 \001(\0132" +
"\032.google.protobuf.Timestamp\022\035\n\025pending_c" +
"ommand_count\030\004 \001(\r\022\"\n\032outbound_event_que" +
"ue_depth\030\005 \001(\r\022\033\n\023last_event_sequence\030\006 " +
"\001(\004\022&\n\036current_command_correlation_id\030\007 " +
"\001(\t\"\364\001\n\013WorkerFault\0229\n\010category\030\001 \001(\0162\'." +
"mxaccess_worker.v1.WorkerFaultCategory\022\026" +
"\n\016command_method\030\002 \001(\t\022\024\n\007hresult\030\003 \001(\005H" +
"\000\210\001\001\022\026\n\016exception_type\030\004 \001(\t\022\032\n\022diagnost" +
"ic_message\030\005 \001(\t\022<\n\017protocol_status\030\006 \001(" +
"\0132#.mxaccess_gateway.v1.ProtocolStatusB\n" +
"\n\010_hresult*\227\002\n\013WorkerState\022\034\n\030WORKER_STA" +
"TE_UNSPECIFIED\020\000\022\031\n\025WORKER_STATE_STARTIN" +
"G\020\001\022\034\n\030WORKER_STATE_HANDSHAKING\020\002\022!\n\035WOR" +
"KER_STATE_INITIALIZING_STA\020\003\022\026\n\022WORKER_S" +
"TATE_READY\020\004\022\"\n\036WORKER_STATE_EXECUTING_C" +
"OMMAND\020\005\022\036\n\032WORKER_STATE_SHUTTING_DOWN\020\006" +
"\022\030\n\024WORKER_STATE_STOPPED\020\007\022\030\n\024WORKER_STA" +
"TE_FAULTED\020\010*\307\004\n\023WorkerFaultCategory\022%\n!" +
"WORKER_FAULT_CATEGORY_UNSPECIFIED\020\000\022+\n\'W" +
"ORKER_FAULT_CATEGORY_INVALID_ARGUMENTS\020\001" +
"\0227\n3WORKER_FAULT_CATEGORY_GATEWAY_AUTHEN" +
"TICATION_FAILED\020\002\022+\n\'WORKER_FAULT_CATEGO" +
"RY_PROTOCOL_MISMATCH\020\003\022,\n(WORKER_FAULT_C" +
"ATEGORY_PROTOCOL_VIOLATION\020\004\022+\n\'WORKER_F" +
"AULT_CATEGORY_PIPE_DISCONNECTED\020\005\0222\n.WOR" +
"KER_FAULT_CATEGORY_MXACCESS_CREATION_FAI" +
"LED\020\006\0221\n-WORKER_FAULT_CATEGORY_MXACCESS_" +
"COMMAND_FAILED\020\007\022:\n6WORKER_FAULT_CATEGOR" +
"Y_MXACCESS_EVENT_CONVERSION_FAILED\020\010\022\"\n\036" +
"WORKER_FAULT_CATEGORY_STA_HUNG\020\t\022(\n$WORK" +
"ER_FAULT_CATEGORY_QUEUE_OVERFLOW\020\n\022*\n&WO" +
"RKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\020\013B&" +
"\252\002#ZB.MOM.WW.MxGateway.Contracts.Protob\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -12783,7 +13013,7 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
internal_static_mxaccess_worker_v1_WorkerReady_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_mxaccess_worker_v1_WorkerReady_descriptor,
new java.lang.String[] { "WorkerProcessId", "MxaccessProgid", "MxaccessClsid", "ReadyTimestamp", });
new java.lang.String[] { "WorkerProcessId", "MxaccessProgid", "MxaccessClsid", "ReadyTimestamp", "RecordInfoPinStatus", });
internal_static_mxaccess_worker_v1_WorkerCommand_descriptor =
getDescriptor().getMessageType(4);
internal_static_mxaccess_worker_v1_WorkerCommand_fieldAccessorTable = new
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
import mxaccess_gateway_pb2 as mxaccess__gateway__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15mxaccess_worker.proto\x12\x12mxaccess_worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16mxaccess_gateway.proto\"\x95\x06\n\x0eWorkerEnvelope\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x16\n\x0e\x63orrelation_id\x18\x04 \x01(\t\x12\x39\n\rgateway_hello\x18\n \x01(\x0b\x32 .mxaccess_worker.v1.GatewayHelloH\x00\x12\x37\n\x0cworker_hello\x18\x0b \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerHelloH\x00\x12\x37\n\x0cworker_ready\x18\x0c \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerReadyH\x00\x12;\n\x0eworker_command\x18\r \x01(\x0b\x32!.mxaccess_worker.v1.WorkerCommandH\x00\x12\x46\n\x14worker_command_reply\x18\x0e \x01(\x0b\x32&.mxaccess_worker.v1.WorkerCommandReplyH\x00\x12\x39\n\rworker_cancel\x18\x0f \x01(\x0b\x32 .mxaccess_worker.v1.WorkerCancelH\x00\x12=\n\x0fworker_shutdown\x18\x10 \x01(\x0b\x32\".mxaccess_worker.v1.WorkerShutdownH\x00\x12\x44\n\x13worker_shutdown_ack\x18\x11 \x01(\x0b\x32%.mxaccess_worker.v1.WorkerShutdownAckH\x00\x12\x37\n\x0cworker_event\x18\x12 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerEventH\x00\x12?\n\x10worker_heartbeat\x18\x13 \x01(\x0b\x32#.mxaccess_worker.v1.WorkerHeartbeatH\x00\x12\x37\n\x0cworker_fault\x18\x14 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerFaultH\x00\x42\x06\n\x04\x62ody\"s\n\x0cGatewayHello\x12\"\n\x1asupported_protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x17\n\x0fgateway_version\x18\x03 \x01(\t\x12\x17\n\x0fmax_frame_bytes\x18\x04 \x01(\r\"i\n\x0bWorkerHello\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x19\n\x11worker_process_id\x18\x03 \x01(\x05\x12\x16\n\x0eworker_version\x18\x04 \x01(\t\"\x8e\x01\n\x0bWorkerReady\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12\x17\n\x0fmxaccess_progid\x18\x02 \x01(\t\x12\x16\n\x0emxaccess_clsid\x18\x03 \x01(\t\x12\x33\n\x0fready_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"w\n\rWorkerCommand\x12/\n\x07\x63ommand\x18\x01 \x01(\x0b\x32\x1e.mxaccess_gateway.v1.MxCommand\x12\x35\n\x11\x65nqueue_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x01\n\x12WorkerCommandReply\x12\x32\n\x05reply\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.MxCommandReply\x12\x37\n\x13\x63ompleted_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1e\n\x0cWorkerCancel\x12\x0e\n\x06reason\x18\x01 \x01(\t\"Q\n\x0eWorkerShutdown\x12/\n\x0cgrace_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06reason\x18\x02 \x01(\t\"H\n\x11WorkerShutdownAck\x12\x33\n\x06status\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\":\n\x0bWorkerEvent\x12+\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxEvent\"\xa5\x02\n\x0fWorkerHeartbeat\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.mxaccess_worker.v1.WorkerState\x12?\n\x1blast_sta_activity_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15pending_command_count\x18\x04 \x01(\r\x12\"\n\x1aoutbound_event_queue_depth\x18\x05 \x01(\r\x12\x1b\n\x13last_event_sequence\x18\x06 \x01(\x04\x12&\n\x1e\x63urrent_command_correlation_id\x18\x07 \x01(\t\"\xf4\x01\n\x0bWorkerFault\x12\x39\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\'.mxaccess_worker.v1.WorkerFaultCategory\x12\x16\n\x0e\x63ommand_method\x18\x02 \x01(\t\x12\x14\n\x07hresult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\x0e\x65xception_type\x18\x04 \x01(\t\x12\x1a\n\x12\x64iagnostic_message\x18\x05 \x01(\t\x12<\n\x0fprotocol_status\x18\x06 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatusB\n\n\x08_hresult*\x97\x02\n\x0bWorkerState\x12\x1c\n\x18WORKER_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATE_STARTING\x10\x01\x12\x1c\n\x18WORKER_STATE_HANDSHAKING\x10\x02\x12!\n\x1dWORKER_STATE_INITIALIZING_STA\x10\x03\x12\x16\n\x12WORKER_STATE_READY\x10\x04\x12\"\n\x1eWORKER_STATE_EXECUTING_COMMAND\x10\x05\x12\x1e\n\x1aWORKER_STATE_SHUTTING_DOWN\x10\x06\x12\x18\n\x14WORKER_STATE_STOPPED\x10\x07\x12\x18\n\x14WORKER_STATE_FAULTED\x10\x08*\xc7\x04\n\x13WorkerFaultCategory\x12%\n!WORKER_FAULT_CATEGORY_UNSPECIFIED\x10\x00\x12+\n\'WORKER_FAULT_CATEGORY_INVALID_ARGUMENTS\x10\x01\x12\x37\n3WORKER_FAULT_CATEGORY_GATEWAY_AUTHENTICATION_FAILED\x10\x02\x12+\n\'WORKER_FAULT_CATEGORY_PROTOCOL_MISMATCH\x10\x03\x12,\n(WORKER_FAULT_CATEGORY_PROTOCOL_VIOLATION\x10\x04\x12+\n\'WORKER_FAULT_CATEGORY_PIPE_DISCONNECTED\x10\x05\x12\x32\n.WORKER_FAULT_CATEGORY_MXACCESS_CREATION_FAILED\x10\x06\x12\x31\n-WORKER_FAULT_CATEGORY_MXACCESS_COMMAND_FAILED\x10\x07\x12:\n6WORKER_FAULT_CATEGORY_MXACCESS_EVENT_CONVERSION_FAILED\x10\x08\x12\"\n\x1eWORKER_FAULT_CATEGORY_STA_HUNG\x10\t\x12(\n$WORKER_FAULT_CATEGORY_QUEUE_OVERFLOW\x10\n\x12*\n&WORKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\x10\x0b\x42&\xaa\x02#ZB.MOM.WW.MxGateway.Contracts.Protob\x06proto3')
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15mxaccess_worker.proto\x12\x12mxaccess_worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16mxaccess_gateway.proto\"\x95\x06\n\x0eWorkerEnvelope\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x16\n\x0e\x63orrelation_id\x18\x04 \x01(\t\x12\x39\n\rgateway_hello\x18\n \x01(\x0b\x32 .mxaccess_worker.v1.GatewayHelloH\x00\x12\x37\n\x0cworker_hello\x18\x0b \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerHelloH\x00\x12\x37\n\x0cworker_ready\x18\x0c \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerReadyH\x00\x12;\n\x0eworker_command\x18\r \x01(\x0b\x32!.mxaccess_worker.v1.WorkerCommandH\x00\x12\x46\n\x14worker_command_reply\x18\x0e \x01(\x0b\x32&.mxaccess_worker.v1.WorkerCommandReplyH\x00\x12\x39\n\rworker_cancel\x18\x0f \x01(\x0b\x32 .mxaccess_worker.v1.WorkerCancelH\x00\x12=\n\x0fworker_shutdown\x18\x10 \x01(\x0b\x32\".mxaccess_worker.v1.WorkerShutdownH\x00\x12\x44\n\x13worker_shutdown_ack\x18\x11 \x01(\x0b\x32%.mxaccess_worker.v1.WorkerShutdownAckH\x00\x12\x37\n\x0cworker_event\x18\x12 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerEventH\x00\x12?\n\x10worker_heartbeat\x18\x13 \x01(\x0b\x32#.mxaccess_worker.v1.WorkerHeartbeatH\x00\x12\x37\n\x0cworker_fault\x18\x14 \x01(\x0b\x32\x1f.mxaccess_worker.v1.WorkerFaultH\x00\x42\x06\n\x04\x62ody\"s\n\x0cGatewayHello\x12\"\n\x1asupported_protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x17\n\x0fgateway_version\x18\x03 \x01(\t\x12\x17\n\x0fmax_frame_bytes\x18\x04 \x01(\r\"i\n\x0bWorkerHello\x12\x18\n\x10protocol_version\x18\x01 \x01(\r\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\x19\n\x11worker_process_id\x18\x03 \x01(\x05\x12\x16\n\x0eworker_version\x18\x04 \x01(\t\"\xae\x01\n\x0bWorkerReady\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12\x17\n\x0fmxaccess_progid\x18\x02 \x01(\t\x12\x16\n\x0emxaccess_clsid\x18\x03 \x01(\t\x12\x33\n\x0fready_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\x16record_info_pin_status\x18\x05 \x01(\t\"w\n\rWorkerCommand\x12/\n\x07\x63ommand\x18\x01 \x01(\x0b\x32\x1e.mxaccess_gateway.v1.MxCommand\x12\x35\n\x11\x65nqueue_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x01\n\x12WorkerCommandReply\x12\x32\n\x05reply\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.MxCommandReply\x12\x37\n\x13\x63ompleted_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1e\n\x0cWorkerCancel\x12\x0e\n\x06reason\x18\x01 \x01(\t\"Q\n\x0eWorkerShutdown\x12/\n\x0cgrace_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06reason\x18\x02 \x01(\t\"H\n\x11WorkerShutdownAck\x12\x33\n\x06status\x18\x01 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatus\":\n\x0bWorkerEvent\x12+\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x1c.mxaccess_gateway.v1.MxEvent\"\xa5\x02\n\x0fWorkerHeartbeat\x12\x19\n\x11worker_process_id\x18\x01 \x01(\x05\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.mxaccess_worker.v1.WorkerState\x12?\n\x1blast_sta_activity_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15pending_command_count\x18\x04 \x01(\r\x12\"\n\x1aoutbound_event_queue_depth\x18\x05 \x01(\r\x12\x1b\n\x13last_event_sequence\x18\x06 \x01(\x04\x12&\n\x1e\x63urrent_command_correlation_id\x18\x07 \x01(\t\"\xf4\x01\n\x0bWorkerFault\x12\x39\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\'.mxaccess_worker.v1.WorkerFaultCategory\x12\x16\n\x0e\x63ommand_method\x18\x02 \x01(\t\x12\x14\n\x07hresult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\x0e\x65xception_type\x18\x04 \x01(\t\x12\x1a\n\x12\x64iagnostic_message\x18\x05 \x01(\t\x12<\n\x0fprotocol_status\x18\x06 \x01(\x0b\x32#.mxaccess_gateway.v1.ProtocolStatusB\n\n\x08_hresult*\x97\x02\n\x0bWorkerState\x12\x1c\n\x18WORKER_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATE_STARTING\x10\x01\x12\x1c\n\x18WORKER_STATE_HANDSHAKING\x10\x02\x12!\n\x1dWORKER_STATE_INITIALIZING_STA\x10\x03\x12\x16\n\x12WORKER_STATE_READY\x10\x04\x12\"\n\x1eWORKER_STATE_EXECUTING_COMMAND\x10\x05\x12\x1e\n\x1aWORKER_STATE_SHUTTING_DOWN\x10\x06\x12\x18\n\x14WORKER_STATE_STOPPED\x10\x07\x12\x18\n\x14WORKER_STATE_FAULTED\x10\x08*\xc7\x04\n\x13WorkerFaultCategory\x12%\n!WORKER_FAULT_CATEGORY_UNSPECIFIED\x10\x00\x12+\n\'WORKER_FAULT_CATEGORY_INVALID_ARGUMENTS\x10\x01\x12\x37\n3WORKER_FAULT_CATEGORY_GATEWAY_AUTHENTICATION_FAILED\x10\x02\x12+\n\'WORKER_FAULT_CATEGORY_PROTOCOL_MISMATCH\x10\x03\x12,\n(WORKER_FAULT_CATEGORY_PROTOCOL_VIOLATION\x10\x04\x12+\n\'WORKER_FAULT_CATEGORY_PIPE_DISCONNECTED\x10\x05\x12\x32\n.WORKER_FAULT_CATEGORY_MXACCESS_CREATION_FAILED\x10\x06\x12\x31\n-WORKER_FAULT_CATEGORY_MXACCESS_COMMAND_FAILED\x10\x07\x12:\n6WORKER_FAULT_CATEGORY_MXACCESS_EVENT_CONVERSION_FAILED\x10\x08\x12\"\n\x1eWORKER_FAULT_CATEGORY_STA_HUNG\x10\t\x12(\n$WORKER_FAULT_CATEGORY_QUEUE_OVERFLOW\x10\n\x12*\n&WORKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\x10\x0b\x42&\xaa\x02#ZB.MOM.WW.MxGateway.Contracts.Protob\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -35,10 +35,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mxaccess_worker_pb2', _glob
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\252\002#ZB.MOM.WW.MxGateway.Contracts.Proto'
_globals['_WORKERSTATE']._serialized_start=2341
_globals['_WORKERSTATE']._serialized_end=2620
_globals['_WORKERFAULTCATEGORY']._serialized_start=2623
_globals['_WORKERFAULTCATEGORY']._serialized_end=3206
_globals['_WORKERSTATE']._serialized_start=2373
_globals['_WORKERSTATE']._serialized_end=2652
_globals['_WORKERFAULTCATEGORY']._serialized_start=2655
_globals['_WORKERFAULTCATEGORY']._serialized_end=3238
_globals['_WORKERENVELOPE']._serialized_start=135
_globals['_WORKERENVELOPE']._serialized_end=924
_globals['_GATEWAYHELLO']._serialized_start=926
@@ -46,21 +46,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
_globals['_WORKERHELLO']._serialized_start=1043
_globals['_WORKERHELLO']._serialized_end=1148
_globals['_WORKERREADY']._serialized_start=1151
_globals['_WORKERREADY']._serialized_end=1293
_globals['_WORKERCOMMAND']._serialized_start=1295
_globals['_WORKERCOMMAND']._serialized_end=1414
_globals['_WORKERCOMMANDREPLY']._serialized_start=1417
_globals['_WORKERCOMMANDREPLY']._serialized_end=1546
_globals['_WORKERCANCEL']._serialized_start=1548
_globals['_WORKERCANCEL']._serialized_end=1578
_globals['_WORKERSHUTDOWN']._serialized_start=1580
_globals['_WORKERSHUTDOWN']._serialized_end=1661
_globals['_WORKERSHUTDOWNACK']._serialized_start=1663
_globals['_WORKERSHUTDOWNACK']._serialized_end=1735
_globals['_WORKEREVENT']._serialized_start=1737
_globals['_WORKEREVENT']._serialized_end=1795
_globals['_WORKERHEARTBEAT']._serialized_start=1798
_globals['_WORKERHEARTBEAT']._serialized_end=2091
_globals['_WORKERFAULT']._serialized_start=2094
_globals['_WORKERFAULT']._serialized_end=2338
_globals['_WORKERREADY']._serialized_end=1325
_globals['_WORKERCOMMAND']._serialized_start=1327
_globals['_WORKERCOMMAND']._serialized_end=1446
_globals['_WORKERCOMMANDREPLY']._serialized_start=1449
_globals['_WORKERCOMMANDREPLY']._serialized_end=1578
_globals['_WORKERCANCEL']._serialized_start=1580
_globals['_WORKERCANCEL']._serialized_end=1610
_globals['_WORKERSHUTDOWN']._serialized_start=1612
_globals['_WORKERSHUTDOWN']._serialized_end=1693
_globals['_WORKERSHUTDOWNACK']._serialized_start=1695
_globals['_WORKERSHUTDOWNACK']._serialized_end=1767
_globals['_WORKEREVENT']._serialized_start=1769
_globals['_WORKEREVENT']._serialized_end=1827
_globals['_WORKERHEARTBEAT']._serialized_start=1830
_globals['_WORKERHEARTBEAT']._serialized_end=2123
_globals['_WORKERFAULT']._serialized_start=2126
_globals['_WORKERFAULT']._serialized_end=2370
# @@protoc_insertion_point(module_scope)
+11
View File
@@ -65,6 +65,13 @@ message WorkerReady {
string mxaccess_progid = 2;
string mxaccess_clsid = 3;
google.protobuf.Timestamp ready_timestamp = 4;
// Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
// (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
// success, or the failing call and HRESULT / exception type otherwise. Empty when the
// worker made no attempt (an older worker, or a runtime that never created the
// MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
// dashboard, and never gates readiness on it, because the pin is a cache warm-up.
string record_info_pin_status = 5;
}
message WorkerCommand {
@@ -127,6 +134,10 @@ enum WorkerState {
enum WorkerFaultCategory {
WORKER_FAULT_CATEGORY_UNSPECIFIED = 0;
// 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.
WORKER_FAULT_CATEGORY_INVALID_ARGUMENTS = 1;
WORKER_FAULT_CATEGORY_GATEWAY_AUTHENTICATION_FAILED = 2;
WORKER_FAULT_CATEGORY_PROTOCOL_MISMATCH = 3;