Skip to content

ci(rn-compat): open an issue only when there is something to act on - #744

Merged
gre merged 3 commits into
masterfrom
ci/rn-compat-issue-only-on-action
Oct 28, 2026
Merged

gre merged 3 commits into
masterfrom
ci/rn-compat-issue-only-on-action

Conversation

@gre

@gre gre commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

The weekly RN compat watch opened an issue for every new react-native version, even when everything passed.

Now:

  • Failed check or compiler warnings in the library's code → issue, as before.
  • Clean pass → no issue. The report goes to the job summary (now written on every run, not only dry runs), and a rn-compat-clean-<version> artifact (kept 90 days) records the pass so the resolve step skips that version instead of rebuilding it weekly. force still re-tests.
  • The job summary also states what was done for each version (opened / updated / unchanged / clean pass).
  • Existing issues are updated exactly as before.

Trade-off: a clean new RN release no longer pings for the example app upgrade.

🤖 Generated with Claude Code

@gre
gre requested a balanced review from Copilot October 28, 2026 09:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

gre and others added 3 commits October 28, 2026 16:49
A clean pass (every check green, no compiler warnings in the library's
code) now only goes to the job summary instead of opening an issue; the
version is re-checked the next week. Failures and warnings still open an
issue as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without an issue, nothing marked a clean version as done, so it was rebuilt
every week (macOS minutes, and a flaky run would open a false ❌ issue). A
clean pass now uploads an rn-compat-clean-<version> artifact (90 days) that
the resolve step checks. The job summary also records what was done for
each version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gre
gre force-pushed the ci/rn-compat-issue-only-on-action branch from 4a7feed to e6864c7 Compare October 28, 2026 15:49
@gre
gre marked this pull request as ready for review October 28, 2026 17:20
@gre
gre merged commit 3d0b0c7 into master Oct 28, 2026
21 of 23 checks passed
gre added a commit that referenced this pull request Oct 28, 2026
viewshot-all-screens runs first and its beforeAll absorbs the run's first
launch (dev bundle on a fresh simulator), which has gone past the 180 s
default on CI (#744, #746, #749).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gre added a commit that referenced this pull request Oct 28, 2026
The prefetch asked for index.bundle?platform=ios&dev=true&minify=false,
but RCTBundleURLProvider requests lazy=true plus Fusebox's
excludeSource/sourcePaths and app=<bundle id>. Metro then built a second
bundle on the first app launch with its 2 workers, and the home screen
missed the 120 s wait (the first-launch flake on #744/#746/#748/#749 and
this PR's runs). Match the query, and give that first wait 240 s within
the 300 s hook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants