Skip to content

feat(react-native-dogfood)!: move the v2 dogfood app to the 5.x line - #2416

Merged
oliverlaz merged 1 commit into
mainfrom
chore/dogfood-v2-major
Sep 4, 2026
Merged

feat(react-native-dogfood)!: move the v2 dogfood app to the 5.x line#2416
oliverlaz merged 1 commit into
mainfrom
chore/dogfood-v2-major

Conversation

@oliverlaz

@oliverlaz oliverlaz commented Sep 4, 2026

Copy link
Copy Markdown
Member

💡 Overview

Moves the v2 dogfood app to the 5.x.y line so it stops colliding with release-v1, which keeps 4.x.y.

This is currently blocking all v1 releases. Both branches version this app from the same tag namespace, and release-v1 cannot see tags main created after the cut, so the two converge on the same version and the release fails on the tag push. main holds 4.45.1 and 4.45.2; release-v1 computes 4.45.1 next. Since the version executor pushes with git push --atomic, the whole push aborts and no v1 release can complete.

Same disjoint-major fix already applied to the satellite packages in #2414.

📝 Implementation notes

The version stays stable, deliberately, rather than joining main's beta prerelease line. It feeds the iOS marketing version and the Android versionName, and CFBundleShortVersionString must be at most three integers, so 5.0.0-beta.0 would be rejected outright. bump_ios_version_number runs on PR builds via is_ci, not only on store releases, so an invalid version string would break CI rather than just a release.

No releaseAs is needed. The dogfood preset leaves preMajor unset, which defaults to false, so the BREAKING CHANGE footer alone produces the major bump. That avoids the single-use premajor two-step this repo needed for the core packages and the satellites, and leaves nothing in the config to remember to remove afterwards.

Dry run on this branch confirms only the dogfood app moves:

@stream-io/video-react-native-dogfood   5.0.0
everything else                         nothing changed

The diff is a README note recording the version-line split, which is also what carries the breaking commit for the version executor to pick up. The app is private and never published to npm, so the tag is the only artifact.

Follow-up, on release-v1

A seed tag is still needed there to clear main's existing 4.45.1/4.45.2 markers, the same technique used for video-filters-web and callingx. Tracked in the ticket.

🎫 Ticket: https://linear.app/stream/issue/REACT-1166/v1v2-branch-split-release-v1-maintenance-branch-v2-on-main

📑 Docs: n/a (internal sample app)

Summary by CodeRabbit

  • Documentation
    • Added guidance on React Native SDK version lines and release numbering.
    • Clarified the version relationship between the main and release-v1 branches.
    • Improved README formatting around environment setup instructions.

Both release branches version this app from the same tag namespace, and
`release-v1` cannot see tags `main` created after the cut, so the two
converge on the same version and the release fails on the tag push. It is
already blocking: `main` holds 4.45.1 and 4.45.2, and `release-v1` computes
4.45.1 next.

Splitting the majors fixes it the same way it was fixed for the satellite
packages. `main` takes 5.x.y, `release-v1` keeps 4.x.y.

The version stays stable rather than joining main's `beta` prerelease line.
It feeds the iOS marketing version and the Android versionName, and
CFBundleShortVersionString must be at most three integers, so a
`5.0.0-beta.0` would be rejected. `bump_ios_version_number` runs on PR
builds, so an invalid string would break CI, not just store releases.

BREAKING CHANGE: the v2 dogfood app is versioned 5.x.y. No `releaseAs` is
needed because the preset leaves `preMajor` false, so this footer alone
produces the major bump, and nothing single-use is left in the config to
remove afterwards.
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 15280a15-c94e-471b-90d7-8586feaa4239

📥 Commits

Reviewing files that changed from the base of the PR and between 8c7af9f and e09ba71.

📒 Files selected for processing (1)
  • sample-apps/react-native/dogfood/README.md

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The React Native dogfood README adds spacing after a setup heading and documents the version lines used by the main and release-v1 branches.

Changes

React Native README updates

Layer / File(s) Summary
README version-line documentation
sample-apps/react-native/dogfood/README.md
Adds spacing after the setup heading and documents the 5.x.y version line on main and the 4.x.y version line on release-v1.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to e09ba

This updates React Native dogfood version-line guidance and formatting without changing runtime or release behavior. No merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: moving the React Native v2 dogfood app to the 5.x version line.
Description check ✅ Passed The description includes the required Overview and Implementation notes sections. It explains the version split, implementation details, validation, follow-up work, ticket, and documentation status.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/dogfood-v2-major

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Bundle size

Built package output. Sizes in KB; delta vs main@8c7af9f.

No significant package size increase vs main.

@oliverlaz
oliverlaz merged commit 8554686 into main Sep 4, 2026
6 checks passed
@oliverlaz
oliverlaz deleted the chore/dogfood-v2-major branch September 4, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant