Code Monkey home page Code Monkey logo

Comments (8)

jeff-mccoy avatar jeff-mccoy commented on June 4, 2024

#3 is related to user feedback of image actions as well

from zarf.

YrrepNoj avatar YrrepNoj commented on June 4, 2024

Is there a specific reason why being unable to pull the image only a warning? After logging the warning I don't see anything that looks like attempted error recovery. If we do a fatal log instead of warn it will be more immediately obvious what broke.

from zarf.

jeff-mccoy avatar jeff-mccoy commented on June 4, 2024

The fatal isn’t the issue here, this is crashing within crane not our code, we need a cleaner way to instrument crane or just replace it.

from zarf.

YrrepNoj avatar YrrepNoj commented on June 4, 2024

I think I must be missing something then. It looks to me like crane is crashing because the imageMap gets populated with a nil pointer if we're unable to pull the image from crane.Pull.

If the goal is improving the error message, I think logging a fatal message there would make sense.

from zarf.

jeff-mccoy avatar jeff-mccoy commented on June 4, 2024

Tbh I haven’t debugged this myself yet, but believe that if either 1. The registry is down or 2. The user doesn’t have creds for that registry. But both of those conditions aren’t directly sent to crane by zarf, crane is reading those states on its own.

from zarf.

RothAndrew avatar RothAndrew commented on June 4, 2024

@jeff-mccoy @YrrepNoj do you know what this looks like now in #237? I can go test it myself of course, just wanted to see if you already knew whether this is still an issue or is mostly resolved in #237

from zarf.

jeff-mccoy avatar jeff-mccoy commented on June 4, 2024

I actually don't recall sorry

from zarf.

jeff-mccoy avatar jeff-mccoy commented on June 4, 2024

I think this can be closed. The current design of the CLI gives generic errors across the board for failures that are much cleaner, but to get more details you can run with debug or trace. This was introduced in #237. I think we can discuss changing that broader approach in another issue if it is warranted.

Screen Shot 2022-02-08 at 11 07 27 PM

Screen Shot 2022-02-08 at 11 09 14 PM

Screen Shot 2022-02-08 at 11 09 27 PM

from zarf.

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.