x/playground: return non-200 for timeout errors #38576
This may have implications for the Tour or other places where the playground is used.
Related to #38546
The text was updated successfully, but these errors were encountered:
This changes the Playground to stop storing build and run timeout responses in the cache. These responses could get cached when the Playground was unhealthy, leaving some trivial snippets to be cached incorrectly, confusing users. Adds testing for our caching logic. Updates golang/go#38546 Updates golang/go#38576 Change-Id: Idd2106d673162d9eea8536fe2433f74c23ed6e8a Reviewed-on: https://go-review.googlesource.com/c/playground/+/229307 Run-TryBot: Alexander Rakoczy <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Dmitri Shuralyov <firstname.lastname@example.org>