Skip to content
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

Missing tests information #1357

Open
jjn1056 opened this issue Feb 12, 2025 · 0 comments
Open

Missing tests information #1357

jjn1056 opened this issue Feb 12, 2025 · 0 comments

Comments

@jjn1056
Copy link

jjn1056 commented Feb 12, 2025

up until a few months ago when you hit the API for a distribution it would give you test count info. Now it seems to never do so. You can replicate with the Client:

%  perl -e 'use MetaCPAN::Client;warn MetaCPAN::Client->new->release("Catalyst-Runtime")->tests'
Warning: something's wrong at -e line 1.

Previously that returns the count of test cases. This isn't an issue with the client, if you curl the data is missing as well:

curl -s https://fastapi.metacpan.org/v1/release/Catalyst-Runtime

You'd get a JSON response with a top level field called 'tests', but it's not there anymore.

I'm not expert in elastic search but looking thru the code it sorta seems like we are defining that field

However not sure where the data is supposed to come from. So note sure if this is a problem with the ES index or the data source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant