Skip to content

fix(ci): cover SDK changes in dependent test jobs - #4915

Draft
jstar0 wants to merge 1 commit into
OpenHands:mainfrom
jstar0:fix/4912-ci-dependency-path-gates
Draft

jstar0 wants to merge 1 commit into
OpenHands:mainfrom
jstar0:fix/4912-ci-dependency-path-gates

Conversation

@jstar0

@jstar0 jstar0 commented Sep 9, 2026 •

Copy link
Copy Markdown

HUMAN:


AGENT:
This PR is intentionally opened as a draft until a human author adds the required note above. The change is limited to CI workflow selection and a pull-request-only execution assertion; runtime code is unchanged.

Why

The required test workflow can report success while downstream package tests are skipped: several path-gated jobs did not select changes under openhands-sdk/**. That lets an SDK change bypass the tests for the packages it can affect.

Summary

  • Include openhands-sdk/** in the downstream package and stress-test job path filters.
  • Make cross-tests watch the four actual package roots instead of the non-existent openhands/** root.
  • Add a pull-request-only Test execution gate that reports suite selection/results and enforces the SDK dependency fan-out when SDK files change.

Issue Number

Fixes #4912

How to Test

  • pre-commit run --files .github/workflows/tests.yml — passed, including YAML formatting.
  • python -c "import yaml; yaml.safe_load(open(\".github/workflows/tests.yml\"))" — passed YAML parsing.
  • git diff --check origin/main...HEAD — passed.
  • The Test execution gate run block was exercised in three scenarios: an SDK-affecting change with all dependent suites selected (passes), a change outside the dependency graph with suites unselected (passes), and an SDK-affecting change with a missing selection (fails with the expected missing-suite diagnostics).
  • Staged gitleaks validation found no leaks.

Video/Screenshots

Not applicable to this workflow-only change.

Design Doc

Not applicable to this workflow-only change.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Notes

Please keep this PR in draft until the required human-authored note is added. The negative gate scenario is intentionally expected to fail; it verifies that a skipped dependent suite cannot be hidden behind a green required check.

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.

Path-gated test jobs omit openhands-sdk/**, so SDK changes can break downstream tests with every required check green

1 participant