6.2 KiB
SDD ledger — plan: docs/superpowers/plans/2026-11-11-multi-gpu-fifo.md
- Approved design and384 GiB supplement: latest user message.
- Isolation: native create_worktree tool did not return and was terminated; independent local clone plus current dirty source snapshot preserves canonical checkout. Baseline18701ee.
- Task5 memory step: 2026-11-11 10:16:52 hot update verified memory.max=412316860416, memory+swap384GiB, container identity/start unchanged. Backup /root/gpu-fifo-upgrade-20261111-101652/container-before.json. Host available427.03GiB, CPUs128.
| Pre-flight | Producer/consumer | Finding |
|---|---|---|
| Task1 / Task4 | scheduler schema2 active_jobs -> provider/UI | Exact fields declared in plan; guard stays schema1. |
| Task1 / Task3 | monitor ownership -> per-runner yield | Global unavailable status remains protective; confirmed external occupancy affects one lease. |
| Task1 / Task2 | upstream FIFO -> application ready FIFO | Both preserve eligibility and attempt fences; prepare not ready yet can be skipped. |
| Task2 / Task4 | coordinator workflow changes / provider status | Separate owned files; public DTO additions backward compatible. |
| Task1 / Task5 | schema/markers -> coordinated switch | Drain before migration, consistent API/worker code, old singleton index cannot return. |
| Each task | Tests/code/files | RED/GREEN and full affected suite required; test ownership avoids simultaneous writes. |
Ruling: execution continues under the approved design without a second plan approval, as user explicitly requested implementation. Runtime384 GiB supersedes design's undecided memory cap.
Ruling: unrelated source changes are captured only as a private baseline; final transfer/deployment includes feature delta and current canonical source after conflict checks, not an overwrite with the snapshot.
Integration progress
- Task1: Linux RED7 expected failures observed on baseline; initial Linux GREEN176 passed/123subtests. Latest portable156passed25skipped123subtests; final Linux in progress. Fresh review memory underestimate reproduced and fixed with conservative observed+active+new reservations. Per-card blocked metadata follow-up in progress.
- Task2: ready feeder/batch/FIFO/preparation changes stable. First Linux full224passed20subtests and1 obsolete single-child deletion assertion (updated to all3 children+refs). Fresh review caught >25-ready FIFO overflow and orphan-on-cancel during post-payload preparation; both RED reproduced and fixed, final regressions running.
- Task3: initial45tests GREEN; review caught lost continuous-idle credit on occupied->empty refresh; RED reproduced, fixed46/46. Final Linux verification pending latest aggregate package.
- Task4: resource summary initial3RED ->17provider pass2skip20subtests; executor-global-blocked visibility RED ->4focusedpass. Frontend103tests pass and productionbuild/typecheck pass; final build after last UI refinement pending.
- Canonical source advanced independently to5909e38 (v4 private/shared assets release), deployed by its own chat. Its non-overlapping changes copied into this private clone; current manuals merged, generatedHTML regenerated. No application source overlap with our3ownedappfiles. Original source still untouched by this feature.
Ruling: use conservative whole-container working memory plus all active reservations when process attribution is unavailable; double-counting can reduce heavy-image concurrency, but prevents known background-growth underestimation. Three expected64GiB Wan jobs remain admissible under384GiB.
Ruling: generated manual.html textual conflict is resolved by regenerating from the three-way-merged current Markdown manual, preserving v4 help additions and new parallel scheduling rules.
Remote sessions: rootSSH20909, SFTP5325; scratch/root records /root/cmvr-gpu-fifo-20261111; user test source /workspace/projects/cmvr-visual-fifo-qa/green. Deployment helper .deploy/deploy_parallel_remote.py is prepared but NOT executed. Production still serial as of this entry; only RAM cap is live384GiB.
Completion
- Task1 complete: Linux185passed123subtests; atomic FIFO/multiple UUID leases/attempt fencing/independent cleanup and blocked metadata proven. Extra root CPU thread propagation regression2RED->2GREEN, included in185.
- Task2 complete: Linux backend229passed20subtests; quota,27readyFIFO,cancellation/preparationrace,parallelbatch andexistingprivate/shared/deletion regressions pass.
- Task3 complete: latest guard46portablepassed, fullLinux185includesallguardchecks. ControlledexternalPID causedonlytargetedjobtorequeue; peerattemptremained1. Normalexitsgeneratedno unexplainedrequeue.
- Task4 complete: frontend103passed; typecheck/build pass; authenticated browser resourcepanel fourcards, noJSerrors. Source integration appliedthree-way onto canonical5909e38;34featurefiles matched testedclone. Featurecommit89dcec1.
- Task5 complete: memory384GiB hotupdated(no workspace restart), staged imagesbuilt; activated11:00:51 aftersafe CPU/GPUdrain/backups/workeridentity+heartbeat+authority+protocolgates. FourFIFOrealjobs passed withthreephysicalcards,onecontrolledprioritypairpassed(1intendedretry only),threemodelresourcecalibrationpassed. NineMP4outputsdecoded with exact5/25frames. Measuredcontainer currentpeak105.13GiB, workingpeak102.95GiB; noOOM/maxevents. Runtimehashes12criticalsourcefiles verified againstcanonicalcommit. GPU0Qwen preserved, GPU1precise remainsstopped, formerGPU3trainingnotrestarted.
Final review fixed activation risks: waitwholeCPUexecutionquiescencebeforemaintenance,freezeAPIbrieflyonlyforrace-freezero-executioncheckusingindependentread-onlyDBprobe;thenmaintenance+GPUqueuepauseandnaturaldrain. Resumeonlywithverifiedworkerbirth+argv,freshschema2heartbeat,freshhealthyGPUauthority,fullappupstreamprotocolreadiness. Actualactivationallgatespassedandqueuefullyrestored.
Ruling: preserveexisting15-secondcontinuousidleadmissionbetweenownjobs;realFIFO4thjobwaitsuntilafreedcardhasregainedidlecredit,notuntilallpeerjobsfinishasapolicyrequirement.
Noimportantreviewfindingremains. Nodeferredminorfindings. Nothingpublishedtopublicinternet;existingprivateentryandpermissionspreserved. Detailedruntimeevidenceiscanonicalqa/gpu-fifo-*.jsonanddocs/多GPU并发与384GiB升级验收_20261111.md.