This repository is a small, intentionally simple demo for a GitHub issue -> Revka -> pull request workflow.
The Python package has one known bug: cart subtotal calculation ignores item quantity. The baseline tests pass because they only cover quantity 1; the demo issue asks Revka to reproduce the bug, add a regression test, fix the code, and open a PR.
python -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
python -m pytestRun the demo CLI:
python -m agentops_demoThe sample order contains multiple quantities, so the subtotal is intentionally wrong until the issue is fixed.
Create these repository secrets:
gh secret set REVKA_GATEWAY_URL --body "https://construct.kumiho.cloud"
gh secret set REVKA_BEARER_TOKEN --body "$REVKA_BEARER_TOKEN"Optionally set the workflow name if your Revka workflow is not named github-issue-resolver:
gh variable set REVKA_WORKFLOW_NAME --body "github-issue-resolver"- Configure the secrets above.
- Open the demo issue in this repo.
- Add the
revka-demolabel, or run theRevka Issue Triggerworkflow manually with the issue number. - GitHub Actions sends the issue payload to Revka:
POST $REVKA_GATEWAY_URL/api/workflows/run/$REVKA_WORKFLOW_NAME
Authorization: Bearer $REVKA_BEARER_TOKEN
The request body uses the built-in github-issue-resolver inputs:
{
"inputs": {
"github_payload": "{...issue json...}",
"repo_name": "KumihoIO/google-agentops-demo"
}
}Revka should inspect the issue, ask for human approval, reproduce the quantity bug, add a regression test, fix subtotal_cents, open a PR, then pause again before merge/close.