fix(ci): correct Forgejo exporter status semantics #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/forgejo-ci-exporter-status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Outcome
Establishes the previously host-only Forgejo CI exporter as versioned source and corrects status interpretation for Forgejo 15.0.3.
Changes
0..7(unknown, success, failure, cancelled, skipped, waiting, running, blocked)job.task_id, falling back to latest attempt, and treats failed step2as strongest retained terminal evidenceValidation
uv run ruff check .uv run ruff format --check .uv run pytest— 22 passed, including every status 0–7 and representative Prometheus labelsREAD ONLYtransactionlast_collection_success = 1forgejo-civerifiedup, one-minute scrape, no errorCI Run Analyticsdashboard verified with 11 panels and existing label contracts; Operator only embeds its public tokenRepresentative corrected values were
success_rate_7d=0.8602356,runs_today=670, andruns_today_failed=92. The deployed incorrect exporter had shortly before reported approximately0.453844,648, and359.Production boundary
This PR does not install or restart the exporter and does not edit Grafana. Deployment/restart and the dashboard caveat/threshold update require an explicit production checkpoint. The large metric shift is expected semantic blast radius, not proof of fully reconstructed historical truth.
Spec Drift Callouts
haskytech-ops.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.