Your feature needs one extra field from a service owned by another team. You ask them to add it. They reply kindly but firmly. Their roadmap is full for two months, but the repository is open, so feel free to send a pull request. You open their code. It is a different style, different tools and a test suite you do not understand. You feel like a guest who has been handed the keys and told to cook.
This is becoming normal, and it is a good sign.
The idea of applying open source habits inside a company has a name. Tim O'Reilly called it inner sourcing in 2000, and many large companies now work this way. Teams own their code, but anyone can propose a change, and the owners review it. It lets you unblock yourself instead of waiting for someone else's priorities to change.
You do not have to know everything about their system. You have to make a change they can trust.
Before you write anything, read their contributing guide and their last few merged pull requests. That tells you what they expect better than any document.
Then describe your plan to them in a sentence or two before you start. I would like to add this field to the response, read from this table, with a test. A quick yes saves you from building something they will not accept.
Keep the change small. One field, the tests and a clear description. Resist the temptation to tidy up anything else you noticed along the way. Write those down and offer them separately.
Match their style even where you would do it differently. It is their code, and they will be the ones maintaining it at night.
Expect review comments, possibly many. They are not a verdict on you. The owners know where the traps are, and every comment teaches you something about a system you now depend on.
After it merges, thank them and offer to help if anything goes wrong with your change. Teams remember who left their code better than they found it, and the next request will be easier for both of you.
– Asael Shinder
Top comments (0)