Skip to content

[Golden Test] Collector hardening: schedule-run filter, missing-prev-report guard, dynamic attribution window #1185

Description

@PeterJhongLinksys

Part of the daily golden-CI triage agent buildout (judgment/fix layer on top of the golden-ci GitHub Actions).

Harden the existing read-only collector ~/.hermes/automation/export-kit/pipelines/golden_verify/collector.py with three fixes agreed during design review:

  • Schedule-run filter — when polling Daily Golden Verify runs, only accept the scheduled run whose rendered branch == TARGET_BRANCH; ignore manual workflow_dispatch runs that may have rendered a different branch.
  • Missing previous-report guard — if the previous day's verify report can't be fetched, HOLD the overflow diff and report it explicitly. NEVER treat all persistent overflows (~361) as "new" (that single-day blast is exactly what dedup exists to prevent).
  • Dynamic attribution window — switch merged-PR fetch from a fixed "yesterday" span to a dynamic last-green-run → this-run span, so an unfixed cause from several days ago stays inside the window until its screens go green.

Context: collector is already written and verified (offline unit tests + live parse of the real report). These are incremental edits. TARGET_BRANCH is empirically dev-2.7.0, read live — do not hardcode.

Tracking issue for automation infra (no PrivacyGUI app code changes).

Metadata

Metadata

Labels

2.xLabeled for 2.x version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions