Repository navigation
Reclaim resolved failure log excerpts without dropping statistics - #19654
Merged
Merged
Conversation
Compact diagnostic-only failureLog payloads after same-scope recovery while retaining Run summaries and metric/comparison evidence. Protect pruning against stale imports and refresh subscribers after excerpt-only maintenance. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bf47d592-6917-4408-96ae-d8486602439a
Contributor
Dashboard dead viewsDead element views (0):
|
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
Implement the smallest diagnostic-only retention increment: remove a failed Run's persisted
failureLogexcerpt once a later completed success is known in the same execution repository, workflow, campaign/role, target, event, branch, and rollout mode.--retention-days allarchives remain exempt.Exact persistence scope and savings
This affects the shared canonical storage implementation used by browser IndexedDB and the Node.js SQLite adapter (
runsdocuments, stored in SQLite's__idb_records, plus private storage bookkeeping). It does not change hosted Go/PostgreSQL, published JSONL, upstream collection, or GitHub runs/artifacts, and does not mutate a deployment.Verification
cao_dashboard_execute_querytool independently evaluated the relevant Dashboard Language reliability and cost definitions.Limitations
This deliberately does not discard entire sessions or metric-bearing detail and introduces no aggregate warehouse or schema migration. SQLite updates reclaim record payload/reusable space but do not guarantee an immediate smaller physical file without vacuuming. The replay marker lasts while its Run survives; rebuilding a disposable cache derives recovery again from available source history. When excerpts exist, cleanup scans retained Run summaries in bounded pages, not linked evidence collections. Populated desktop/mobile full-site screenshots are attached in a follow-up comment.