Conversation
|
@limzykenneth stuck here. The original commit here fixed the reference docs but broke the tests. So I am trying to add an "hidden" metadata that parsers/reference.ts could use to exclude but now I can't reproduce the original problem and also the tests still fail. To be honest my mental model here makes no sense. I expect the p5.js data.json to match what p5.js-website builds and when I was getting the errors, it didn't match (on I can sort of understand why changing exclusion rules in convert would break tests but I definitely dont understand why adding some metadata would. Stopping here for the day, if you have any ideas would be helpful |
|
Hi @ksen0 , regarding the test concern, I think the failing test was this one: p5.js/test/unit/webgl/p5.Framebuffer.js Lines 672 to 686 in a350bb3 I reran the tests twice, and it passes now. I also remember discussing this particular test with Ken on Discord in the group. I'll take a look at fixing it, but for now I don't think it's related to your changes. I observed that a test is flaky and occasionally fail (6 out of 10 times on an average) when executed in GitHub Actions. |
|
@ksen0 I had a look, so from what I can see, everything is actually working as intended currently. The reason for the original issue showing the private The website can be made to build against an RC version by just replacing the 2.3.0 version number in In other words, I think there's nothing to fix here, we can try to make building against specific version of the p5.js repo by the website easier. |
|
Thanks for explaining @limzykenneth . I did |
Fixes #8980
Local test
npm run custom:dev ../p5-20/p5.js#priv