Skip to content

Improve autosynth logging #540

@chingor13

Description

@chingor13

Currently, it is very difficult or impossible to figure out what happened during an autosynth run.

Ideally, the main autosynth log (from autosynth.multi) show something like:

[time] - [log level] - Generating X client
[time] - [log level] -   Created PR: https://link/to/pull/request
[time] - [log level] -   Autosynth failed, opening issue: https://link/to/issue
[time] - [log level] - Generating Y client
[time] - [log level] -   Created PR: https://link/to/pull/request
[time] - [log level] -   Autosynth failed, opening issue: https://link/to/issue
  • There should be a root xunit XML log where each entry is each execution of python3 -m autosynth.synth
  • Each execution of python3 -m autosynth.synth should be captured in a log file and available for debugging.
  • Each execution of python3 -m autosynth.synth should create a xunit XML log where each entry is an execution of python3 -m synthtool
  • Each execution of python3 -m synthtool should be captured in a log file and available for debugging.
  • We should be able to see every command invocation for debugging.

Metadata

Metadata

Labels

type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions