mdittmer / mdn-confluence

2 stars 5 forks source link

npm run confluence often hangs #30

Closed foolip closed 3 years ago

foolip commented 5 years ago

Running this tool to send PRs to browser-compat-data, it often hangs for me. It seems to always happen after this much has been printed to the logs:

core boot time:  19
Unknown property foam.core.Class.javaInfoType: foam.core.AbstractObjectPropertyInfo
Unknown property foam.core.Property.javaInfoType: foam.core.AbstractObjectPropertyInfo
Change of Axiom org.chromium.apis.web.LocalJsonDAO.error type from foam.core.Method to foam.core.Import
Import "error" already exists in ancestor class of org.chromium.apis.web.LocalJsonDAO.
Change of Axiom org.chromium.apis.web.HttpJsonDAO.error type from foam.core.Method to foam.core.Import
Import "error" already exists in ancestor class of org.chromium.apis.web.HttpJsonDAO.
Unknown property foam.core.Function.returns: String
Unknown property foam.core.Function.args: opt_gcloudProjectId
Unknown property foam.core.Function.returns: String
Unknown property foam.core.Function.args: classId,opt_gcloudProjectId
Unknown property foam.core.Function.returns: String
Unknown property foam.core.Function.args: classId,opt_gcloudProjectId
Unknown property foam.core.Function.returns: String
Unknown property foam.core.Function.args: classId,opt_gcloudProjectId
Unknown property foam.core.Function.returns: String
Unknown property foam.core.Function.args: classId,opt_gcloudProjectId
Unknown property foam.core.Function.returns: String
**** Boxes are running in UNSAFE mode.  Turn this off before you go to production!
**** Boxes are running in UNSAFE mode.  Turn this off before you go to production!
Property org.mozilla.mdn.BaseImporter.dataClass_ "value" hidden by "getter"
Change of Axiom org.chromium.apis.web.SerializableIndexedDAO.delegate type from foam.core.Proxy to foam.dao.DAOProperty
Unsupported change of property type fromfoam.core.Proxytofoam.dao.DAOProperty
org.chromium.apis.web.HttpJsonDAO of org.chromium.apis.web.Release created from https://storage.googleapis.com/web-api-confluence-data-cache/latest/json/org.chromium.apis.web.Release.json
Promised org.chromium.apis.web.HttpJsonDAO of org.chromium.apis.web.Release from https://storage.googleapis.com/web-api-confluence-data-cache/latest/json/org.chromium.apis.web.Release.json resolved as org.chromium.apis.web.MDAO
Change of Axiom org.chromium.apis.web.GridDAO.warn type from foam.core.Method to foam.core.Import
Import "warn" already exists in ancestor class of org.chromium.apis.web.GridDAO.
org.chromium.apis.web.HttpJsonDAO of org.chromium.apis.web.GridRow created from https://storage.googleapis.com/web-api-confluence-data-cache/latest/json/org.chromium.apis.web.GridRow.json

org.chromium.apis.web.GridRow.json is large, but I doubt GCS is that unreliable. I've also tried --max-old-space-size=2048 but it doesn't help, so it's probably not a memory issue.

Sometimes it just works when I retry. This is on macOS.

foolip commented 3 years ago

I haven't had this happen since I simplified away a lot of the code and dependencies.