Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AOSP-pick] Separate BEP fetching and parsing #7244

Conversation

LeFrosch
Copy link
Collaborator

@LeFrosch LeFrosch commented Jan 22, 2025

Cherry pick AOSP commit 47436ebddcad73d6a5d4bf1d8ab8a8ccbe1c2235.

Separate BEP fetching and parsing

This is to enable independent changes to both processes.

  1. Introduce a BuildResultHelper.getBepStream() method that knows
    how to get a BEP stream. Each BuildResultHelper gets its own
    implementation.

  2. Re-implement other methods like getBuildOutput() to operate on
    externally supplied BuildEventStreamProvider. These methods should
    not eventually depend on a specific implementation of
    BuildResultHelper and will be moved out soon.

  3. Update tests accordingly.

Bug: n/a
Test: existing
Change-Id: I48f6cf5d19889e60c6795c1b097243cd7006c686

AOSP: 47436ebddcad73d6a5d4bf1d8ab8a8ccbe1c2235

@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Jan 22, 2025
This is to enable independent changes to both processes.

1. Introduce a `BuildResultHelper.getBepStream()` method that knows
   how to get a BEP stream. Each `BuildResultHelper` gets its own
   implementation.

2. Re-implement other methods like `getBuildOutput()` to operate on
   externally supplied `BuildEventStreamProvider`. These methods should
   not eventually depend on a specific implementation of
   `BuildResultHelper` and will be moved out soon.

3. Update tests accordingly.

Bug: n/a
Test: existing
Change-Id: I48f6cf5d19889e60c6795c1b097243cd7006c686

AOSP: 47436ebddcad73d6a5d4bf1d8ab8a8ccbe1c2235
@LeFrosch LeFrosch force-pushed the AOSP/47436ebddcad73d6a5d4bf1d8ab8a8ccbe1c2235 branch from d3299bf to d50505a Compare January 22, 2025 10:41
@LeFrosch LeFrosch merged commit 68dae7a into bazelbuild:master Jan 31, 2025
5 checks passed
@LeFrosch LeFrosch deleted the AOSP/47436ebddcad73d6a5d4bf1d8ab8a8ccbe1c2235 branch January 31, 2025 09:31
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
Development

Successfully merging this pull request may close these issues.

4 participants