Skip to content

fix: (QA-650) make workflow_call lv2 sdk tests cumulative - #524

Merged
tiagodread merged 2 commits into
mainfrom
QA-650-3
Apr 22, 2026
Merged

tiagodread merged 2 commits into
mainfrom
QA-650-3

Conversation

@tiagodread

Copy link
Copy Markdown
Contributor
  • Add trigger-aware test selector resolution in live_tests.yml.
  • For workflow_call, resolve lv2 to cumulative selector lv1 or lv2.
  • Keep workflow_dispatch behavior unchanged: lv1 runs lv1, lv2 runs lv2.
  • Keep JUnit/HTML artifact generation unchanged (sdk-test-results.xml, sdk-report.html).

Adjust live test selector resolution so workflow_call runs lv2 as lv1+lv2 while
preserving workflow_dispatch exact-level behavior for lv1 and lv2.
@tiagodread
tiagodread requested a review from a team as a code owner April 22, 2026 18:51
Comment thread .github/workflows/live_tests.yml
Move workflow context interpolation into step env variables and resolve the
selector in shell variables to prevent run-step expression injection.
@tiagodread
tiagodread merged commit db10d3e into main Apr 22, 2026
10 checks passed
@tiagodread
tiagodread deleted the QA-650-3 branch April 22, 2026 19:05
tiagodread added a commit that referenced this pull request Apr 23, 2026
…526)

## Summary
This is a follow up PR from
#524

- Fix SDK live-tests selector logic so reusable workflow calls with
`test_level=lv2` execute both `lv1` and `lv2` tests.
- Detect reusable-workflow context via `inputs.env` instead of relying
on `github.event_name`.
- Preserve direct/manual workflow behavior where `lv2` runs only `lv2`.
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