Azure / Azure/azure-quickstart-templates

CI Should Have Better Error Output Format

Open
#985 5 comments 0 reactions 0 assignees View on GitHub
enhancement/feature
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Right now we output all of our error output in our assert string.

We could add new lines between the returned `parameters` and `template` response object which shows the actual rendered parameters and template file contents used. (for example it will show what GEN-UNIQUE-12 was replaced with).

We can also colorize the output to highlight the important parts. There's a [nice npm package that does this](https://www.npmjs.com/package/cli-color)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the CI code that assembles the assert string and inspect how the returned parameters and template response are produced. Use a case involving GEN-UNIQUE-12 to compare the current output with the intended separated, colorized format, using cli-color as the referenced package.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.