deploy(#52/#142): Z28061 redeployed on QA (idle, verified); DEV skipped — idle attributes Bad quality
Claude-Session: https://claude.ai/code/session_01GT67AFKC45MBz1wPZnVbX8
This commit is contained in:
@@ -53,3 +53,44 @@ The call is `flow-debug run-script --instance-id 2 --script ProcessRecipeDownloa
|
||||
## Rollback
|
||||
|
||||
Per tier: `SCADABRIDGE_URL=<central> SCADABRIDGE_USERNAME=… SCADABRIDGE_PASSWORD=… SB_SKIP=Z28061 bash apply.sh rollback 52`. It refuses unless the live body is FIXED. It writes the original body back, and the instances redeploy onto it.
|
||||
|
||||
## Z28061 (2026-11-15, #142)
|
||||
|
||||
The owner said: "if its idle you can do rest of #52". So on each tier Z28061 was redeployed **only if it was provably idle at that moment**, which stands in for the slot with its other team. Only the management CLI was used, with an explicit `--url`. Only Z28061 was deployed. `apply.sh apply` was not used, because it deploys every CvdReactor instance.
|
||||
|
||||
### DEV vd03: SKIPPED, idle can't be proven
|
||||
|
||||
- `apply.sh check 52` at 23:06Z: the body is FIXED, Z28061 (id 1) is `stale=True` (deployed 2026-10-28), and Z28061Sim and Z28062 are not stale.
|
||||
- `debug snapshot` at 23:06:03Z: 270 attributes, **16 Good**.
|
||||
- Every idle-check attribute is **Bad, value null**: `CycleRunning`, `MachineCycleID`, `FurnaceTemp` and `MachineBatchID` on both sides, plus `Left/RightDelmiaReceiver.RecipeDownloadFlag`.
|
||||
- Only `DelmiaReceiver.RecipeDownloadFlag` and `ReadyFlag` are Good, both False, with the value last changed 2026-08-26.
|
||||
- The rule says Bad quality means not proven idle, so it was **not deployed**. DEV Z28061 still runs the old body (`Children["DelmiaRecv"]`).
|
||||
- **To unblock DEV:** get Z28061's DEV data source back to Good quality, or have its team confirm it's idle.
|
||||
|
||||
### QA vq03/vq04: DONE
|
||||
|
||||
- **Active central:** vq03 (`/health/active` vq03 200, vq04 503); the #116 stop-and-hold drill had moved it there. Every call went to vq03.
|
||||
- **`apply.sh check 52`:** body FIXED, `SB_EXPECT=Z28063,Z28069,WarmCanary` passed. Z28061 (id 1) was the only stale instance; Z28062–Z28069 were already current.
|
||||
|
||||
**Idle check** (snapshots at 23:06:18Z and 23:07:25Z, 67 s apart; 244 attributes, all Good):
|
||||
|
||||
| Attribute | Left | Right |
|
||||
|---|---|---|
|
||||
| `CycleRunning` | False | False |
|
||||
| `MachineCycleID` | 0 | 0 |
|
||||
| `FurnaceTemp` | 25 | 25 |
|
||||
| `MachineBatchID` | 0 | 0 |
|
||||
|
||||
- `DelmiaReceiver.RecipeDownloadFlag` and `ReadyFlag`: both False. QA's Z28061 has no Left/Right Delmia receivers.
|
||||
- Between the two snapshots, the only change was `TrunkPressure` 0.18 → 0.17, which is noise.
|
||||
|
||||
**Deploy and verification:**
|
||||
- **Deploy:** `instance deploy --id 1` gave deployment 241, status 2, done at 23:07:36.81Z in 0.26 s; revision `sha256:2727a432…`.
|
||||
- **`instance diff`:** `isStale=False`.
|
||||
- **Snapshot after (23:08:02Z):** 244 attributes, 244 Good, no value change except `TrunkPressure` noise, and no batch, so nothing to preserve.
|
||||
- **Trace:** `ReadyFlag` re-read as False / Good first, so the script returns before any PLC write. `flow-debug run-script --instance-id 1 --script ProcessRecipeDownload --params '{}'` at 23:08:13Z gave RouteCall and ScriptRun both Delivered, with **no `not found` warning**.
|
||||
|
||||
### Result
|
||||
|
||||
- **QA:** all ten CvdReactor instances (Z28061–Z28069) run the fixed body.
|
||||
- **DEV:** Z28062 and Z28061Sim are fixed. **Z28061 is still pending** on #142.
|
||||
|
||||
Reference in New Issue
Block a user