question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False positives with v1.10.1?

See original GitHub issue

Since few hours we observe errors with Run JustinBeckwith/linkinator-action@v1. Maybe that come from the new v1.10.1 release. Nothing changed on our side, the error began to appear after having rebased some of our PRs.

Example of errors in https://github.com/twbs/bootstrap/runs/7268820877?check_suite_focus=true.

In order to have more details, I have enabled verbosity: debug in my fork and created a fake PR. The result with more details can be found in https://github.com/julien-deramond/bootstrap/runs/7269113811?check_suite_focus=true.

If we consider those two errors:

Error: [404] _site/docs/5.2/assets/img/bootstrap-icons.png,
Error: [404] _site/docs/5.2/assets/img/bootstrap-themes.png,

When launching the corresponding website locally, all the images in error exist at those URLs. When deployed by Netlify (using this _site directory) they also exists:

Other images in this same img directory (not at the same level) are not detected as 404 errors:

[200] _site/docs/5.2/assets/img/favicons/apple-touch-icon.png
[200] _site/docs/5.2/assets/img/favicons/favicon-32x32.png

Something seems weird in this extract; the tested URL contains a comma at the end.

[
  {
    "config": {
      "method": "GET",
      "url": "http://localhost:33887/docs/5.2/assets/img/bootstrap-icons.png,",
      "headers": {
        "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36"
      },
      "responseType": "stream",
      "timeout": 0
    },
    // ...
  }
]

Our GitHub workflow: https://github.com/twbs/bootstrap/blob/main/.github/workflows/docs.yml

Seems to be reproductible as well by doing the following:

git clone git@github.com:twbs/bootstrap.git
cd bootstrap
npm i
npm run start

## In an other terminal
npx linkinator http://localhost:9001 --verbosity debug

There are not much modifications in your repo since the last version except in src/action.js. Maybe it comes from some bumped dependencies.

I’m still trying to go further in my analysis.

Edit: By running npm linkinator@4.0.0 http://localhost:9001 --verbosity debug I don’t see any errors. So this regression seems to be observed in the new 4.0.1 version (I can move this issue in the linkinator repo if needed 😃 ).

Just saying that by reading the code so it is just a hunch, but in https://github.com/JustinBeckwith/linkinator/commit/9a8a83c35182b3cd4daee62a00f156767fe5c6a7 in src/links.ts there was a .split(',') that doesn’t seem to be there anymore and could maybe explain the presence of comma in some of the 404 URLs 🤷

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
julien-deramondcommented, Jul 11, 2022

Re-run failed job on one of our PR. Works well. Thanks a lot!

1reaction
JustinBeckwithcommented, Jul 11, 2022

No worries at all - I hate it when I break one thing while trying to fix another in a patch release. I just cut a new release of the action - let me know if you run into any other issues!

Read more comments on GitHub >

github_iconTop Results From Across the Web

False positives in reverse transcription PCR testing for SARS ...
The high false discovery rate that results, when prevalence is low, from false positive rates typical of RT-. PCR assays of RNA viruses...
Read more >
Troubleshoot vulnerability detection - Prisma
Whether a CVE reported by Prisma Cloud is suspected to be a false positive (meaning there is an assumption that the CVE doesn't...
Read more >
Cosign release v1.10.1 released - Google Groups
Cosign v1.10.1 is released and in this release, we have a security fix: `cosign verify-attestaton --type` can report a false positive if any...
Read more >
False Positive Findings of [18F]PSMA-1007 PET/CT in ... - NCBI
Background. PET-CT using prostate-specific membrane antigen (PSMA)-targeting radiopharmaceuticals labeled with 68 Ga or 18 F has emerged as ...
Read more >
Chapter 10 Probability & Simulation - PsyTeachR
false positive (type I error); false negative (type II error); confidence interval (CI). Test sampled distributions against a null hypothesis ( ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found