-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
There are at least three moments to consider:
- When sensor data is UPSERTed
- When a trigger references a sensor in its flex-model or flex-context
- When a scheduler GETs sensor data
Gathering some thoughts:
1. When sensor data is UPSERTed
- It's still unknown whether the sensor will even be referenced in a flex-model or flex-context.
2. When a trigger references a sensor
- Allows early validation whose results can be immediately returned to the user.
- Sensor data may still get updated in the time between triggering (creating the scheduling job) and scheduling (executing the scheduling job).
2. When a scheduler GETs sensor data
- Validation against the exact data that would be used in scheduling
- Validation errors would show up in failed task logs.
Originally posted by @Flix6x in #985 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels