Skip to content

Remove untested remote backup functionality and dependency on paramiko #1217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2025

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented May 23, 2025

The built-in backup functionality had an option to specify are remote hostname to connect to via SFTP. This was never used by anyone and is not well-tested, so I believe it can safely be removed (as it is superseded by the borg functionality in the ansible playbooks).

Copy link

codecov bot commented May 23, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 71.41%. Comparing base (e46e1ba) to head (09d813a).
⚠️ Report is 76 commits behind head on main.

Files with missing lines Patch % Lines
pydatalab/src/pydatalab/backups.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1217      +/-   ##
==========================================
+ Coverage   71.02%   71.41%   +0.39%     
==========================================
  Files          66       66              
  Lines        4466     4440      -26     
==========================================
- Hits         3172     3171       -1     
+ Misses       1294     1269      -25     
Files with missing lines Coverage Δ
pydatalab/src/pydatalab/backups.py 62.96% <0.00%> (+14.36%) ⬆️
🚀 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.

@ml-evs ml-evs added refactoring For issues/PRs that refactor existing code/features server labels May 23, 2025
Copy link

cypress bot commented May 23, 2025

datalab    Run #3393

Run Properties:  status check passed Passed #3393  •  git commit c2d7a8d964 ℹ️: Merge 09d813a031565d7dc8f0bcda551b3214b236f0aa into e46e1bae9246c51b67a0eb9c114d...
Project datalab
Branch Review ml-evs/remove-remote-backups
Run status status check passed Passed #3393
Run duration 07m 43s
Commit git commit c2d7a8d964 ℹ️: Merge 09d813a031565d7dc8f0bcda551b3214b236f0aa into e46e1bae9246c51b67a0eb9c114d...
Committer Matthew Evans
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 504
View all changes introduced in this branch ↗︎

@ml-evs ml-evs merged commit f6aee3a into main May 23, 2025
17 checks passed
@ml-evs ml-evs deleted the ml-evs/remove-remote-backups branch May 23, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring For issues/PRs that refactor existing code/features server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant