Fix CvdReactor.ProcessRecipeDownload addressing Children["DelmiaRecv"] on the wonder environments #52
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Register row 107 (deferred-work register).
After the 2026-06-27
DelmiaRecv→DelmiaReceivercomposition rename, the deployedCvdReactor.ProcessRecipeDownloadsite script (template 1, script id 4) still addressesChildren["DelmiaRecv"]. An unknown child path yields null, so every call would answerReceiver ready flag not set to trueregardless of the real flag. Inferred from the captured script, not observed (no call since the rename). The rig stand-in (docker/seed-delmia-sim.sh) usesChildren["DelmiaReceiver"]and works.Revisit trigger (from register): Before the first production Delmia recipe download.
Current state: No fix recorded in any deployment record through 2026-10-22; the QA copy was never read. Verify on vd03 and QA via the management CLI.
Fix:
scadabridge template script updateon theCvdReactortemplate, redeploy Z28061/Z28062/Z28061Sim, then a liveWWNotifiercall; write a deployment record. Related:docs/api-specs/Delmia-Recipe-Download-API.md§7 item 1.Source:
docs/plans/2026-07-08-deferred-work-register.mdrow 107Deploy prep done, not applied (commit
a92a418donmain). Plan, original and fixed bodies, and a guardedapply.sh check|apply|rollback 52:docs/deployment/deploy-prep/2026-11-12-gates-52-131/.Inventory. From a read-only export on 2026-11-12, covering every template script and inbound method.
instance diffshows no stale instance on either env, so the deployed scripts are these template bodies.CvdReactor.ProcessRecipeDownload(template 1, script 4) still hasChildren["DelmiaRecv"]. The template's only composition isDelmiaReceiver. Instances to redeploy: Z28061 (1), Z28062 (2), Z28061Sim (8).Children[...]name that isn't a composition.Fix. One line:
Children["DelmiaRecv"]becomesChildren["DelmiaReceiver"].apply.shre-sends the parameter schema, becausetemplate script updatereplaces it. It refuses to run unless the live body matches the original file byte for byte.Order. This can go any time; it doesn't depend on the binary deploy. Doing it in the same window as the next binary deploy means only one redeploy. Agree a slot for Z28061 first, because another team uses it.
Rig evidence. A temporary CvdReactor template held the DEV body, composing the static DelmiaReceiverSim as
DelmiaReceiver. It has since been deleted.Receiver ready flag not set to true, plus the site warningattribute 'DelmiaRecv.ReadyFlag' not found. This confirms the issue's inference.WriteBatchAndWaitAsyncneeds data-sourced attributes). On the wonder boxes the receiver is Galaxy-bound.Receiver ready flag not set to true(negative control).apply, thenrollback, thenapplyreturned the same revision hashes each time.Label.
blockedno longer matches reality: nothing technical blocks this now. It only waits for owner approval to apply on DEV and QA. I've left the label for you to change. Not closing: applying this is a deploy.Applied 2026-11-15 on DEV vd03 and QA vq03/vq04. Z28061 is excluded on both tiers (follow-up #142). Record:
docs/deployment/deployment-records/2026-11-15-gate-52-delmiareceiver-fix.md(125db032).CvdReactor.ProcessRecipeDownload(template 1, script 4) now usesChildren["DelmiaReceiver"].apply.shre-sent the metadata and read it back unchanged. The body is FIXED on both tiers.CycleRunningFalse and furnaces at 23–25 °C. Afterwards all 8 are at 244/244 Good, and the open batches (Z28063 29049, Z28065 29020, Z28068 29081) and their steps are unchanged.flow-debug run-scripton Z28062, run only withDelmiaReceiver.ReadyFlagat a Good False, so the script returns before writing.GetAttribute: attribute 'DelmiaRecv.ReadyFlag' not found. That is this bug: the hard-coded text came back no matter what the flag was.ReadyFlagTrue. QA Z28063 currently hasReadyFlagTrue, so it was not called. Its next real recipe download will now take the download path.apply.sh: every CLI call now passes--url/--username/--passwordexplicitly, because an env-only URL had silently reached DEV earlier today. Two guards are new:SB_EXPECTrefuses unless the expected instances are present (proof of the tier), andSB_SKIPnever deploys the listed instances.SB_SKIP=Z28061 bash apply.sh rollback 52per tier.Closing. Z28061 is tracked in #142.
Z28061 follow-up (2026-11-15): QA Z28061 redeployed and verified, so all ten QA CvdReactor instances now run the fix. DEV Z28061 is skipped: its idle attributes are Bad quality. Details in #142 (
061432c8).