open-duelyst / duelyst

Duelyst is a digital collectible card game and turn-based strategy hybrid, developed by Counterplay Games.
Creative Commons Zero v1.0 Universal
3.62k stars 556 forks source link

[P1] `yarn build` produces inconsistent results #216

Open willroberts opened 1 year ago

willroberts commented 1 year ago

Summary

If you run yarn build a handful of times, and check the size of duelyst.js in bytes after each run, you'll notice that that the build is occasionally missing about 2.5-3KB of data. When this data is missing, we see console errors related to Cocos2D-HTML5 and WebGL, as well as visual artifacts like missing textures or black screens.

I'm not sure what causes this yet, but let's try to track this down and possibly create an automated check/test for it.

Impacted services

Steps to reproduce

  1. Run yarn build a few times.
  2. Observe 2.5-3KB of missing data inconsistently.

Environment information