mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-10-14 21:40:47 +02:00
The check read `latest_version` on the node object, which reports only the ACTIVE version. The registry reviews an upload before activating it, so for the length of that review a correctly published version looks exactly like a release that was never synced -- and 0.37.0 hit precisely that: the node repo bumped to 0.1.37 requiring >=0.37.0, the registry accepted it as NodeVersionStatusPending, and the check called it missing. Read the versions list instead and branch on the status: active passes, pending passes while saying so in the summary rather than claiming the node is live, and anything else fails. A missing version still fails hard, which is the case this check exists for. Sort the matches by createdAt rather than trusting the endpoint's current newest-first ordering. Verified against the live registry in all three states: 0.37.0 pending, 0.36.0 active, 0.99.0 absent and erroring. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>