-
Notifications
You must be signed in to change notification settings - Fork 157
Conversation
testing to see if changes in ipfs-examples#517 break CI workflows, or if they're already broken
925e137
to
13cb390
Compare
some steps are showing the following failure on github: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: GabrielBB/xvfb-action see https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3245100955
Making significant progress with CI improvements, see https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3245177404/jobs/5322363884 where all tests except |
fixed |
hopefully fixed browser-service-worker by resolving error in https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3245576932/jobs/5323287852 |
Previous fix was not successful.. server is quitting prior to second |
attempting to increase timeout for the failing test: https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3246023082 |
Noticed that we were calling |
@hugomrdias @achingbrain any insight you two have for this service worker example failing in CI but not locally? I’ve been diving through playwright docs trying to figure out whats going on and haven’t made much progress. |
seems to be aborting the network request. https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3251450530/jobs/5336452807#step:6:83, increasing timeout to see if things resolve within a larger timeframe |
resolved the issues by removing the dependence on the iframe entirely as that seems to cause issues with playwright in the github CI. see https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3251560808 for the success. using |
remove waitForSelectors and ensure service worker response is done before checking for text debugging: query /view directly this removes the need for playwright navigating iframes and still utilizes the serviceWorker in the test
This reverts commit 76a94cc.
aacc44d
to
dd0067e
Compare
All workflows succeeding again, https://github.com/ipfs-examples/js-ipfs-examples/actions/runs/3251647631/jobs/5336920657, @hugomrdias @achingbrain. |
merging because this is essential to unblock kubo-rpc-client, and CI is passing, a lot of work done here and this is a QOL improvement |
testing to see if changes in #517 break CI workflows, or if they're already broken
They were broken. This PR fixes them and is blocking #517