-
The problemWe encountered this percy client error on a recent build which caused it to fail:
This happened on a build which was introducing no functional changes, nor changes to our visual tests. Environment
DetailsSee above Debug logsMore detailed logs can be found in the build logs here. (We run percy cli with debug mode on) Code to reproduce issueN/A, happened at random. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 8 replies
-
We're seeing the same problem too since last week. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
We're seeing this problem as well. As with @ozyx, our tests run on circle ci. We're not running in parallel. The command we run is
We upgraded to |
Beta Was this translation helpful? Give feedback.
-
Hope this helps We see the same issue quite frequently: https://github.com/alphagov/govuk-frontend/actions/runs/5197923021/jobs/9374305996 We run a Node.js script with concurrent calls to Output always shows 40+ snapshots taken: [percy] Snapshot taken: js: back-link
[percy] Snapshot taken: js: accordion
[percy] Snapshot taken: js: breadcrumbs
[percy] Snapshot taken: js: button
[percy] Snapshot taken: no-js: button
[percy] Snapshot taken: no-js: accordion
[percy] Snapshot taken: js: cookie-banner
[percy] Snapshot taken: js: checkboxes
[percy] Snapshot taken: js: date-input
[percy] Snapshot taken: js: character-count
[percy] Snapshot taken: no-js: checkboxes
[percy] Snapshot taken: no-js: character-count
[percy] Snapshot taken: js: error-message
[percy] Snapshot taken: js: details
[percy] Snapshot taken: js: fieldset
[percy] Snapshot taken: js: error-summary
[percy] Snapshot taken: no-js: details
[percy] Snapshot taken: no-js: error-summary
[percy] Snapshot taken: js: footer
[percy] Snapshot taken: js: hint
[percy] Snapshot taken: js: file-upload
[percy] Snapshot taken: js: header
[percy] Snapshot taken: no-js: header
[percy] Snapshot taken: js: label
[percy] Snapshot taken: js: input
[percy] Snapshot taken: js: notification-banner
[percy] Snapshot taken: js: inset-text
[percy] Snapshot taken: no-js: notification-banner
[percy] Snapshot taken: js: panel
[percy] Snapshot taken: js: radios
[percy] Snapshot taken: js: phase-banner
[percy] Snapshot taken: js: pagination
[percy] Snapshot taken: no-js: radios
[percy] Snapshot taken: js: skip-link
[percy] Snapshot taken: js: summary-list
[percy] Snapshot taken: js: table
[percy] Snapshot taken: js: select
[percy] Snapshot taken: no-js: skip-link
[percy] Snapshot taken: js: warning-text
[percy] Snapshot taken: js: tag
[percy] Snapshot taken: js: tabs
[percy] Snapshot taken: js: textarea
[percy] Snapshot taken: no-js: tabs
[percy] Snapshot taken: js: text-alignment (example)
[percy] Snapshot taken: js: typography (example) Then for most test runs Percy finalises without issue, although the snapshot count is always incorrect: [percy] Uploading 2 snapshots...
[percy] Finalized build #4931: https://percy.io/55ba5e1a/govuk-frontend/builds/28024895 But we see frequent failures as shown in the links above: [percy] Uploading 3 snapshots...
[percy] Error: Finalizing build 28024413 failed: cannot finalize before all snapshot resources are uploaded. This is likely a client error, please make sure that content for all SHAs in 'missing-resources' from the snapshot response are uploaded before calling finalize. We worked around this problem in the past by adding But after the @percy/cli v1.24.2 update we started seeing finalize run twice: |
Beta Was this translation helpful? Give feedback.
-
I've done some testing this afternoon and it appears to be a bug in By enabling import { waitForPercyIdle } from '@percy/sdk-utils'
// Wait for Percy to finish
await waitForPercyIdle() |
Beta Was this translation helpful? Give feedback.
-
hey Folks! Appreciate your patience on this issue. we’ve made some changes in our CLI release in If it works we’ll release it in a stable channel. |
Beta Was this translation helpful? Give feedback.
hey Folks!
Appreciate your patience on this issue.
we’ve made some changes in our CLI release in
1.27.6-alpha.0
please try this out and let us know the stability. ( Note: with this you can also try removing out the concurrency config which was suggested earlier and have it default)If it works we’ll release it in a stable channel.