fix(ops): surface pre-record schedule failures
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a06bfe-2a55-7ed3-bacd-879977b099bf
This commit is contained in:
parent
fc38ca0fdf
commit
9394c40e3a
5 changed files with 45 additions and 3 deletions
|
|
@ -559,6 +559,10 @@ async def build_report(args: argparse.Namespace) -> tuple[dict[str, Any], int]:
|
|||
|
||||
all_evidence = progress_evidence + wm_evidence + spawn_evidence
|
||||
definitions = add_evidence_only_definitions(definitions, all_evidence)
|
||||
# The first filter limits DB work to selected definitions. Evidence-only
|
||||
# synthetic definitions are added afterwards, so reapply it to prevent an
|
||||
# activity-specific report from leaking unrelated State Hub evidence rows.
|
||||
definitions = filter_definitions(definitions, args.activity_id, args.activity_name)
|
||||
activities = []
|
||||
runs_available = sources["activity_runs"].get("status") == "ok"
|
||||
for definition in definitions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue