Closed cmurphy closed 3 months ago
Attention: Patch coverage is 0%
with 94 lines
in your changes missing coverage. Please review.
Project coverage is 43.02%. Comparing base (
488eb97
) to head (b486afa
). Report is 173 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
cmd/copy-index/main.go | 0.00% | 92 Missing :warning: |
cmd/cleanup-index/main.go | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix the cleanup-index script for indexes with capitalized keys (e.g., workload identities for GitHub repositories with capital letters in the name).
Add a new script alongside the backfill script to copy indices directly from Redis to MySQL. This is created as a separate script from the backfill script because they are necessary for different purposes: backfill is appropriate for when there is no data in any search index backend and the only source of data is the Rekor API, where copy is apprpriate when there is index data in the Redis database to pull directly from. This enables the script to copy data that the backfill script would not be able to recreate because the data needed to generate the indexes is not always persisted to the Rekor API.
Summary
Release Note
Documentation