Git Product home page Git Product logo

Comments (5)

mre avatar mre commented on August 11, 2024 2

Ignored URLs should not fail the pipeline. We should look into that. My guess is that we improved link validation, but forgot to account for the ignored link errors in the exit code.

from lychee.

mre avatar mre commented on August 11, 2024 1

0.12.0 with the fix is out. Can you check again?

from lychee.

StevenMaude avatar StevenMaude commented on August 11, 2024 1

The failures on IGNORED URLs is now fixed in v0.12.0 (tested via lychee-action v1.7.0); appreciate the fix ❤️

@mre: I will leave this issue open for you to decide whether the underlying suggestion here — listing the ignored URLs in the summary, as a possible prompt for the user to investigate the logs — is worth including or not. It might help catch malformed URLs in some cases. If you don't think that's useful, it's fine to close the issue.

from lychee.

mre avatar mre commented on August 11, 2024 1

Yes, I'd be willing to add that.
Here's what needs to be done:

  • Add another block to iterate over the ignored links here:
    write_stats_per_input(f, "Errors", &stats.fail_map, |response| {
    markdown_response(response).map_err(|_e| fmt::Error)
    })?;
  • Update the tests in the file.
  • Same for the other formatters here (where it makes sense).

I'd be happy to receive a pull request for that.

from lychee.

mre avatar mre commented on August 11, 2024

Just tested and this is fixed in master and will be fixed with the next release.

from lychee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.