Skip to content

Collection Health: count SKIPPED as a healthy run (no false STALE for dedup collectors)#1248

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/collection-health-skipped-status
Jun 28, 2026
Merged

Collection Health: count SKIPPED as a healthy run (no false STALE for dedup collectors)#1248
erikdarlingdata merged 1 commit into
devfrom
feature/collection-health-skipped-status

Conversation

@erikdarlingdata

Copy link
Copy Markdown
Owner

Dedup-snapshot collectors (server_properties + the config snapshots) log SKIPPED when nothing changed — a successful no-op. But per-collector Collection Health computed last_success_time from SUCCESS only, so a collector that's correctly skipping showed STALE, then NEVER_RUN once its last real SUCCESS aged out of log retention. (Same "SKIPPED is fine" semantics #1246's freshness backstop already uses — now consistent.)

Dashboard (report.collection_health view, install/47): SKIPPED now counts toward last_success_time and total_runs, and is included in the recent_failures window so a skip-only collector doesn't fall through to the consecutive_failures → FAILING branch.

Lite (LocalDataService.CollectionHealth): SKIPPED counts toward last_success_time too, so a version-gated/dedup collector not on the OnLoadCollectors exemption list no longer false-STALEs.

Validated live: server_properties on SQL2016/2017/2025 flips STALE/NEVER_RUNHEALTHY against real on-disk data. Lite build clean; 618 Lite.Tests pass. Parity fix, both apps.

🤖 Generated with Claude Code

…E for dedup collectors)

Dedup-snapshot collectors (server_properties + the config snapshots) log SKIPPED when
nothing changed -- a successful no-op. But the per-collector health computed
last_success_time from SUCCESS only, so a collector that's correctly skipping showed
STALE, then NEVER_RUN once its last real SUCCESS aged out of log retention. This is the
same "SKIPPED is fine" semantics #1246's freshness backstop already uses.

Dashboard (report.collection_health view, install/47): SKIPPED now counts toward
last_success_time and total_runs, and is included in the recent_failures window so a
skip-only collector doesn't fall through to the consecutive_failures FAILING branch.
Validated live: server_properties on SQL2016/2017/2025 flips STALE/NEVER_RUN -> HEALTHY.

Lite (LocalDataService.CollectionHealth): SKIPPED counts toward last_success_time too, so
a version-gated/dedup collector not on the OnLoadCollectors exemption list no longer
false-STALEs. Build clean, 618 Lite.Tests pass.

Parity fix, both apps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 8692f7e into dev Jun 28, 2026
6 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/collection-health-skipped-status branch June 28, 2026 19:46
This was referenced Jun 28, 2026
pull Bot pushed a commit to ehtick/PerformanceMonitor that referenced this pull request Jun 29, 2026
…lthy fix)

erikdarlingdata#1248 (merged to dev) makes per-collector Collection Health count SKIPPED as a
healthy run, so dedup / skip-if-unchanged collectors (server_properties + the
config snapshots) stop showing false STALE/NEVER_RUN in both apps. Added as a
[3.1.0] Fixed entry + reference link.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant