Re:Ask HN: Is this Symfony PHP project garbage?
by morenatron on Monday September 30, 2024 @03:47AM
(#41694589)
There are upgrade branches but somehow they are stale and not worked on anymore. Probably so hard to and test everything manually that they stoped trying at all. How would you go on a project like this if you were to be the new lead there?
[ Parent
| on HN ]
Re:Ask HN: Is this Symfony PHP project garbage?
by turtleyacht on Monday September 30, 2024 @08:00AM
(#41696190)
After buy-in from higher-ups and the associated teams, look at the development cycle and build process, how a change goes from local to production.
Add automation around linting, running the test suite, and build & deployment. A lot of it can go in dark, in case there's concern about blocking urgent things. Lay down a skeletal pipeline.
Create a couple template projects, for front- and backend, so future work can start at the highest quality bar.
Partner with QA to collect and document test scenarios. On the frontend, at least you'll be able to mock or stub the backend.
Eventually, you'll want this system to block merges and deployments based on agreed-upon criteria. Exceptions can be made, so long as it's documented.
Now you can feel somewhat safe to add tests. Otherwise, the tests will break, no one will update them, and it won't mean much.
Add mutation testing too.
Re:Ask HN: Is this Symfony PHP project garbage?
by morenatron on Tuesday October 01, 2024 @03:10AM
(#41705472)
Thanks alot turtleyacht!