feat(job-array-single-wal-record): add compact array push capnp variant

Adds Data union variant jobArray@6, reusing JobSubmit's existing
(jobid, arraySize, submit) shape verbatim -- no new struct, no
existing variant renumbered. Not yet wired into any push path
(tasks 5.1/5.2 own that).

Task 1.2 of job-array-single-wal-record.
This commit is contained in:
Rongsong Shen 2026-07-14 07:11:51 +00:00
parent 2e62e73d84
commit bc4e70b790
4 changed files with 96 additions and 2 deletions

View file

@ -8,7 +8,7 @@
- _Requirements: 1.1, 1.2, 1.3_
- _Boundary: WAL Array Submission_
- [ ] 1.2 (P) Add the compact array push wire variant
- [x] 1.2 (P) Add the compact array push wire variant
- Add one new additive variant to the existing controller-to-scheduler/apiserver push message, reusing the client submit request's existing (base jobid, array size, one spec) shape verbatim — no new struct
- Observable: the schema compiles and generates encode/decode functions for the new variant without touching any existing variant's wire layout
- _Requirements: 6.1, 6.2_