feat(worker-rejoin-resync): add reconciliation wire codec helpers (task 1.4)
Add xce_job_state_query_req()/xce_job_state_report_req() to request.c, paginating job IDs / job-state entries across OPCode_jobStateQuery / OPCode_jobStateReport messages via direct Request.body union arms (mirroring xce_jobdispatch_req/xce_notify_req's direct-send shape, not xce_push_data_req's XceData-table multiplexing -- these are dedicated union arms, not multiplexed push/reply-get traffic). 8 round-trip tests (normal/empty/multi-page for both query and report, covering all 4 JobStateStatus values and both queried states) all pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y4M5MJM2zK6nU43da267Ku
This commit is contained in:
parent
9fbbd12b36
commit
9f3dfe7903
6 changed files with 581 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ extern void test_jobj_hardening(void);
|
|||
extern void test_qobj(void);
|
||||
extern void test_wobj(void);
|
||||
extern void test_request(void);
|
||||
extern void test_job_state_wire(void);
|
||||
extern void test_cbuf(void);
|
||||
extern void test_zarray_cow(void);
|
||||
extern void test_kvmgr_capture(void);
|
||||
|
|
@ -152,6 +153,7 @@ int main(int argc, char* argv[])
|
|||
TEST(test_wobj);
|
||||
TEST(test_qobj);
|
||||
TEST(test_request);
|
||||
TEST(test_job_state_wire);
|
||||
TEST(test_cbuf);
|
||||
TEST(test_zarray_cow);
|
||||
TEST(test_kvmgr_capture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue