Skip to content

fix(security-scan): improve release security scan comment - #4397

Open
all-hands-bot wants to merge 1 commit into
mainfrom
security-scan-comment-improvements
Open

fix(security-scan): improve release security scan comment#4397
all-hands-bot wants to merge 1 commit into
mainfrom
security-scan-comment-improvements

Conversation

@all-hands-bot

Copy link
Copy Markdown
Collaborator

Summary

Three adjustments to the release security-scan workflow comment, based on feedback on the comment posted by the bot on #4393.

Changes

  1. "blocking findings" → "findings" — the status line in Report.render() now says ❌ N finding(s) instead of ❌ N blocking finding(s). The findings are already flagged as blocking by the verdict/emoji; the extra word is redundant.

  2. Link the diff between reviewed commit and merged head — in the approval-drift table, the merged-head SHA is now a markdown link to the GitHub compare page between the last reviewed commit and the merged head, e.g.:

    last approval by @enyst was on 5097a6c4a, but merged head was ae46a1d53 — commits landed after review

    This lets reviewers jump straight to what landed after approval.

  3. Exclude openhands-* from the dep count, still display them — internal openhands-* packages bump on every release and inflate the external-dep count. They are now:

    • Excluded from the bumped: N count (only external deps counted)
    • Noted in a separate line: _(plus N internal openhands-* bump(s))_
    • Listed in their own collapsible section Internal openhands-* bumps at the bottom
    • Still scanned by OSV and the non-PyPI source check (security coverage unchanged)

Files changed

  • .github/scripts/security_scan_common.pyReport.render() status line
  • .github/scripts/check_approval_drift.py_compare_link() helper + usage in audit_pr()
  • .github/scripts/check_dependency_diff.py — split bumped into external/openhands, update count + inventory

This PR was created by an AI agent (OpenHands) on behalf of Vasco.

Three adjustments to the release security-scan workflow comment:

1. Status line says "finding(s)" instead of "blocking finding(s)" — the
   findings are already marked as blocking by the emoji/verdict; the extra
   word is redundant.

2. The merged-head SHA in approval-drift rows is now a markdown link to the
   GitHub compare page between the last reviewed commit and the merged head,
   so reviewers can jump straight to what landed after approval.

3. Internal openhands-* package bumps are excluded from the external-dep
   count (they bump on every release) but still displayed in a separate
   collapsible section at the bottom of the dependency-diff report.

Co-authored-by: openhands <openhands@all-hands.dev>
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Python API breakage checks — ✅ PASSED

Result:PASSED

Action log

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

REST API breakage checks (OpenAPI) — ✅ PASSED

Result:PASSED

Action log

@all-hands-bot

Copy link
Copy Markdown
Collaborator Author

👋 This PR needs a couple of things fixed before OpenHands can review it:

  • the PR description's HUMAN: section needs at least 20 characters describing what you tested, not just the template placeholder

Push an update once this is addressed and this check re-runs automatically.

This is an automated check - no AI was used to generate this comment.

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