Closed samreid closed 3 years ago
I tried grunt --brands=phet --repo=graphing-quadratics build-images
from my chipper and didn't see any problems. Also, I noticed the locales for this build is "iw". @zepumph @jbphet or @jonathanolson can you please recommend how to investigate?
I ran:
cd ../graphing-quadratics/
git checkout fa3df61e1fbd9bf4ea1931056037840fb6e6116f
grunt checkout-shas
grunt --brands=phet --repo=graphing-quadratics build-images
And ran into no problems.
I went onto phet-server and pulled sherpa, and it was already up to date.
Here is my best guess:
I wonder is this is a case where chipper isn't getting npm update called on it correctly, or if sherpa isn't getting checked out to an older sha appropriately.
The graphing-quadratics sha that was used in the failed build above is from Wed, 9/21/21, and this new patch is only on master. Why would shas checked out for that older version still have chipper's file pointing to the sherpa version of jsondiffpatch?
We got over 10 failed builds because of this guy over the weekend, so we should solve this quickly.
After seeing that it is actually 22 failed builds this weekend, I decided to at least put in a workaround to lazily require the script that is needed the non-existent sherpa file.
From the require stack trace, we can see that chipper was loading sherpa/lib/jsondiffpatch-v0.3.11.umd.js
. However, it says it was using the SHA for chipper as d84a8593cdba1c8e450f6a96157b1a60960a67a7
, which loads jsondiffpatch from chipper/node_modules. So is the translation build process using chipper master or something? And thanks for the lazy require for now.
@zepumph @jonathanolson @mattpen and I discussed this today. We determined the problem was that chipper was checked out to master for deploy-images, but dependencies (like sherpa) were not checked out to master, which caused this discrepancy. @mattpen said the translations were most likely fully deployed, and there was just a failure in the deploy images step (which is not needed for translations). @jonathanolson will commit the fix, and @mattpen will review the 22 submissions to make sure they are complete.
I verified that all sims had a localized file and a database entry. Here is the list of build requests:
number-line-distance sq
energy-skate-park fa
energy-skate-park-basics fa
collision-lab sq
bending-light ar
proportion-playground iw
make-a-ten iw
graphing-slope-intercept iw
graphing-quadratics iw
function-builder-basics iw
function-builder iw
fractions-mixed-numbers iw
fractions-intro iw
fractions-equality iw
equality-explorer-two-variables iw
equality-explorer-basics iw
equality-explorer iw
build-a-fraction iw
area-model-multiplication iw
area-model-introduction iw
area-model-decimals iw
ratio-and-proportion iw
I believe that all the translations that failed the build were in actuality a success, and that we do not need to conteact translators to resubmit.
I think this issue can be closed. Leaving to remaining assignees to see if there is anything else.
Nothing else from my perspective.
From https://github.com/phetsims/chipper/issues/1085 @zepumph reported build failures, perhaps from the translation build:
I checked that empty.js was committed properly as part of https://github.com/phetsims/chipper/issues/1085, I'm not sure what's wrong.