The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
replicate.npmjs.com stream publishing really old events
What I Wanted to Do
Listening to the http://replicate.npmjs.com/registry CouchDB stream to process new package versions being published.
What Happened Instead
It appears over the past couple of days tens of thousands of events have been added to the stream and many of them are out of order (based on modified dates) from extremely old packages. For example, here’s a recent event:
These packages are extremely old and haven’t had any changes in years, yet are showing up under new sequence IDs despite the docs appearing to contain no changes from the previous (year’s old) versions. Are there any issues with the replicate stream at the moment that would explain this behavior? Did npm take any bulk operations that would have dumped all of these old packages back into the replicate stream as new events?
Simply listen to the CouchDB replicate stream.
record scratch — Yep! That’s us. We’re currently backfilling
https urls in
versions.<versions>.dist.url for packages that previously pointed at
http://. We’ve ratelimited this job to reduce load on our infrastructure, so these events will come in for a few more days. Sorry for the trouble!
No worries - just wanted to make sure I wasn’t going crazy. Thanks for confirming!