CI: Refactor pre-merge workflows and integrate LAVA trigger flow - #16
Open
ffrancis123 wants to merge 1 commit into
Open
ffrancis123 wants to merge 1 commit into
ffrancis123 wants to merge 1 commit into
Conversation
Align pre-merge build workflows with audioreach-workflows [1]. Refactor CI logic to improve security, reusability, and clarity. Switch the workflow trigger from pull_request_target to pull_request to follow standard GitHub Actions practices and enhance security. Normalize YAML formatting and dependencies [2]. Refactor build and test orchestration by introducing filtering of test-ready entries from the build matrix using improved jq logic with JSON validation and support for both object and array formats. Persist the filtered results to test_matrix.json and upload it as an artifact for downstream use. Replace inline LAVA triggering with the trigger_lava_on_success workflow. Run it after successful builds to retrieve artifacts, extract build metadata, and trigger LAVA tests using the prepared filtered matrix. Add a reusable pre_build script to fetch the SDK from AWS S3 and move setup logic out of CI. Enable reuse in standalone and local build environments. Grant required workflow permissions (checks and pull-requests write) to enable PR checks and allow the trigger_lava job to function correctly. [1] AudioReach/audioreach-workflows#38 [2] AudioReach/audioreach-workflows#73 Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
This was
linked to
issues
Jun 4, 2026
svutukur20
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Align pre-merge build workflows with audioreach-workflows [1]. Refactor CI logic to improve security, reusability, and clarity. Switch the workflow trigger from pull_request_target to pull_request to follow standard GitHub Actions practices and enhance security. Normalize YAML formatting and dependencies [2].
Refactor build and test orchestration by introducing filtering of test-ready entries from the build matrix using improved jq logic with JSON validation and support for both object and array formats. Persist the filtered results to test_matrix.json and upload it as an artifact for downstream use.
Replace inline LAVA triggering with the trigger_lava_on_success workflow. Run it after successful builds to retrieve artifacts, extract build metadata, and trigger LAVA tests using the prepared filtered matrix.
Add a reusable pre_build script to fetch the SDK from AWS S3 and move setup logic out of CI. Enable reuse in standalone and local build environments.
Grant required workflow permissions (checks and pull-requests write) to enable PR checks and allow the trigger_lava job to function correctly.
[1] AudioReach/audioreach-workflows#38
[2] AudioReach/audioreach-workflows#73