Skip to content

Resolve copied Bazel products from the execution root - #3358

Open
karim-alweheshy wants to merge 2 commits into
mainfrom
preview-review-04-product-paths
Open

karim-alweheshy wants to merge 2 commits into
mainfrom
preview-review-04-product-paths

Conversation

@karim-alweheshy

@karim-alweheshy karim-alweheshy commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolve generated Bazel product paths from the selected execution root (PROJECT_DIR), not SRCROOT, and reject missing or dangling product sources before copying. Add shell integration coverage for distinct project/source roots and product variants.

Validation

The diff adds shell integration coverage for distinct project/source roots and product variants. Tests were not rerun for this description update.

Testing

Run bazel test //test/internal/bazel_integration_files:preview_framework_scripts, including missing and dangling source cases. This is staging-path coverage, not proof of a Preview Canvas render.

Use PROJECT_DIR for relative product paths and retain the full binary product name. Reject missing products instead of copying a stale SRCROOT output. Cover ordinary and legacy builds with distinct source and execution roots.

Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
@karim-alweheshy
karim-alweheshy requested a review from a team October 1, 2026 18:00
@karim-alweheshy
karim-alweheshy marked this pull request as ready for review October 7, 2026 18:38
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
karim-alweheshy added a commit that referenced this pull request Oct 8, 2026
Signed-off-by: Karim Alweheshy <9082720+karim-alweheshy@users.noreply.github.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.

1 participant