You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an intake volunteer marks a Request as "Send to Slack" / "Ready For Aid" it needs to get sent to Slack
Notes
Airflow doesn't have any simple push notifications, but we can poll. This will likely involve creating 2 hidden fields: meta and an auto last_modified column. The last_modified will let the system narrow down the number of rows to examine, and meta will be a hidden json-encoded text column of the last values observed. This way we can tell exactly which fields changed and to what. This is inspired as a generalized version of: https://github.com/bedstuystrong/firebase-functions/blob/master/functions/airtable.js#L78
could we add a field last-processed field that is set a tiny bit in the future? then we could have an airtable formula like last_modified > last_processed
When an intake volunteer marks a Request as "Send to Slack" / "Ready For Aid" it needs to get sent to Slack
Notes
Airflow doesn't have any simple push notifications, but we can poll. This will likely involve creating 2 hidden fields: meta and an auto last_modified column. The last_modified will let the system narrow down the number of rows to examine, and meta will be a hidden json-encoded text column of the last values observed. This way we can tell exactly which fields changed and to what. This is inspired as a generalized version of: https://github.com/bedstuystrong/firebase-functions/blob/master/functions/airtable.js#L78
The internal API could look something like:
Polling changes could look like:
last_modified
(maybe include a jitter or overlap)Related: #1
The text was updated successfully, but these errors were encountered: