Giter VIP home page Giter VIP logo

Comments (6)

murillodigital avatar murillodigital commented on May 26, 2024 1

For reference, here's a few examples on Flux's documentation as to how these status may look:

https://fluxcd.io/docs/components/source/gitrepositories/#status-examples
https://fluxcd.io/docs/components/source/helmrepositories/#status-examples
https://fluxcd.io/docs/components/source/buckets/#status-examples

Note that the data will vary but structure will be identical, there will always be a single condition (always grab status.conditions[0]) - the information in this object is what a user will find most valuable during troubleshooting a failed reconciliation.

from vscode-gitops-tools.

usernamehw avatar usernamehw commented on May 26, 2024 1

Sources show error status now:

If you want them to have other icons in the future we can use emoji ❌

from vscode-gitops-tools.

murillodigital avatar murillodigital commented on May 26, 2024

Note: I've added a "bad" source in the dev sample cluster to use as a reference for this, please note command in the snippet above.

from vscode-gitops-tools.

RandomFractals avatar RandomFractals commented on May 26, 2024

So, do you want errors displayed as child nodes for the source?

VSCode provides generic warn/error/info notification messages api. However, given that there may be many sources, I don't think we should use that interface.

Also, see my comments on the source info display in #40 (comment)

from vscode-gitops-tools.

RandomFractals avatar RandomFractals commented on May 26, 2024

@usernamehw I think we'll just mark those with some error icon for now.

Displaying the list of errors still needs to be defined.

We'll keep this in backlog till that happens.

My suggestion is we create a generic Resource Error List view to display them in the main editor/content area of vscode IDE.

from vscode-gitops-tools.

RandomFractals avatar RandomFractals commented on May 26, 2024

also, see replicas and conditions in #85

from vscode-gitops-tools.

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.