Skip to content

Conversation

@julio-lopez
Copy link
Collaborator

@julio-lopez julio-lopez commented Oct 2, 2025

Prevent running "auto-maintenance" on snapshot create.

Ref:

Context: the test fails because there are concurrent "endurance" runners and each of these advances the clock, some of them significantly (action{Small,Medium,Large}ClockJump), which causes the clock skewness check to fail when (auto-)maintenance runs. The test maintenance action does not run into this issue because it runs exclusively on its own, that is, other actions have to wait until maintenance completes.

@codecov
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.82%. Comparing base (cb455c6) to head (ea29d59).
⚠️ Report is 675 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4859      +/-   ##
==========================================
+ Coverage   75.86%   76.82%   +0.95%     
==========================================
  Files         470      535      +65     
  Lines       37301    40932    +3631     
==========================================
+ Hits        28299    31444    +3145     
- Misses       7071     7445     +374     
- Partials     1931     2043     +112     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Prevent running "auto-maintenance" on snapshot create.

Ref:
- kopia#4851
@julio-lopez
Copy link
Collaborator Author

@julio-lopez julio-lopez marked this pull request as ready for review October 2, 2025 01:29
Copilot AI review requested due to automatic review settings October 2, 2025 01:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes endurance test failures by preventing auto-maintenance from running during snapshot creation operations. The issue was caused by concurrent endurance test runners advancing the clock significantly, which triggered clock skewness failures when auto-maintenance ran during snapshot operations.

  • Added --no-auto-maintenance flag to snapshot create commands in endurance tests
  • Prevents concurrent clock advancement conflicts between test runners and auto-maintenance

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@julio-lopez julio-lopez merged commit 36508f9 into kopia:master Oct 2, 2025
28 checks passed
@julio-lopez julio-lopez deleted the poc/endurance-test branch October 2, 2025 01:30
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