-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scorecard showing old results #89
Comments
I have the same issue. Yesterday I published a new version with correct license and today the scorecard still reflects the old version. https://flows.nodered.org/node/node-red-contrib-dyson-purelink Running node-red-dev locally shows it is ok: |
Hello, I apologize if this seems pushy, its not intended to be, only many many Node devs including my myself, have made improvements to our packages, as we get scolded by the scorecard. Only to find out the scorecard is not updating and our packages still being scored down (aggressively) despite meeting certain standards. Many many people on the forums also raise this same issue, and I have also added comments, onto various discussions that are on the forums, without much feedback on the issue. This issue is now more than a year old, and I cant see much in the way of any focus into getting it sorted. I was looking through the codebase of the flow library, to try and get it fixed myself (as I could imagine your all busy), but seems the codebase is more intricate then I can understand. The scorecard does, I feel, make quite a difference into the level of quality seen by users. Once again, sorry if this seems flippant - it really isn't meant to , but maybe an update on the issue will be welcome, given the impact a scorecard can have. |
You are quite right @marcus-j-davies - we need to get to the bottom of this. I'll revisit it this week. |
Thanks @knolleary, I'm all for prioritisation, but this one has been going on for sometime, and seeing it crop up more often lately, plus I released a 2nd Node, only to receive 3rd degree burns by the scorecard, and subsequently corrected of course, but not earning the "well done" badge 😅 |
I've just pushed some extra debug into production to see if I can make any sense of what is going on. What is truly confusing is that the way this works is:
Hoping the extra debug I've added sheds some light. |
Hi @knolleary This is of interest to me... The The call to EDIT |
12 hours later, we've had a number of nodes refresh in the library and none have exhibited the mismatch behaviour... so we continue to wait. |
@knolleary I just published some updates to my package |
Thanks @sammachin From the debug I added last night I can see the following:
The first line is a new line I added - it loads the package.json file on disk and confirms the version number inside it - 0.0.5. I have logged into the VM hosting the flow library and checked the files on disk - sure enough only 0.0.5 is present. And when I manually run the scorecard with the same args as the flow library used, I get the 0.0.5 scorecard. I'm going to have to patch the scorecard tool with some extra debug to figure this out. |
thats very odd, if I remember correctly it downloads the package to a tmp folder with a unique name too? (some random chars added to the end) |
Another avenue that maybe of interest. The checks make a lot of On a historical project of mine I needed a way to invalidate the nodejs cache via. leaning towards the comment by @sammachin - is the process a singleton?, as surely the cache should be cleared after the process exits?
I don't think it does, but then I'm not that familiar with the codebase |
@marcus-j-davies 🎉 that'll explain it. |
Now now Nick! - could be a red herring 😅 |
Okay - 0.1.6 of node-red-dev published with the fix. Flow Library updated to use that... deploy in progress. Now we wait and see. If this theory is right (and I'm 99.9% sure it is) then we have to wait for a module to do its second refresh after this restart to confirm all is well. |
@marcus-j-davies The way the flow library works is different to locally is that it has already downloaded the package from npm so the scorecard tool is pointed at the local folder rather than downloading from NPM itself. |
I am afraid this hasn't worked, I have just pushed 2 updates the first I purposely removed What I did notice - at least what works for me, is clearing before requiring it EDIT |
node-red-contrib-midi was updated to 1.1.2 on 13/05/2022 with fixes for the license and versions,
However the scorecard ran but still showed the incorrect results
Validation locally with node-red-dev shows that it should have passes for license and versions.
The text was updated successfully, but these errors were encountered: