-
Notifications
You must be signed in to change notification settings - Fork 195
pattern draft: Incubator Pipeline #338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7767431
84549eb
8ffb30f
d1dd0a1
29baa19
5ac52de
9305a99
1e2d3a0
f4150a3
e97dac0
f0dd40d
ae96cc5
5cab973
83f128f
54870d4
ddaf205
71df70a
ba92c62
e349767
fad6d75
7504506
c1e6b63
006a969
540123f
b1dec85
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
## Title | ||
|
||
Incubator Pipeline | ||
robtuley marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Patlet | ||
spier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
A team maintains a shared code library that other internal engineers need to use. The other engineers want to make improvements or use their own code. Leveraging an incubator model, the shared library team can establish a lower bar to enter the incubator pipeline and a higher bar to exit the pipeline and become a top-level unit in the library. | ||
robtuley marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Problem | ||
spier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
A team charged to maintain a shared library is responsible for the quality of the components in the library. If you offer them code from another team, they face the dilemma that the other team’s code might not meet their requirements, and it’s unclear if they’ll be able to support that code. If other teams can’t offer code, they may be reluctant to use the shared code, or they may be forced to use inadequate code from the central team, causing issues for their product. | ||
|
||
The team managing the shared code library needs a way to allow InnerSource contributions to their supported library of components but also to distinguish between contributions that are up to the standard, or that are on their way to the standard. | ||
|
||
## Story | ||
|
||
See [Culture, Behaviors, and InnerSource. A three-part blog series. 3 of 3](https://www.linkedin.com/pulse/culture-behaviors-innersource-three-part-blog-series-3-gil-yehuda/) for the conceptual inspiration for this pattern. | ||
|
||
_Note: This may be replaced with a direct story from the dev team who implemented this pattern. Watch this space._ | ||
|
||
## Context | ||
spier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
We find the pattern to be useful when there’s a team at a company that is responsible for creating code assets that other engineering teams at the company must consume. For example: | ||
|
||
1. the team that creates the centrally approved library of UI components, | ||
1. the team that builds the build pipelines and installation scripts, | ||
1. the team that builds microservice template code, etc. | ||
|
||
These teams are held to meet certain standards (e.g., UI teams ensure all components comply with accessibility standards, can be themed and placed on the UI grid in a manner consistent with other components and company requirements; pipeline and install scripts might require certain boilerplate code for compliance logging or security controls, etc.). | ||
|
||
However, the shared code library team does not want engineers to “roll their own” solutions either. But the user-teams may have needs not met by the shared library team’s code. Since they are engineers, they’ll want to create or find their own solutions. Doing that threatens the shared library team and creates multiple solutions. Whereas that’s sometimes okay, in some cases companies want to use InnerSource to maintain consistency without stifling innovation. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gyehuda I just had one other thought: If so, then this would belong into the Context as it would help readers to understand "do I have this situation?". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the meantime we have this new plugin that talks about extensions/plugins to enable InnerSource. Could be worth linking to. https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/1-initial/extensions-to-manage-contributions-at-scale.md |
||
## Forces | ||
spier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
If the shared library team insists that they alone are the exclusive source of approved code, they limit the company output to the shared library team’s capacity. If the needs exceed the capacity, everyone suffers. However, if the shared library team cannot prevent other teams from creating their own solutions, they lose their role as a standards-setting team and simply become a team that provides technology that only some teams use. | ||
|
||
For the customers of the shared library team’s code, they too face a challenge. The library provided may be insufficient. They’ll need some other solution. But breaking rank will cause downstream tension when it comes time to merge their rogue code with the approved code. They want to follow the company protocols, but they also need to deploy their products. | ||
|
||
## Sketch (optional) | ||
spier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
None yet | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some ideas for helpful visualizations: a) different stages of incorporation of a contributed UI component The Solutions section describes different stages of maturity, with quality gates separating one stage from the next. This could e.g. be visualized similar to this (source file): b) sample visualization of how the incubating components look like for consumers When a consumer of the central UI components want to figure out whether a given component is a first-class or a second-class (incubating) component, how would they do that? e.g. will incubating component be listed differently in the documentation, or flagged somehow, so that it is clear that the support for these components is different than the one for the first-class component? |
||
|
||
## Solutions | ||
spier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
The shared library team provides an incubator pipeline for their (internal engineering) customers to use. Customer teams who need to augment the shared library can do so by petitioning to enter the incubator pipeline. Additionally, central teams can request contributions into the incubation pipeline. The shared library team maintains an acceptance criterion to get into the pipeline. This may include some demonstration that at least one other team would find the contribution useful, that the contribution could (perhaps with some additional engineering work) be enhanced to conform to the shared library standard. **In other words, no code should enter the incubation pipeline that we know cannot exit it.** | ||
|
||
Once in the incubation pipeline, the shared library team and contributing teams can select a support agreement that enables teams to use the incubating code, but to understand that its support is less than a top-level component in the library. It is a second-class citizen that is on the way to becoming a first-class citizen. | ||
|
||
Exiting the incubation pipeline means the code is a first-class citizen and member of the shared library. In this case, the shared library team may not have created the code, and may not have enhanced the code. But they will be willing to support the code as if they created it because it meets the criteria they set for their own code. It is possible that a component fails to graduate the pipeline. In that case, the component would be retired out of the incubation pipeline. | ||
|
||
## Resulting Context | ||
spier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
When a customer-team needs code that the shared library team does not have, they have a path to success. They can create and propose a solution to be included in the incubator pipeline. (They might find an open source solution too.) This does not pose a threat to the shared library team. In fact, it allows the shared library team to grow their library at a faster rate while maintaining quality control by staging the contribution. | ||
|
||
Moreover, by defining an incubation process, the shared library team clarifies their criteria for inclusion into the library. This helps new members of their team too. In fact, this allows any engineer who can meet the criteria to become a "member of their team" even if only for a component or two. | ||
|
||
## Rationale | ||
robtuley marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Incubation pipelines allow participants to view code as potential and improving assets. Too often, people see code as being good enough or not good enough. In reality, code can become better. Formally putting code in an incubation status sends the message that the code is not yet good enough but is getting there. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Your blog post mentions:
Those are great observations in the blog post that would be good to translate into the pattern somehow. Maybe they could be integrated in to the Rationale like this: One could add a link to the 30 Day Warranty pattern as well, as that sounds similar to the support agreement in the incubator. |
||
## Known Instances | ||
|
||
Being implemented at U.S. Bank. | ||
|
||
## Status | ||
|
||
Initial | ||
|
||
## Author(s) | ||
|
||
* Bryn Sharpe | ||
* Gil Yehuda | ||
|
||
## Acknowledgements | ||
|
||
* Kevin Bongers | ||
* Anton Fernando | ||
* Levi Geinert | ||
* Travis Killoren | ||
* Dave Lester | ||
* Mike Lupo | ||
* Logan Price | ||
* Joseph Ryan | ||
* Michael Schlies | ||
* Michael Schulz | ||
* John Sibo | ||
* Jennifer Skov | ||
* John Yopp | ||
|
Uh oh!
There was an error while loading. Please reload this page.