github-community-projects / github-community-projects/safe-settings

Better logging

Open
#451 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
921
Forks
226
Avg merge
18h 3m
Merged PRs (30d)
14

Description

## Prerequisites:

Not related to the UI or API

## New Feature

The logging in the success case is pretty poor. It will generate a lot with information about the webhook request but none of the data in the body is included int he log. As a consequence I cannot see which repo it is operating against or which event is triggering the event and I have no idea what settings its resolving and atteampting to apply which makes debugging things difficult when they seem to not work.

* I would like to know which event is being fired for every webhook call
* I would like to know which repositories are going to be updated when a suborg file is updated (suborg resolution set)
* I would like a log showing which settings are being set to which repo before they are set.
* When a repo has one of its settings set I'd like to know how it resolved those settings, did it come from the settings.yml? A suborg file? Which suborg file? A repository file? What were the values it rejected?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.