News for hackers. Stuff that matters.
Re:Launch HN: Datree (YC W20) – Best practices and security ... by theanirudh on Tuesday March 10, 2020 @12:47PM (#22537052)
Looks good. We were trying to implement this using a mix of CI, pre-commit hooks and Gitlab PR templates, but it was limiting. This looks like exactly what we needed.

Regarding custom rules, does the tool run automated tests for those too?

Re:Launch HN: Datree (YC W20) – Best practices and security ... by shimont on Tuesday March 10, 2020 @01:44PM (#22537621)
Most companies we see try to implement something by themselves. pre-commit hooks is a major problem as it requires all the developers to install them on their computer, which is part of the problem itself right? aligning the dev team :)

Your unit tests and integration tests should still run using your CI. We run tests around the git and structured files

Re:Launch HN: Datree (YC W20) – Best practices and security ... by eyarz on Tuesday March 10, 2020 @02:46PM (#22538271)
just to clarify, Datree runs automatic checks for each custom rule that a user creates
Re:Launch HN: Datree (YC W20) – Best practices and security ... by theanirudh on Tuesday March 10, 2020 @10:46PM (#22542469)
We have a Java + Mongo stack and recently we had an issue in prod where code was deployed with a @Indexed annotation. When deployed this will create an index on startup and can lock up the DB. We had this issue years ago, but it slipped pass code review and we had a 10 minute downtime because of this. Can this be prevented using custom rules in Datree?