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

No new reports since May #522

Closed
zbynek opened this issue Jun 26, 2024 · 9 comments · Fixed by #530
Closed

No new reports since May #522

zbynek opened this issue Jun 26, 2024 · 9 comments · Fixed by #530
Labels
bug Something isn't working

Comments

@zbynek
Copy link
Contributor

zbynek commented Jun 26, 2024

Description of the bug

https://plugin-health.jenkins.io/api/scores contains last reports from 2024-05-11

@alecharp
Copy link
Collaborator

alecharp commented Jul 2, 2024

From the logs I got, it seems that introduced a regression in

.

The line might be working well, but not with previous format of the probe result. I'll work on this.

@alecharp
Copy link
Collaborator

alecharp commented Jul 4, 2024

Normally, the probe should have been re-executed on all the plugins when the pull request was deployed, as its version changed. Sadly, I'm not able to put as much time as I would like on this for now, but I'm focus on this problem tomorrow.

@alecharp
Copy link
Collaborator

alecharp commented Jul 9, 2024

I confirmed (thanks to @dduportal ❤️) that some plugins (50) were not updated with the new version of the security probe. This is absolutely not normal.

I'm trying to think and see what I'm missing.

@alecharp
Copy link
Collaborator

alecharp commented Jul 9, 2024

my problem is, if a probe was run once on a plugin (because we have the previous probe result format so it was run), then there is no reason for the probe not to be executed again.

But, I'm very wrong.
All plugins with previous security probe format are skipped by the probe engine because they don't have the scm link filled. We shouldn't have any probe result registered but we have.
And because of

if (plugin.getScm() == null || plugin.getScm().isBlank()) {
LOGGER.info("Will not run probes on {} because its SCM is not set correctly.", plugin.getName());
return;
}

it's not executed again.

This let the scoring process to fail because the format is not what it expected.

@kirk-fitz
Copy link

Anyone able to look at this?

alecharp added a commit to alecharp/plugin-health-scoring that referenced this issue Oct 1, 2024
@dduportal dduportal reopened this Oct 10, 2024
@dduportal

This comment was marked as off-topic.

@alecharp
Copy link
Collaborator

No mistake @dduportal. I agree that closing this before it was deployed could lead to incomprehension.
@zbynek normally, everything is back in order.

@kirk-fitz
Copy link

Hi guys, great to see the plugin health working now,
I am seeing that there is an error for the plugin:

X Dependabot is configured.
2 open dependency pull request

It is setup...

Is this an issue? Or i am been a bit impatient, and it hasn't updated yet?

https://github.com/jenkinsci/sonar-quality-gates-plugin/pulls?q=is%3Aopen+is%3Apr+label%3Adependencies

Screenshot_20241012_122019_Chrome
Screenshot_20241012_122030_Chrome

@alecharp
Copy link
Collaborator

alecharp commented Oct 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants