You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK, reports of nox have fixed data format: args, name, result, result_code, signatures. If I can add some custom data into it, it will be helpful.
For example:
Elapsed time which is checked from custom logic for each session.
Parsed result of some command or status.
Summary of session result.
Describe the solution you'd like
Allowing to add data for reporting via session object. It might be like session.report.set("elapsed_time", elapsed_time), session.report.elapsed_time("elapsed_time"), or session.report.add(elapsed_time="elapsed_time").
Describe alternatives you've considered
Currently, logs can contain structured data. However, comparing with data files like JSON, logs are relatively hard to be parsed or aggregated in automations like CI pipeline.
Or I can write my own new file. But it will be nice to integrated with built-in report file. It already has useful information.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Having more output in the log would be really great. This would allow showing especially failures in a more structured way in CI.
Something that would be especially useful is the output of programs that ran, especially the ones that failed. (That's usually the interesting bits that you want to show to users.) Having
is not really helpful, but having the (failed, or also successful?) command run and its output (stdout and stderr) in there would be useful, so I can see what broke by only looking at the report.
(And yeah, that would require some tee like functionality for stdout and stderr, or just for stderr if silent=True is used, so it's not entirely trivial to implement. But it would be really cool to have!)
How would this feature be useful?
args
,name
,result
,result_code
,signatures
. If I can add some custom data into it, it will be helpful.Describe the solution you'd like
session.report.set("elapsed_time", elapsed_time)
,session.report.elapsed_time("elapsed_time")
, orsession.report.add(elapsed_time="elapsed_time")
.Describe alternatives you've considered
Anything else?
No response
The text was updated successfully, but these errors were encountered: