Skip to content

Cherry-pick Yoga UDL fix for beta-0.1.1#111

Merged
clholgat merged 3 commits into
release/beta-0.1from
cherry-pick/yoga-udl-fix
Jul 1, 2026
Merged

Cherry-pick Yoga UDL fix for beta-0.1.1#111
clholgat merged 3 commits into
release/beta-0.1from
cherry-pick/yoga-udl-fix

Conversation

@clholgat

Copy link
Copy Markdown
Collaborator

Summary

Cherry-pick the Yoga YGValue.h UDL syntax fix from main (1c6d7408) to the release branch.

Newer Clang versions (shipped with recent macOS GitHub Actions runners) treat operator"" _pt (with space before the suffix) as -Werror,-Wdeprecated-literal-operator. This removes the space so it compiles cleanly.

This was breaking:

  • Valdi CI smoke tests (iOS build)
  • Publish NPM release test (iOS build)
  • Release Test workflow

Test Plan

CI on this PR should pass. After merge, beta-0.1.1 will be retagged at the new branch head.

Newer Clang versions treat `operator"" _pt` (with space) as
-Werror,-Wdeprecated-literal-operator. Remove the space so it
compiles cleanly: `operator""_pt`.

Cherry-picked from main (1c6d740).
@github-actions

Copy link
Copy Markdown

Sensitive Files Detected

🧘 Yoga layout engine — HIGH blast radius — affects all layout. Verify layout tests exist and pass.

This is an automated notice. A maintainer will review after import.

@github-actions github-actions Bot added area/yoga Yoga layout engine size/S labels Jun 29, 2026
@github-actions

Copy link
Copy Markdown

📊 PR Size: size/S

Total changes: 12 lines (1 files)

Top files changed:

  • third-party/yoga/src/yoga/YGValue.h: +6 -6

Size calculated as additions + deletions. Labels: XS (<10), S (<50), M (<250), L (<1000), XL (1000+)

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

🎉 Bazel & CI Test Results

Test Suite Result
Snapshot Tests ✅ success
Valdi Smoke Tests ✅ success
Linux: Build & Export ✅ success
Linux: C++ Tests ✅ success

All Bazel configuration and CI tests passed!

The build system and core tooling are working correctly.

🚀 Bazel remote cache is now enabled - future builds will be faster!

Workflow: Valdi CI

Newer Clang versions (shipping on recent macOS GitHub Actions runners)
error on memcpy with non-trivially copyable types. Add
-Wno-nontrivial-memcall to COMPILER_FLAGS_COMPAT to match the fix
already on main (1b5419b).

Cherry-picked for beta-0.1.1.
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ Bazel & CI Test Results

Test Suite Result
Linux: Build & Export ✅ success
Valdi Smoke Tests ❌ failure
Snapshot Tests ✅ success
Linux: C++ Tests ✅ success
Comment Test Results / Post Results Comment ❌ null

Some tests failed. Please check the workflow logs for details.

🚀 Bazel disk cache is enabled - builds with warm cache will be faster!

Workflow: Valdi CI

Newer Clang versions error on memcpy with non-trivially copyable types
(-Werror,-Wnontrivial-memcall). The valdi_hermes target includes Hermes
headers that trigger this in HermesBytecodeCache.cpp.

Suppress the warning in the valdi_hermes copts to match the fix already
applied to third-party/hermes/hermes.BUILD.
@github-actions github-actions Bot added the area/build-system Bazel build rules and config label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ Bazel & CI Test Results

Test Suite Result
Snapshot Tests ❌ failure
Linux: C++ Tests ✅ success
Valdi Smoke Tests ✅ success
Linux: Build & Export ✅ success
Comment Test Results / Post Results Comment ❌ null

Some tests failed. Please check the workflow logs for details.

🚀 Bazel disk cache is enabled - builds with warm cache will be faster!

Workflow: Valdi CI

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ Bazel & CI Test Results

Test Suite Result
Snapshot Tests ✅ success
Valdi Smoke Tests ✅ success
Linux: Build & Export ✅ success
Linux: C++ Tests ✅ success
Comment Test Results / Post Results Comment ❌ null

Some tests failed. Please check the workflow logs for details.

🚀 Bazel disk cache is enabled - builds with warm cache will be faster!

Workflow: Valdi CI

@clholgat clholgat merged commit 41d6d87 into release/beta-0.1 Jul 1, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build-system Bazel build rules and config area/yoga Yoga layout engine size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant