1
0
mirror of synced 2026-01-09 15:02:41 -05:00
Commit Graph

489 Commits

Author SHA1 Message Date
Vanessa Yuen
bbd9f03f6e Populate product-landing "What's new" section using GitHub Changelog (#18328)
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2021-04-08 20:51:37 +00:00
Mike Surowiec
09dfd19093 fix: statsd prefix doesn't work as intended, clean up stats scoping 2021-04-08 09:48:17 -07:00
Mike Surowiec
a9bde76bfc fix: hydro status code metric 2021-04-08 09:43:09 -07:00
Mike Surowiec
f79d23ccb9 Merge branch 'main' into webhook-response-no-hydro 2021-04-08 08:41:01 -07:00
github-openapi-bot
c07fccc426 Update OpenAPI Descriptions (#18627) 2021-04-08 10:05:13 +01:00
github-openapi-bot
e69151f35f Update OpenAPI Descriptions (#18613)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
2021-04-07 18:19:46 -07:00
Sarah Schneider
520ff1bc5f Merge branch 'main' of github.com:github/docs-internal into move-product-list-to-frontmatter 2021-04-07 14:33:56 -04:00
Octomerger Bot
d8e8f6df1d Branch was updated using the 'autoupdate branch' Actions workflow. 2021-04-08 02:48:14 +10:00
Shati Patel
b7bbc707a9 Updating product landing page to include CodeQL (#18150) 2021-04-07 16:47:45 +00:00
rachmari
2f39e0984c Action ran graphql script"update-files" 2021-04-07 16:37:49 +00:00
Mike Surowiec
d29866b9aa Merge branch 'main' into webhook-response-no-hydro 2021-04-07 07:59:59 -07:00
Mike Surowiec
db4695da14 fix: use asyncTimer properly 2021-04-06 16:49:20 -07:00
Mike Surowiec
720c194854 fix: remove semicolons 2021-04-06 16:38:45 -07:00
Mike Surowiec
57311c8c46 fix: remove field.paths from err 2021-04-06 16:37:51 -07: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
Laura Coursen
fe9ccfd0f4 Release discussions (#18515) 2021-04-06 12:51:57 -05:00
James M. Greene
22e8d75c91 RedisAccessor tolerance for GET failures (#18586)
* Update RedisAccessor to allow for graceful GET failures, too
* Add unit tests for allowGetFailures behavior
2021-04-05 16:26:46 +00:00
Sarah Schneider
8fa7b9c4ee add ko-fi.com (#18583) 2021-04-05 09:10:31 -07:00
James M. Greene
92f8f72593 Add a Redis PING every minute to keep the connection alive (#18584)
* Add a Redis PING every minute to keep the connection alive
2021-04-05 15:59:50 +00:00
James M. Greene
920daecd4d Redis hardening: retry strategy (#18565)
* Add an error handler to ensure the Redis server connection is forcibly closed
* Explain unknown errors are usually server idle timeouts
* Add an automatic retry_strategy
* Explicitly set connect_timeout to the default value of 1 hour
2021-04-05 15:49:46 +00:00
github-openapi-bot
10fef4dfad Update OpenAPI Descriptions (#18553)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-04-02 15:45:24 -07:00
Sarah Schneider
107b8e5bc0 Move scheduled tasks code into docs repo (#17926)
Co-authored-by: Rachael Sewell <rachmari@github.com> - https://github.com/github/docs-internal/pull/18453
2021-04-02 12:42:41 -07:00
Sarah Vessels
2b21146d23 Add new fields to sample Sponsors webhooks (#18548) 2021-04-02 17:11:58 +00:00
James M. Greene
7cd58b06c7 Redis: prevent offline queuing and retries for commands (#18561)
* Add an error handler to ensure the Redis server connection is forcibly closed
* Disable the Redis offline queue and retries
2021-04-02 15:28:24 +00:00
Sarah Schneider
922c159449 lint 2021-04-01 15:42:59 -04:00
Sarah Schneider
c7f647f68a update references 2021-04-01 15:29:59 -04:00
Sarah Schneider
229549621d update all-products so it reads from the homepage frontmatter 2021-04-01 15:29:31 -04:00
Sarah Schneider
73c67857a3 support the new frontmatter props 2021-04-01 15:27:58 -04:00
Sarah Schneider
3cba45358a Merge branch 'main' of github.com:github/docs-internal into support-conditionals-in-sublanding-fm 2021-04-01 14:11:00 -04:00
github-openapi-bot
ed6c6762cf Update OpenAPI Descriptions (#18544) 2021-04-01 16:59:49 +00:00
Sarah Schneider
ee53f96dad support conditionals in sublanding FM props 2021-04-01 10:01:23 -04:00
Sarah Schneider
150696005b Merge branch 'main' into script-to-move-toc-links-into-frontmatter 2021-03-31 12:51:23 -04:00
Sarah Schneider
aa62f45893 Merge branch 'main' into version-product-landing-frontmatter 2021-03-31 12:16:18 -04:00
github-openapi-bot
b192f53d4d Update OpenAPI Descriptions (#18489) 2021-03-31 04:45:13 +00:00
Laura Coursen
3ae481ea7b Add webhook events for discussions (#18442) 2021-03-30 17:38:13 +00:00
Sarah Schneider
088aaf648c add script and helper module 2021-03-29 19:38:29 -04:00
Octomerger Bot
225dd25fca Branch was updated using the 'autoupdate branch' Actions workflow. 2021-03-30 03:34:55 +10:00
James M. Greene
84547e54c7 Use node-redis for page cache (#18421)
* Use [node-]redis as a direct dependency

* Extract Redis client creation to its own module

* Attach extensive logging in the Redis client creation module

* Allow the rate limiter to pass requests when Redis is disconnected

* Update rate-limit-redis

* Default error input to empty object for formatRedisError method

* Provide a name for the rate limiter's Redis client

* Include redis-mock, exclude ioredis/ioredis-mock

* Remove unused RedisAccessor#exists method

* Switch RedisAccessor to use redis/redis-mock

* Provide a name for logging on the Redis page cache

* Remove extraneous trailing space from Redis logging prefix

Our updated use of console.* will already be adding a space after the prefix

* Replace ioredis-mock with redis-mock in tests

* Revert removal of ioredis dependency

* Bind Redis client to async promisified methods

* Extract former RedisAccessor constructor tests to new create-client tests

* Update RedisAccessor tests to work with the callback-based redis client

* Handle formatting Redis errors (or not) with more resiliency
2021-03-29 17:34:22 +00:00
rachmari
03bd6131a2 Action ran graphql script"update-files" 2021-03-29 16:38:56 +00:00
rachmari
ac93c5d2a8 Action ran graphql script"update-files" 2021-03-27 16:38:49 +00:00
github-openapi-bot
ad34fb22bb Update OpenAPI Descriptions (#18447) 2021-03-26 15:59:32 -07:00
Sarah Schneider
754d59a4d1 parse featured links to support Liquid conditionals 2021-03-26 12:25:05 -04:00
Sarah Schneider
b320016ea5 parse some of the landing page frontmatter so we can respect conditionals 2021-03-26 11:24:29 -04:00
James M. Greene
23bcc0bb06 Use node-redis for rate limiter (#18416)
* Use [node-]redis as a direct dependency
* Extract Redis client creation to its own module
* Attach extensive logging in the Redis client creation module
* Allow the rate limiter to pass requests when Redis is disconnected
* Update rate-limit-redis
* Default error input to empty object for formatRedisError method
* Provide a name for the rate limiter's Redis client

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-03-25 23:54:25 +00:00
Rachael Sewell
a9bee89188 Remove sentence case from openapi response (#17872) 2021-03-25 13:47:55 -07:00
rachmari
84a07df6da Action ran graphql script"update-files" 2021-03-25 16:36:30 +00:00
github-actions[bot]
358a5d0f9e Action ran graphql script"update-files" (#18383) 2021-03-24 05:40:03 +00:00
github-openapi-bot
6f2a5bcf45 Update OpenAPI Descriptions (#18379) 2021-03-23 15:45:01 -07:00
github-openapi-bot
26a7e84808 Update OpenAPI Descriptions (#18369) 2021-03-23 14:18:33 -07:00