feat(controller): OPCode_probeConfigTag handler with Request envelope reply (bug-1506)

- Add OPCode_probeConfigTag dispatch in cluster.c
- Implement probe_config_tag handler returning config tag via
  standard xce_reply() → RequestReply envelope
- Populate redirectHost/redirectPort for follow_redirects support
- Wire probeConfigTag reply through typemap
- Add probeConfigTagReply struct to controller.capnp schema
This commit is contained in:
Rongsong Shen 2026-08-10 10:00:08 +00:00
parent b00e97ffe6
commit 90d7dd8241
Signed by: rshen
SSH key fingerprint: SHA256:8Vf2pZ3h6rJa7EhGK+WaAQ9Mta/apZvteW6g9U/WKKk
5 changed files with 64 additions and 8 deletions

View file

@ -593,6 +593,7 @@ struct RequestReply $C.mapname("xce_reply_t"){
ctrlstatus @17: CtrlStatus; # ctrlstatus reply: identity/health snapshot
fetchfilereply @18: FetchFileReply;
schedadminreplymsg @19: SchedAdminReply;
probeconfigtagreplymsg @20: ProbeConfigTagReply;
}
redirectHost @11: Text $C.mapname("redirect_host");
@ -710,6 +711,7 @@ struct Request $C.mapname("xce_request_t"){
snapshottransfermsg @29: SnapshotTransfer;
fetchfilemsg @30: FetchFileMsg;
schedadminmsg @31: SchedAdminRequest;
probeconfigtagrequestmsg @32: ProbeConfigTagRequest;
}
}