Skip to content

Release Roles and Responsibilities

Lorenzo Sciandra edited this page Jan 10, 2022 · 9 revisions

Here we set guidelines to apply the “dividi et impera” approach to React Native releases as it is an involved process and we need to clarify the work to allow for easier rotations of folks in various positions.

The roles should be imagined as “concentric”, with #1 in the centre: this means that anything in role #3 can be done by #2 or #1, and anything on role #2 can be done by #1. But the goal is precisely that #1 doesn’t have to do everything - to do so the suggestion is to at least always have a person per each role in each release.

Release Role #1 : Meta Releasers

Sub-roles

  • 1 release captain as main point of contact for 1 minor release (aiming for every 2 months)
  • 1 reverse shadow for minor release — working on high-need tooling (perhaps from retrospective of previous minor release) and serves as backup if release captain is out
  • Time commitment - maximum 4 hours/week of work for each release captain and reverse shadow

Release Captain Responsibilities

  • Drives the initial cut and sets up release scaffolding (re: posts etc)
  • Is informed of the pre-release & stable release status and any blocking issues and communicates to appropriate channels
  • Make final call on release decisions
    • Decide when to promote pre-release to stable (in consult with co-pilot and release supporters)
    • Decide when to release a patch on stable
  • Ensures blocking issues have owners
    • Escalate internally if release community is blocked by Meta-owned dependencies (metro, folly, flipper, hermes, etc)
    • Coordinate with release co-pilot & supporters on any community library blockers (reanimated, cli, etc.)
  • Escalates security alerts
    • When a security alert gets raised, communicates it quickly to relevant partners and internally
    • If the security fix commit lands and it’s important, coordinates with the copilot on which stable branches should get the releases and produces them
  • Can perform release or delegate release steps (as well as release co-pilot/reverse shadow)

Reverse Shadow Responsibilities

  • Is informed of the minor release status and current stable status
  • Supports release captain
    • Fills in for release captain if current release captain is unavailable
  • Actions on high-priority tooling, retrospective action items when relevant

Who can fill it

  • These sub-roles must be filled by a Meta engineer

Release Role #2 : Release Copilot

Sub-roles

  • 1 or 2 people (we should always have a backup)
  • Time commitment - can be more flexible and doesn’t have to align with minor release schedule but we should update the release schedule when needed

Responsibilities

  • Is informed of the minor release status and current stable status
  • Ensures blocking issues have owners
    • Escalate to Meta releaser when blocked by Meta-owned dependencies (metro, folly, flipper, hermes, etc)
    • Find owners, coordinate with Meta releaser for any community library blockers (reanimated, cli, etc.)
  • Support release decisions
    • Help decide when to promote pre-release to stable
    • Help decide when to release a patch on stable
  • Can perform release (pre-release/stable)
    • merge cherry-picks (as agreed with main releaser)
    • creating the changelog & release entry in GH
    • trigger the rn-diff-purge script to update upgrade-helper (this should be automated for 0.68 onwards)
  • Help release testing via local E2E script
  • Deprecate older releases on npm

Who can fill it

  • This role can be filled by anyone with write access to the necessary repos (react-native)

Release Pool #3 : Release Supporter

Responsibilities

  • Helps surface release issues either on stable or release candidate by:
  • Contributes to CI in the OSS repo to improve the testing infrastructure
  • Optionally participates to weekly RN releases syncs

Who can fill it