Commit e491aac
authored
fix(providers/amazon): S3DagBundle does not delete stale dag recursively (#63104)
* Refactor S3Hook's local file synchronization logic to mach GCSHook. Update tests to cover nested directories and ensure proper logging of deleted files and directories.
* Update S3Hook logging level for deleted files and directories from info to debug to reduce log verbosity.1 parent 30524f8 commit e491aac
2 files changed
Lines changed: 27 additions & 21 deletions
File tree
- providers/amazon
- src/airflow/providers/amazon/aws/hooks
- tests/unit/amazon/aws/hooks
Lines changed: 13 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1735 | 1735 | | |
1736 | 1736 | | |
1737 | 1737 | | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
1750 | | - | |
1751 | | - | |
1752 | | - | |
1753 | | - | |
1754 | | - | |
1755 | | - | |
1756 | | - | |
1757 | | - | |
1758 | | - | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
1759 | 1751 | | |
1760 | 1752 | | |
1761 | 1753 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1870 | 1870 | | |
1871 | 1871 | | |
1872 | 1872 | | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
1873 | 1879 | | |
1874 | 1880 | | |
1875 | 1881 | | |
1876 | 1882 | | |
1877 | 1883 | | |
1878 | 1884 | | |
| 1885 | + | |
| 1886 | + | |
1879 | 1887 | | |
1880 | 1888 | | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
1881 | 1895 | | |
1882 | 1896 | | |
1883 | 1897 | | |
| |||
0 commit comments