Skip to content

Commit 36fb853

Browse files
committed
deps: Upgrade Percy SDK & tweak asset discovery settings
This commit updates the Percy Ember SDK to the latest version. With that updates the underlying package that does asset discovery (`@percy/agent`). In newer versions asset discovery response caching is on by default, so we cache all network requests. The search svg was missing in random snapshots because the test server was failing to respond when the asset discovery service would request it to save. By enabling caching we can reduce the burden on the server and always have that svg in the cache (along with all other assets that load with a 200).
1 parent 13d74da commit 36fb853

File tree

3 files changed

+1675
-143
lines changed

3 files changed

+1675
-143
lines changed

.percy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 1
2+
agent:
3+
asset-discovery:
4+
network-idle-timeout: 250 # ms
5+
page-pool-size-min: 8 # pages
6+
page-pool-size-max: 15 # pages

0 commit comments

Comments
 (0)