I am working in a project where we have a pipeline which runs automated tests, lint, and other type checks.
But we are merging PRs even if the pipeline fails 😅
On my case, every time I got a pipeline error, I fix it in my PRs, and some of my coworkers are starting doing the same, but still we are merging some PRs with the pipeline failing.
Our manager is a software engineer too, and has the role of merging the PRs.
I tried to convince him to avoid merging PRs if the pipeline is failing, but while he is open to discuss this topic, he thinks that since other teams also need to merge things. He doesn't want to block them because of the pipeline.
More context:
- It is a startup and we want to get the job done faster.
- I have 2 months working there.
- The pipeline was always failing because of another step that was removed recently. I think they got used to ignore the pipeline because of that.
I believe we are paying 10x of the future time, for short term quick time (10 minutes of the future for 1 minute today).
I thing If we continue with this, all will blow up in our faces.
I am tiring of fix the pipeline almost every day, and checking my team PRs as well.
Not sure if I should just keep pushing, or stop worrying if the pipeline passes or not and just see how the things blow up, and then try to convince the team of keep the pipeline passing as a strict requisite to merge a PR.
What would you do in my case?