Repository navigation
ci: add coverage report and summary to tests workflow (closes #3) - #6
Merged
Merged
Conversation
… workflow\n\n- Add pytest-cov to dev dependencies\n- Generate Cobertura XML via pytest --cov-report xml\n- Post markdown summary and badge using irongut/CodeCoverageSummary\n- Comment coverage results on PRs\n\nCloses #3\n\nCo-authored-by: openhands <openhands@all-hands.dev>
…erate coverage.svg badge from coverage.xml in CI\n- Commit badge on push builds; upload badge artifact on PRs\n- Add coverage badge to README\n\nCo-authored-by: openhands <openhands@all-hands.dev>
xingyaoww
commented
Aug 24, 2025
Contributor
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
…o-authored-by: openhands <openhands@all-hands.dev>
xingyaoww
marked this pull request as ready for review
August 24, 2025 21:00
9 tasks done
3 of 5 tasks
xli04
added a commit
to xli04/software-agent-sdk
that referenced
this pull request
May 15, 2026
Addresses review OpenHands#6 (test plan item #5) on OpenHands#2911. Five tests verify the analyzer's output drives ``ConfirmRisky`` correctly across all risk levels. The Conversation state machine transitions into ``WAITING_FOR_CONFIRMATION`` whenever ``ConfirmRisky.should_confirm(risk)`` returns True, so this is the operationally meaningful contract: - HIGH from analyzer -> ConfirmRisky pauses - MEDIUM from analyzer -> default threshold (HIGH) does NOT pause - LOW from analyzer -> does NOT pause - UNKNOWN from analyzer + confirm_unknown=True (default) -> pauses (this is what preserves the conservative posture after the parse-failure path was switched from HIGH to UNKNOWN in review #1) - UNKNOWN from analyzer + confirm_unknown=False -> does NOT pause All five tests mock the guardrail LLM, so no network calls.
StressTestor
pushed a commit
to StressTestor/software-agent-sdk
that referenced
this pull request
Jun 1, 2026
…ds#3) (OpenHands#6) Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2 of 6 tasks
1 of 5 tasks
2 of 5 tasks
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.
Summary
Changes
Testing
if: always()on reporting steps.Docs
Checklist
Closes #3
@xingyaoww can click here to continue refining the PR