Early Software Engineering Problems: Bad Pull Requests
Just two days ago, I made a big history for my self: Opening a bad pull request for the production branch for the company I am interning in.
Even though my code was thankfully not really the problem, I still requested and committed the database connection settings to be pushed in the production branch, with the username, the server name, and the password, copied it twice, and pushed it without looking at my history of pushes.
This was only one feature, but this could bring so much vulnerability to the code. Which is, inevitably, very destructive and insanely disruptive to the company's security of code and overall data. So, what should one do to prevent this?
领英推荐
Well, what do you do if you committed and pushed the wrong code?
Finally, what I did was choice number 1, and it saved people from seeing my commit history which could badly interfere the company's security. And, yesterday, was my first time getting a code accepted into a company's code monolithic base. I hope from reading this, you guys can learn from my mistakes. Happy coding!
Picture Credit: https://arc.dev/employer-blog/avoid-failed-software-projects/
"Success is not final, failure is not fatal: It is the courage to continue that counts.” —Winston Churchill.