Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
with:
python-version: "3.12"
- run: python3 skill-reviewer/scripts/pre-review-checks.py --all --repo-root .
- run: python3 -m unittest discover -s _shared/scripts -p 'test_*.py' -v

skillsaw:
name: Skillsaw Lint
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

on:
pull_request:
branches: [main]
push:
branches: [main]
Comment thread
adalton marked this conversation as resolved.
Resolved

permissions:
contents: read

jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python3 -m unittest discover -s _shared/scripts -p 'test_*.py' -v
- run: python3 -m unittest discover -s triage/scripts -p 'test_*.py' -v
6 changes: 5 additions & 1 deletion triage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ graph TD

## Prerequisites

- **Jira MCP server** — the `user-mcp-jira` MCP server must be configured and authenticated
- **Jira access** — the authenticated user must have read access to the target project
- **Jira MCP server** — the `user-mcp-jira` MCP server must be configured and authenticated (used by `/start` and `/assess`)
- **Environment variables for `/scan` (and `/run`, which includes scan)** — the scan phase calls the Jira REST API directly via `scripts/scan.py` instead of MCP:
- `JIRA_URL` — Jira instance base URL (e.g., `https://redhat.atlassian.net`)
- `JIRA_TOKEN` — API token or Personal Access Token
- `JIRA_EMAIL` — (optional) account email; set this when using an API token (Basic auth); omit for PATs (Bearer auth)

## Phases

Expand Down
2 changes: 1 addition & 1 deletion triage/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: triage
version: 0.1.0
version: 0.2.0
description: >-
Bulk-triage unresolved Jira bugs with AI-driven recommendations and an
interactive HTML report. Scan also loads recently resolved bugs for regression
Expand Down
2 changes: 1 addition & 1 deletion triage/guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Artifacts go in `.artifacts/triage/{project}/`.
|---------|-------------------------------------|--------------------------------|
| Run | Per phase below | Per phase below |
| Start | `jira_search` | `mkdir` (create artifact dir) |
| Scan | `jira_search` | Write `issues.json` and `resolved.json` |
| Scan | none (script calls REST API directly) | Run `scripts/scan.py`; read stdout/stderr |
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
| Analyze | none | Read `issues.json`, read `resolved.json` (if present), write `analyzed.json` |
| Report | none | Read `analyzed.json`, read `templates/report.html`, write `report.html` |
| Assess (`/assess`) | `jira_search` | Optionally read `issues.json`; no required artifact writes |
Expand Down
Loading
Loading