link checker - fails PR if links are broken#130
Conversation
There was a problem hiding this comment.
The run failed with 4 broken links:
...
🔍 Scanning all Markdown files for broken links...
------------------------------------------------------------
📄 Checking: ./README.md
ERROR: 3 dead links found in ./README.md !
[✖] /docs/architecture.md → Status: 400
[✖] /docs/dp.md → Status: 400
[✖] /DEVELOPMENT.md → Status: 400
❌ 3 broken links in ./README.md
------------------------------------------------------------
📄 Checking: ./DEVELOPMENT.md
ERROR: 1 dead links found in ./DEVELOPMENT.md !
[✖] https://www.gnu.org/software/make/ → Status: 0
❌ 1 broken links in ./DEVELOPMENT.md
------------------------------------------------------------
📄 Checking: ./docs/architecture.md
✅ No broken links in ./docs/architecture.md
------------------------------------------------------------
📄 Checking: ./docs/dp.md
✅ No broken links in ./docs/dp.md
------------------------------------------------------------
📄 Checking: ./docs/create_new_filter.md
✅ No broken links in ./docs/create_new_filter.md
------------------------------------------------------------
❌ Total broken links found: 4
Error: Process completed with exit code 1.
However, upon inspection (and actually clicking on the link...) - all are valid.
We can not merge this PR as it clearly produces false positives. The 400 error code is Bad Request which suggests that the tool is faulty or misconfigured for our environment.
elevran
left a comment
There was a problem hiding this comment.
@clubanderson thanks!
this is a good check to have and would love to have it integrated. However, the tool added in this PR currently produces "false positives" and we can not merge it.
|
For the markdown failures in the I'm not sure why it fails on GNU make, though. Note that the return Status code reported for the HTTP request is |
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
…outs Signed-off-by: Etai Lev Ran <elevran@gmail.com>
|
@clubanderson - I've made changes needed to your PR to make it pass. |
* link checker - fails PR if links are broken Signed-off-by: Andy Anderson <andy@clubanderson.com> * replace markdown-link-check tool with lychee * remove markdown-link-check tool custom action * make README links relative * increase timeouts and ignore gnu's website since it throttles by timeouts Signed-off-by: Etai Lev Ran <elevran@gmail.com> --------- Signed-off-by: Etai Lev Ran <elevran@gmail.com> Co-authored-by: Etai Lev Ran <elevran@gmail.com>
* Removed unused make targets and set default tag to dev Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Changed kind development deployer to use dev tag for EPP and Simulator Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Updated documentation to reflect changes Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Removed local change Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Use correct variable in the Makefile Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Mention the vLLM simulator in the kind environment documentation Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * update GIE upstream version + code adaptations (#135) * update GIE upstream version + code adaptations Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * addressed code review comments Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> --------- Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * test: Improve scheduler test (#139) * Check headers, more tests for pd scheduler Signed-off-by: Ira <IRAR@il.ibm.com> * Moved config and context out of the loop, added logger to the context Signed-off-by: Ira <IRAR@il.ibm.com> * Removed comment and debug prints Signed-off-by: Ira <IRAR@il.ibm.com> --------- Signed-off-by: Ira <IRAR@il.ibm.com> * Wait for storage pods to exist before moving on (#138) Signed-off-by: David Martin <davmarti@redhat.com> * dependabot configuration for Go, GH acions and Docker Signed-off-by: Etai Lev Ran <elevran@gmail.com> * link checker - fails PR if links are broken (#130) * link checker - fails PR if links are broken Signed-off-by: Andy Anderson <andy@clubanderson.com> * replace markdown-link-check tool with lychee * remove markdown-link-check tool custom action * make README links relative * increase timeouts and ignore gnu's website since it throttles by timeouts Signed-off-by: Etai Lev Ran <elevran@gmail.com> --------- Signed-off-by: Etai Lev Ran <elevran@gmail.com> Co-authored-by: Etai Lev Ran <elevran@gmail.com> * Corrected name of vLLM simulator Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> --------- Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> Signed-off-by: Ira <IRAR@il.ibm.com> Signed-off-by: David Martin <davmarti@redhat.com> Signed-off-by: Etai Lev Ran <elevran@gmail.com> Co-authored-by: Nir Rozenbaum <nirro@il.ibm.com> Co-authored-by: Ira Rosen <irar@il.ibm.com> Co-authored-by: David Martin <david-martin@users.noreply.github.com> Co-authored-by: Etai Lev Ran <elevran@gmail.com> Co-authored-by: Andy Anderson <andy@clubanderson.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Fix #140