ZT-637 · Inspection block gating
| Status | In progress (Jira: In Review). Partly built |
| Ticket | ZT-637 |
| Requested by | Inspections (Brooke Muhlestein) |
| Made by | KAJ Jacobs (user 2284), 2026-11-23 21:56 to 2026-11-24 18:29 UTC |
| Sections affected | 09 · Inspection and energization |
| Project types | Residential |
Request
About 45 manual admin fixes since Sep 24, because Final Inspection buttons can reset a finished Inspection block and Failure Review events never close.
Review
Gates in the ticket: freeze finished blocks, an Additional Inspection Needed reopen button, only one pass button available, and close Failure Review events on resolution. 397 Final Inspection events sit in Failure Review (396 on blocks already at All Inspections Passed).
What Phoenix shows so far
- New rules: (Event: Final Inspection) Inspection Block Status IN All Inspections Passed, Canceled (4880), Inspection Block Status Is All Inspections Passed (4892) and Additional Inspection Reason Is Filled (4893). New field Additional Inspection Reason.
- Inspection Passed, No Others Needed (345) edited 2026-11-24 17:25 UTC.
- New Inspection autos All Required Types Passed → Pending APP (auto) (1827) and Required Type Outstanding → RTS Final (auto) (1828), created 2026-11-24 18:18 UTC. These two are not in the ticket text I read, so check they belong to ZT-637.
- Not yet seen: the freeze rule on controls 254–257, 346, 347, 762, 770 and 1779, and the reopen button.
New SOP
Not final. When done, Inspections use Additional Inspection Needed instead of asking an admin to reopen.
Rollback
See the ticket.
Config check
Not run. The build is still moving.