structured logging around key workflows and docs for operational readiness
This commit is contained in:
parent
2902e362df
commit
99bb851ca8
8 changed files with 288 additions and 5 deletions
|
|
@ -27,6 +27,7 @@ from repo_registry.core.models import (
|
|||
SourceReference,
|
||||
confidence_label,
|
||||
)
|
||||
from repo_registry.core.logging import log_operation
|
||||
from repo_registry.content_indexing.extractor import ContentChunkCandidate
|
||||
from repo_registry.candidate_graph.generator import CandidateAbilityDraft
|
||||
from repo_registry.repo_scanning.scanner import FactCandidate, ScanResult
|
||||
|
|
@ -1005,7 +1006,15 @@ class RegistryStore:
|
|||
""",
|
||||
(repository_id, analysis_run_id, action, notes),
|
||||
)
|
||||
return int(cursor.lastrowid)
|
||||
decision_id = int(cursor.lastrowid)
|
||||
log_operation(
|
||||
"review_decision_recorded",
|
||||
repository_id=repository_id,
|
||||
analysis_run_id=analysis_run_id,
|
||||
review_decision_id=decision_id,
|
||||
action=action,
|
||||
)
|
||||
return decision_id
|
||||
|
||||
def list_review_decisions(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue