Skip to content

Conversation

@taurus-forever
Copy link
Contributor

@taurus-forever taurus-forever commented Jan 14, 2026

Issue

At the moment charm action list-backups executes minutes on S3 buckets with hundreds backups,
while some common backups have thousand of backups causing action timeout.

The often config is hold backups for 30 days with nightly full backup and incremental backup each 15 minutes.

Solution

List S3 content recursively for archive part only. It will be enough to generate Timelines list.
This will skip the biggest neighbor folder backups, which used to eat most of the time in _list_timelines().

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

@github-actions github-actions bot added the Libraries: Out of sync The charm libs used are out-of-sync label Jan 14, 2026
@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.74%. Comparing base (5c9d144) to head (b9eb027).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1375   +/-   ##
=======================================
  Coverage   75.74%   75.74%           
=======================================
  Files          17       17           
  Lines        4391     4391           
  Branches      667      667           
=======================================
  Hits         3326     3326           
  Misses        833      833           
  Partials      232      232           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@taurus-forever taurus-forever force-pushed the alutay/fast_list_backups branch from bd1cafe to b9eb027 Compare January 20, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Libraries: Out of sync The charm libs used are out-of-sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants