1
0
mirror of synced 2025-12-22 03:16:52 -05:00
Commit Graph

16 Commits

Author SHA1 Message Date
Kevin Heis
afa551f2ee Upgrade AJV (#19443)
* Upgrade AJV

* Fixes for AJV upgrade

* lint fix

* Update index.tsx
2021-05-20 17:46:04 +00:00
Mike Surowiec
8998e52dc0 move hydro sentry error out of /events, to hydro 2021-04-06 16:28:41 -07:00
Mike Surowiec
008faf57eb improve sentry reporting, add metrics for hydro 2021-04-06 16:21:40 -07:00
Mike Surowiec
adb81ce5b5 update webhook response to not return fields, return 200 2021-04-06 11:24:21 -07:00
Mike Surowiec
0a8b108b2a remove semi-colon 2021-04-06 10:53:14 -07:00
Mike Surowiec
bd152312f2 don't await hydro for /events POST response 2021-04-06 07:41:30 -07:00
Mike Surowiec
93b78216f8 fix: middleware/events - check res.headerSent before attempting to send response
- Closes #18527
2021-04-05 09:23:45 -07:00
James M. Greene
c940dcd98b Middleware overhaul! (#18218)
* Middleware overhaul!

- Remove unnecessary 'async' keywords from middleware functions
- Ensure all middleware functions we create have names
- Wrap the method contents of all async middleware functions in a try-catch+next(error) pattern

* Use asyncMiddleware wrapper instead of try-catch+next(error) pattern

* Remove unnecessary try-catch+next(error) pattern from context middleware
2021-03-11 01:12:41 +00:00
Jason Etcovitch
4a23a3e675 Tweak /events exception reporting (#17776)
* Include fields as metadata instead of error inst

* Include hydroText
2021-02-09 22:24:01 +00:00
Jason Etcovitch
6d20e43444 Add FailBot.report call to events errors (#17773)
* Add FailBot.report call to events errors

* Actually throw the error
2021-02-09 16:27:26 -05:00
Jason Etcovitch
ac2bc682d1 Don't bork locally without Hydro (#16361)
* Add hydro.maySend() check

* Return a 200 to differentiate

* Add NODE_ENV check, move below validation
2020-11-05 19:06:46 +00:00
Kevin Heis
380c4dcc82 Hydro exit event (#16067)
* Start a basic exit event

* Combine to one performance function

* Lint

* Fancy operators

* Update events.js

* Update events.js

* Update cookie-settings.js

* Add scroll tracking

* Tell "standard" to use babel-eslint

* Throttle scroll tracking

* Lint

* Use sendBeacon

* Update index.js
2020-10-21 09:42:02 -07:00
Kevin Heis
8982d200cc Migrate experiments and helpfulness to Hydro (#16059)
* Migrate experiments and helpfulness to Hydro

* Clean out old tests

* ...and more old tests to delete
2020-10-19 14:31:54 -07:00
Kevin Heis
10371a375b Send a 502 when write to airtable or hydro fails (#15976) 2020-10-09 10:26:54 -07:00
Kevin Heis
7c0c493c35 Sending events to POST /events endpoint (#15796) 2020-10-08 09:24:41 -07:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00