github-action-build-chain icon indicating copy to clipboard operation
github-action-build-chain copied to clipboard

Print information about processing

Open mareknovotny opened this issue 2 years ago • 3 comments

In case of waiting on something longer than usual there is no information what is going on. Today's github degradation of services showed that on spot light.

for instance this command printed the error after several minutes, before it was just as blind processing

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${GROUP}/droolsjbpm-build-bootstrap/${BRANCH:main}/.ci/full-downstream-config.yaml' -o bc -u https://github.com/kiegroup/appformer/pull/1374 --skipParallelCheckout [ERROR] Invalid definition file. Error: Error getting https://raw.githubusercontent.com/${GROUP}/droolsjbpm-build-bootstrap/${BRANCH:main}/.ci/full-downstream-config.yaml - Error: connect ETIMEDOUT 2606:50c0:8000::154:443

mareknovotny avatar Mar 27 '23 14:03 mareknovotny

Maybe what we can do is if it is taking a lot of time then we can can post a status message at regular intervals of time?

shubhbapna avatar Mar 27 '23 14:03 shubhbapna

i guess there is an expected time for some kind of requests so if it overruns that limit just give that status message?

mareknovotny avatar Mar 27 '23 14:03 mareknovotny

maybe not just for overrunning the limit. some tasks that build-chain performs are time consuming, so i think it would be nice to get something printed at regular intervals when it is doing some long running task

shubhbapna avatar Mar 27 '23 14:03 shubhbapna