w3c / alreq

Documenting gaps and requirements for support of Arabic and Persian on the Web and in eBooks.
Other
60 stars 31 forks source link

move JS function in postprocess #239

Closed deniak closed 3 years ago

deniak commented 3 years ago

Fixing race condition between respec and getAllData

r12a commented 3 years ago

Many thanks @deniak. I wouldn't have been able to produce that syntax.

However, i have hard refreshed the page at https://labs.w3.org/spec-generator/?type=respec&url=https%3A%2F%2Fw3c.github.io%2Falreq%2Fgap-analysis%2F%3FspecStatus%3DWD%26shortName%3Dalreq-gap#bidi_text 7 or 8 times now. It produced the right result (embedded GH issue information) on the 2nd attempt, but not on any of the others.

Any ideas why? GH has a policy about the number of times the API can access data. It's possible that that number was exceeded, in which case it would be necessary to wait an hour before retrying. Otherwise, is there something in the spec-generator process that could cause the problem?

deniak commented 3 years ago

preprocess should be better. See https://github.com/w3c/alreq/pull/240