Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

how'd you get your code review automated?


Easy! By not doing any, and trusting the AI when it says "LGTM"


you would be surprised how many complex and non-compelx bugs it finds all the time. and that is in addition to typos checks. super reliable. very useful bugs. amost 100% of the time I say "oh that's nice. saved me lots of time testing and debugging this. thanks!"

sometimes it recommends high-level architectural changes.

sometimes it detects "inconsistent" things that step out of the line of non-trivial patterns. saved me tons of time in K8S and other large config YAMLs and in just imperative code too (structures there repeats often too)

and about correctness of suggestions. they are obvious once you see them. tests pass by definition (if you have any, before Copilot kicks-in). so whatever Copilot suggests likely already passes the tests, yet not ... sit right with it. it's intuition is pretty remarkable.


just check here: https://github.com/nikolaydubina/go-instrument/pull/53/agent...

amount of QA and real-world bash runs, exploratory Go programs, code tinkering, research, manipulation, is outstanding

this poor thing did incredible amount of QA and experimentation work to get it right. and it did! very complex task.

required only nudging in the right high-level direction


GitHub Copilot




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: