Older writeCheck inserts omitted target_type, so every seed-created check_def had a NULL/empty target_type. checkSSHScript's IsGuest check then never matched, and guest checks silently fell back to their baked (often mesh-only) address — keeping them 'down' even after the pct-exec routing and deployed scripts were in place. rclone stayed down for exactly this reason after the host-hop fix. writeCheck now writes target_type, and checkSSHScript resolves the type from the target_id when the column is blank (a runtime safety net for existing rows; the seed rows were also backfilled in the live DB).
14 KiB
14 KiB