Skip to content

refactor(physical-backup): Store checksum and size of file during backup

Codecov / codecov/patch failed Jan 23, 2025 in 1s

25.45% of diff hit (target 75.00%)

View this Pull Request on Codecov

25.45% of diff hit (target 75.00%)

Annotations

Check warning on line 332 in press/agent.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/agent.py#L332

Added line #L332 was not covered by tests

Check warning on line 342 in press/agent.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/agent.py#L342

Added line #L342 was not covered by tests

Check warning on line 392 in press/agent.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/agent.py#L392

Added line #L392 was not covered by tests

Check warning on line 466 in press/agent.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/agent.py#L465-L466

Added lines #L465 - L466 were not covered by tests

Check warning on line 478 in press/agent.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/agent.py#L478

Added line #L478 was not covered by tests

Check warning on line 488 in press/agent.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/agent.py#L487-L488

Added lines #L487 - L488 were not covered by tests

Check warning on line 500 in press/agent.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/agent.py#L500

Added line #L500 was not covered by tests

Check warning on line 1 in press/api/site_backup.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/api/site_backup.py#L1

Added line #L1 was not covered by tests

Check warning on line 3 in press/api/site_backup.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/api/site_backup.py#L3

Added line #L3 was not covered by tests

Check warning on line 10 in press/api/site_backup.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/api/site_backup.py#L9-L10

Added lines #L9 - L10 were not covered by tests

Check warning on line 24 in press/api/site_backup.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/api/site_backup.py#L17-L24

Added lines #L17 - L24 were not covered by tests

Check warning on line 29 in press/api/site_backup.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/api/site_backup.py#L26-L29

Added lines #L26 - L29 were not covered by tests

Check warning on line 31 in press/api/site_backup.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/api/site_backup.py#L31

Added line #L31 was not covered by tests

Check warning on line 1087 in press/press/doctype/agent_job/agent_job.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/agent_job/agent_job.py#L1087

Added line #L1087 was not covered by tests

Check warning on line 1089 in press/press/doctype/agent_job/agent_job.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/agent_job/agent_job.py#L1089

Added line #L1089 was not covered by tests

Check warning on line 1091 in press/press/doctype/agent_job/agent_job.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/agent_job/agent_job.py#L1091

Added line #L1091 was not covered by tests

Check warning on line 61 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L61

Added line #L61 was not covered by tests

Check warning on line 73 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L67-L73

Added lines #L67 - L73 were not covered by tests

Check warning on line 93 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L91-L93

Added lines #L91 - L93 were not covered by tests

Check warning on line 102 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L102

Added line #L102 was not covered by tests

Check warning on line 108 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L105-L108

Added lines #L105 - L108 were not covered by tests

Check warning on line 113 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L111-L113

Added lines #L111 - L113 were not covered by tests

Check warning on line 117 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L116-L117

Added lines #L116 - L117 were not covered by tests

Check warning on line 121 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L121

Added line #L121 was not covered by tests

Check warning on line 126 in press/press/doctype/physical_backup_restoration/physical_backup_restoration.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

press/press/doctype/physical_backup_restoration/physical_backup_restoration.py#L124-L126

Added lines #L124 - L126 were not covered by tests