Repository navigation
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
Contributor
Reviewer's GuideThis PR adds an attempt-level observability pipeline for kani-smoke: scope decisions, proof and mutation outcomes, cache results, and proof duration are normalized into a bounded JSONL contract, finalized and uploaded even after ordinary failures, with 30-day attempt-specific retention and extensive workflow-contract coverage. Sequence diagram for Kani smoke metrics finalizationsequenceDiagram
participant Scope as Scope step
participant Workflow as kani-smoke workflow
participant Metrics as kani_smoke_metrics.py
participant Artifact as Retained artifact
Scope->>Metrics: write_decision_record()
Workflow->>Metrics: mark_start()
Workflow->>Workflow: make kani-ir
Workflow->>Metrics: mark_end()
Workflow->>Metrics: finalize()
Metrics->>Metrics: classify_outcome()
Metrics->>Metrics: classify_cache()
Metrics->>Metrics: metrics_records()
Metrics-->>Workflow: metrics.jsonl
Workflow->>Artifact: upload metrics.jsonl
Note over Workflow,Artifact: always(), retention 30 days
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
added 2 commits
October 12, 2026 17:34
Keep fixed scope decisions outside `GITHUB_OUTPUT` so invalid scopes still fail without changing the public output contract. Finalize bounded run, cache, and proof-duration records into a retained per-attempt artifact, with tests and operator guidance for classification, delivery, and limitations.
Record how the local-reference inventory covers the metrics helper and require future Kani workflow helpers to remain explicitly reachable.
leynos
force-pushed
the
issue-847-add-retained-bounded-metrics-for-kani-smoke
branch
from
October 12, 2026 16:17
70b8b0b to
ec0afc1
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Record each Kani workflow attempt with fixed decision, outcome, proof duration and cache result labels. An unconditional finalizer writes release-admission JSONL; the workflow uploads it under an attempt-specific artifact name with 30-day retention. Documentation covers bounded vocabularies, cache semantics, operator aggregation, and cancellation and timeout limits.
Closes #847
Validation
make typecheck-pythonmake markdownlintmake nixiemake check-fmtmake test-workflow-contracts— 1,246 passed, 3 skipped; 27 follow-on script tests passed.make lintmake doc-coverage— 98.87% aggregate.make test— 3,919 nextest passed, 6 skipped; doctests passed.coderabbit review --agent— final review completed with no findings.Summary by Sourcery
Add retained, bounded observability for every Kani smoke workflow attempt.
New Features:
Bug Fixes:
Enhancements:
CI:
Documentation:
Tests:
Chores:
References