ci: close Jira security issues once a stable release ships the fix #162081
<!-- hermes-ci-review-bot -->
૮ >ﻌ< ა ci review
<sub>ran on 90bc60a — ci: close Jira security issues once a stable release ships t</sub>
❌ Job failures
Python lints / Python lints / Ratchet the PR against the base branch tip · View job
Job Python lints / Python lints / Ratchet the PR against the base branch tip failed.
---
Python lints / Python lints / Run footgun checker · View job
Job Python lints / Python lints / Run footgun checker failed.
---
⚠️ Warnings
CI timings · View report · View job
Wall time 10m39s vs 7m57s (+34.0%). 9 job(s) slower, 10 faster,
---
ℹ️ Info
CI caches · View report · View job
37 / 37 cache hits (0 misses)
6171.90 MiB restored
0 B not restored.
<details>
<summary>per-job cache results</summary>
<h3>hits</h3>
<table><thead><tr><th>Job</th><th>Step</th><th>Logs</th><th>Restored</th><th>Δ vs main</th></tr></thead><tbody>
<tr><td>JS & TS checks / JS & TS checks</td><td>Set up the locked JS build toolchain / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040215#step:4:1">view step</a></td><td>156.04 MiB</td><td>+0 B</td></tr>
<tr><td>JS & TS checks / JS & TS checks</td><td>Set up the locked JS build toolchain / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040215#step:4:1">view step</a></td><td>77.22 MiB</td><td>+0 B</td></tr>
<tr><td>JS & TS checks / JS & TS checks</td><td>Set up the locked JS build toolchain / Restore node dependency downloads</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040215#step:4:1">view step</a></td><td>180.90 MiB</td><td>+0 B</td></tr>
<tr><td>JS & TS checks / JS & TS checks</td><td>Restore node_modules</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040215#step:6:1">view step</a></td><td>263.28 MiB</td><td>+0 B</td></tr>
<tr><td>Python lints / Python lints</td><td>Run ./.github/actions/setup-pm / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041414#step:4:1">view step</a></td><td>83.13 MiB</td><td>+0 B</td></tr>
<tr><td>Rust tests / cargo test (bootstrap installer)</td><td>Restore cargo cache</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041474#step:5:1">view step</a></td><td>715.87 MiB</td><td>+0 B</td></tr>
<tr><td>Docs Site / docs-site-checks</td><td>Set up the locked site toolchain / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040040#step:4:1">view step</a></td><td>156.04 MiB</td><td>+0 B</td></tr>
<tr><td>Docs Site / docs-site-checks</td><td>Set up the locked site toolchain / Restore node dependency downloads</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040040#step:4:1">view step</a></td><td>71.71 MiB</td><td>unknown</td></tr>
<tr><td>Repository guards / Repository guards</td><td>Run ./.github/actions/setup-pm / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040384#step:36:1">view step</a></td><td>156.04 MiB</td><td>+0 B</td></tr>
<tr><td>Repository guards / Repository guards</td><td>Run ./.github/actions/setup-pm / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040384#step:36:1">view step</a></td><td>77.22 MiB</td><td>+0 B</td></tr>
<tr><td>Repository guards / Repository guards</td><td>Run ./.github/actions/setup-pm / Restore node dependency downloads</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208040384#step:36:1">view step</a></td><td>180.90 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (2/3)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041342#step:5:1">view step</a></td><td>155.62 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (2/3)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041342#step:5:1">view step</a></td><td>77.22 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (2/3)</td><td>Run tests</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041342#step:8:1">view step</a></td><td>0.10 MiB</td><td>unknown</td></tr>
<tr><td>Catalog tests / Catalog tests</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041375#step:4:1">view step</a></td><td>83.13 MiB</td><td>+0 B</td></tr>
<tr><td>Catalog tests / Catalog tests</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041375#step:4:1">view step</a></td><td>77.22 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (3/3)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041392#step:5:1">view step</a></td><td>155.62 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (3/3)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041392#step:5:1">view step</a></td><td>77.22 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (3/3)</td><td>Run tests</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041392#step:8:1">view step</a></td><td>0.10 MiB</td><td>unknown</td></tr>
<tr><td>Remote terminal backends / SSH + Docker backends (real sshd, real daemon)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041395#step:6:1">view step</a></td><td>83.13 MiB</td><td>+0 B</td></tr>
<tr><td>Remote terminal backends / SSH + Docker backends (real sshd, real daemon)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041395#step:6:1">view step</a></td><td>77.22 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (1/3)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041401#step:5:1">view step</a></td><td>155.62 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (1/3)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041401#step:5:1">view step</a></td><td>77.22 MiB</td><td>+0 B</td></tr>
<tr><td>Python tests / Run tests (1/3)</td><td>Restore per-file duration cache</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041401#step:7:1">view step</a></td><td>0.10 MiB</td><td>unknown</td></tr>
<tr><td>Bootstrap installer / install.sh protocol + small fresh-install E2E</td><td>Prepare tools for the real small-graph installer test / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041602#step:10:1">view step</a></td><td>83.13 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208042105#step:5:1">view step</a></td><td>236.12 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208042105#step:5:1">view step</a></td><td>106.70 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / macOS-only tests (2/2)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041664#step:5:1">view step</a></td><td>107.22 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / macOS-only tests (2/2)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041664#step:5:1">view step</a></td><td>87.53 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / macOS-only tests (1/2)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041590#step:5:1">view step</a></td><td>107.22 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / macOS-only tests (1/2)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041590#step:5:1">view step</a></td><td>87.53 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests (arm64, 2/2)</td><td>Set up native ARM64 build dependencies / Cache ARM64 OpenSSL development files</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041973#step:3:1">view step</a></td><td>26.23 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests (arm64, 2/2)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041973#step:4:1">view step</a></td><td>222.58 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests (arm64, 2/2)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041973#step:4:1">view step</a></td><td>860.47 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests (arm64, 1/2)</td><td>Set up native ARM64 build dependencies / Cache ARM64 OpenSSL development files</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041969#step:3:1">view step</a></td><td>26.23 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests (arm64, 1/2)</td><td>Set up locked Python and test dependencies / Restore verified PM tools without saving</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041969#step:4:1">view step</a></td><td>222.58 MiB</td><td>+0 B</td></tr>
<tr><td>OS-specific tests / Windows-only tests (arm64, 1/2)</td><td>Set up locked Python and test dependencies / Restore uv dependency downloads and builds</td><td><a href="https://github.com/NousResearch/hermes-agent/actions/runs/46520546376/job/142208041969#step:4:1">view step</a></td><td>860.47 MiB</td><td>+0 B</td></tr>
</tbody></table>
<h3>misses</h3>
none
<p>Compressed archive bytes. Not-restored bytes use the main-size reference; missing sizes remain unknown.</p>
</details>
Automated review — REQUEST_CHANGES
Blocking: scripts/ci/release_security_jira.py:161 calls subprocess.run() in local_git() without a timeout. A stalled git child can hold the workflow until the job-level timeout, and this violates the repository health rule HX006. The required Python lints and All required checks pass (v2) checks are already failing for this exact finding.
Please add a finite timeout and handle subprocess.TimeoutExpired through the existing sanitized error path.
Verified: the 16 behavior tests passed locally; CI reports that Ruff passed, but the health gate blocks the PR.
arkheioncorp
c2h5oh
What does this PR do?
Companion to #162050. After each stable release, this closes the Jira issues that workflow filed for Dependabot alerts and privately reported security advisories, once a published stable release contains the fix. Each issue gets a comment naming the first release that shipped the fix (the release whose changes since the previous stable release brought it in) and the evidence: the fixing commit, or the commits that name the advisory.
When it runs
It runs right after the release, but as its own workflow, triggered when these finish:
It is deliberately not a job inside
stable-release.yml. A failing job there would turn the release red and set off the reconciler's reruns and burned claims. Here, a Jira outage can't affect a release.How it decides what was fixed
It checks all published releases on every run, not just the one that triggered it. A green run is often still an unpublished draft that
release.py publishor a later sequencer pass publishes, so the triggering run's version is not reliable. A missed run catches up on the next one, and rerunning is harmless: only open issues are looked at.Releases are the published, non-prerelease
vX.Y.Ztags. The old date-style tags such asv2026.9.24are not versions.Dependabot alert: GitHub must have marked it fixed. The fixing commit is the newest first-parent commit on
mainthat touched the alert's manifest at or beforefixed_at. The issue is credited to the first published release that contains that commit.Private security report: credited to the first published release containing any commit whose message names the advisory's GHSA or CVE id.
release/branch counts.hermes-agentis used, matched on its own minor version line. Patched versions on a triage report are the reporter's guess and are ignored.Closing:
Public logs: this repo is public, so the run prints only counts, versions and Jira keys. Error messages hide advisory ids and alert numbers.
Changes Made
.github/workflows/release-security-jira.yml:- Triggers listed above, with a job-level
ifthat a test runs through the repo's_gha_exprevaluator.- Concurrency is set on the job, so runs that will be skipped never displace a pending real run.
- Uses the
trusted-automationenvironment andpermissions: {}at workflow level.- Fails early if the GitHub App credentials are missing.
scripts/ci/release_security_jira.py: standard library andgitonly.tests/ci/test_release_security_jira.py: 16 behaviour tests. Git runs against a real throwaway repository with a main line, arelease/1.0maintenance branch and a CalVer tag. GitHub and Jira are faked..github/workflows/README.md: a section under "Stable releases", a row in the full index, and the workflow count corrected from 47 to 49.Setup required
Same
trusted-automationenvironment as #162050:-
vars.JIRA_DONE_TRANSITION: which transition to use. By default it picks the first one into a done status.-
vars.JIRA_RESOLUTION: a resolution to set, e.g.Fixed.How to Test
1. Merge #162050 and configure both workflows.
2. Run
gh workflow run release-security-jira.yml -f dry_run=trueand check the "would close" keys and versions it reports.3. Publish a stable release, or run without
dry_run. Check the comments and the done status in Jira.Verification so far
ruffandactionlintreport nothing.- Script: 16 published stable releases; the check took about 11 s and peaked at about 610 MB of memory.
- Dependabot: all 80 alerts fixed since November are matched to a release (v0.23.0, v0.23.1 or v0.23.3). None is matched to a release published before GitHub marked the alert fixed.
- Private reports: 18 of 738 are matched, all through commits naming their id. Most closed reports never reference a fix.
just testandjust check.Notes
main, so this one copies its small HTTP client and the label names. A shared module can follow once both land.- The fixing commit for a Dependabot alert is inferred from commit times. A late-pushed commit to the same manifest can only delay the closure, never close an issue early.
- A security report whose fix is never referenced in a commit message stays open until someone closes it or publishes the advisory with a patched version.
Type of Change