-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1582 error handling for package deployment #1828
Conversation
… creating a multi-stream that sends to logfile, stderr, and stream and allows for resetting the default after the stream closes (probably could be in the config). Updated the deploy stream withh a multiwriter and resets to default, fix deployment stream to handle larger buffer using Reader and readline. Update the deployment page to use all colors from stream, update the xterm frame styling.
…ploy stream using ansi-to-html as it is a much smaller dependency and still meets the needs for the deploystream in addition to allowing much simpler custom styling
… the ansi color palette from figma to the ansi-display. Update font size, padding, scrolling behavior.
…tle and set to the warning or error variant depending on the output.
✅ Deploy Preview for zarf-docs canceled.
|
…page. Create yaml-drawer component. Create zarf-prism-theme. Moved the ansi-display to lib. Updated get deployed packages to log an error instead of bailing
…while deploying, fixed the expanded search to ensure the button is connected prior to clicking in the deploy tests.
…he init package sbom in the pipeline.
…ing test failures.
…errors and a slice of types.DeployedPackage to allow for better error handling when some packages are unmarshaled and others are not. Update packages list.go and cmd package.go to reflect the changes. Update lang english.go with CmdPackageListUnmarshalErr for use when one or more unmarshaling errors occur when getting deployed zarf packages.
…order to properly send all the output in the stream. Fix ui deploy page to properly close the stream when navigating away from the route.
…oyed package menu
Co-authored-by: Jonathan Perry <YrrepNoj@gmail.com>
Co-authored-by: Jonathan Perry <YrrepNoj@gmail.com>
Co-authored-by: Jonathan Perry <YrrepNoj@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for now since this is a step forward though after playing with it a bit some of the design pieces are missing (particularly red error handling).
Top Left - Design File
Top Right - As Implemented in WebUI
Bottom Left - The Web UI log output
Bottom Right - The CLI log output for that failing package
Description
#1582
#1606
Type of change
Checklist before merging