anc95 / ChatGPT-CodeReview

🐥 A code review bot powered by ChatGPT
https://github.com/apps/cr-gpt
ISC License
3.77k stars 361 forks source link

Logs of actions run not properly showing #66

Open mattverse opened 1 year ago

mattverse commented 1 year ago

Although the code base has different logging system to log the process of it as an action, logs are not properly showing upon it being ran as a github action, as seen in https://github.com/mattverse/osmosis/actions/runs/4643912516/jobs/8218840376?pr=12

What are some of the ways I can see the logs that were printed throughout the run for better debugging?

anc95 commented 1 year ago
image

I have logs here. It's possible that the code exited before reaching the logging point. You can try adding more logs earlier in the code.

fffchameleon commented 1 year ago

I have the same issue too. https://github.com/fffchameleon/SE_hw5/pull/8.

It seems that the gpt-bot successfully deploys, but there's no successful log and code review comment. It's hard to tell where's the bug.

image

anc95 commented 1 year ago

@fffchameleonI suppose it could be due to the code diff length exceeding the maximum token limit. I will add more logs in these scenarios.