Repository navigation
perf(artifact): run checks only after a push and drop replaced checks - #696
Merged
Merged
Conversation
A run check of an unchanged repository proves nothing new, but it still writes a Resolution with about 60 KB of attestations. Check a Skill again when its repository's pushed_at changes, with a 30-day backstop for ready Skills and 7 days for failing ones. When a check settles, delete the Resolution of the check it replaced unless it holds the newest attestation of its Artifact, so the sweep keeps one row per Skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
🤖 MERGED
GitHub merged this pull request.
1791b226-fd79-410c-afe2-093adc9365a0 Selected findings run after merge and open separate pull requests. |
Contributor
There was a problem hiding this comment.
Harlan Agent Kit posted this automated review. AI open source policy.
Automated Review: READY.
This was referenced Nov 12, 2026
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.
🔗 Linked issue
Related to #688
❓ Type of change
📚 Description
#688 slowed the skilld run sweep to a weekly or daily check. A check of an unchanged repository still writes a Resolution with about 60 KB of attestations and proves nothing new.
/api/skills/runnablenow returns each Skill'srevision, which is its repository'spushed_at. The sweep records the revision it checked in a newartifact_run_checks.checked_revisioncolumn (migration 0160, additive). A Skill is due again when that revision changes. Backstops cover a change in the checks themselves: 30 days for a ready Skill, 7 days for a failing one. Unchecked Skills and transient failures stay due at once.🤖 Generated with Claude Code