Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Github #1192] slack alerts #1202

Merged
merged 22 commits into from
Oct 31, 2023
Merged

[Github #1192] slack alerts #1202

merged 22 commits into from
Oct 31, 2023

Conversation

khaliqgant
Copy link
Member

@khaliqgant khaliqgant commented Oct 30, 2023

Resolves #1192
Resolves #1151

  • Allows users to set up Slack notifications for failing syncs

Deployment To Dos

  • Deploy the flow-result-notifier-action to the Nango admin account on both staging and prod
  • Create the admin-slack connection

image

@khaliqgant khaliqgant merged commit a59f676 into master Oct 31, 2023
@khaliqgant khaliqgant deleted the gh-#1192-slack-alerts branch October 31, 2023 18:42
bodinsamuel added a commit that referenced this pull request May 31, 2024
## Changes

Directly related to implem:
- UI: bad loading state when opening the operation drawer
- UI: search in operation's logs was not working after latest PR 
- ES: if we don't `refresh=true` index after inserting operation it can
sometimes be missing from the index when we reach jobs making it
impossible to update state, unfortunately that will slow down insert of
operation not sure by how much

Other related changes:
- `syncRunService` clarify what we expect in terms of logging options
(with types) when dryRun or not
We either `writeToDB` and needs everything related to logs, or nothing. 

- `syncRunService` now takes a mandatory logCtx (if writeToDb=true)
In `activities.ts` we create an operation for `sync run`, but when we
entered this service (on the same machine) we had to get the operation
back with the activityLogId which was definitely unnecessary and slowing
down everything.

- `triggerAction()` never takes an optional activityLogId and
`writeLogs` at all
It helps simplify the code and ensure we have the data in activities.ts.
I could not find a place where we don't pass an activityLogId and use
this writeLogs=false. I saw it was introduced in an old
[PR](#1202) let me know @khaliqgant
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slack Alerts for flows Always send webhook tooltip unclear
2 participants