diff --git a/pyproject.toml b/pyproject.toml index 2a7428187..93c3a88eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,4 +83,4 @@ dev-dependencies = [ [tool.uv.sources] timestring = { git = "https://github.com/codecov/timestring", rev = "d37ceacc5954dff3b5bd2f887936a98a668dda42" } test-results-parser = { git = "https://github.com/codecov/test-results-parser", rev = "190bbc8a911099749928e13d5fe57f6027ca1e74" } -shared = { git = "https://github.com/codecov/shared", rev = "047822083396cc6e340ba799f68756e51a86ef65" } +shared = { git = "https://github.com/codecov/shared", rev = "8acbdc67b66c371cbcdfbbfef5296692899a42e5" } diff --git a/services/cleanup/tests/snapshots/relations__builds_delete_queries__owner.txt b/services/cleanup/tests/snapshots/relations__builds_delete_queries__owner.txt index e67394f72..95d38267a 100644 --- a/services/cleanup/tests/snapshots/relations__builds_delete_queries__owner.txt +++ b/services/cleanup/tests/snapshots/relations__builds_delete_queries__owner.txt @@ -190,21 +190,6 @@ WHERE "reports_reportresults"."report_id" IN WHERE U0."ownerid" IN (%s)))); --- ReportDetails -DELETE -FROM "reports_reportdetails" -WHERE "reports_reportdetails"."report_id" IN - (SELECT W0."id" - FROM "reports_commitreport" W0 - WHERE W0."commit_id" IN - (SELECT V0."id" - FROM "commits" V0 - WHERE V0."repoid" IN - (SELECT U0."repoid" - FROM "repos" U0 - WHERE U0."ownerid" IN (%s)))); - - -- ReportLevelTotals DELETE FROM "reports_reportleveltotals" @@ -304,18 +289,6 @@ WHERE "pulls"."repoid" IN WHERE U0."ownerid" IN (%s)); --- ProfilingUpload -DELETE -FROM "profiling_profilingupload" -WHERE "profiling_profilingupload"."profiling_commit_id" IN - (SELECT V0."id" - FROM "profiling_profilingcommit" V0 - WHERE V0."repoid" IN - (SELECT U0."repoid" - FROM "repos" U0 - WHERE U0."ownerid" IN (%s))); - - -- TestFlagBridge DELETE FROM "reports_test_results_flag_bridge" @@ -430,15 +403,6 @@ WHERE "staticanalysis_staticanalysissinglefilesnapshot"."repository_id" IN WHERE U0."ownerid" IN (%s)); --- ProfilingCommit -DELETE -FROM "profiling_profilingcommit" -WHERE "profiling_profilingcommit"."repoid" IN - (SELECT U0."repoid" - FROM "repos" U0 - WHERE U0."ownerid" IN (%s)); - - -- RepositoryFlag DELETE FROM "reports_repositoryflag" diff --git a/services/cleanup/tests/snapshots/relations__builds_delete_queries__repository.txt b/services/cleanup/tests/snapshots/relations__builds_delete_queries__repository.txt index ac6c76b30..4ee2d7b14 100644 --- a/services/cleanup/tests/snapshots/relations__builds_delete_queries__repository.txt +++ b/services/cleanup/tests/snapshots/relations__builds_delete_queries__repository.txt @@ -115,18 +115,6 @@ WHERE "reports_reportresults"."report_id" IN WHERE U0."repoid" IN (%s))); --- ReportDetails -DELETE -FROM "reports_reportdetails" -WHERE "reports_reportdetails"."report_id" IN - (SELECT V0."id" - FROM "reports_commitreport" V0 - WHERE V0."commit_id" IN - (SELECT U0."id" - FROM "commits" U0 - WHERE U0."repoid" IN (%s))); - - -- ReportLevelTotals DELETE FROM "reports_reportleveltotals" @@ -205,15 +193,6 @@ FROM "pulls" WHERE "pulls"."repoid" IN (%s); --- ProfilingUpload -DELETE -FROM "profiling_profilingupload" -WHERE "profiling_profilingupload"."profiling_commit_id" IN - (SELECT U0."id" - FROM "profiling_profilingcommit" U0 - WHERE U0."repoid" IN (%s)); - - -- TestFlagBridge DELETE FROM "reports_test_results_flag_bridge" @@ -292,12 +271,6 @@ FROM "staticanalysis_staticanalysissinglefilesnapshot" WHERE "staticanalysis_staticanalysissinglefilesnapshot"."repository_id" IN (%s); --- ProfilingCommit -DELETE -FROM "profiling_profilingcommit" -WHERE "profiling_profilingcommit"."repoid" IN (%s); - - -- RepositoryFlag DELETE FROM "reports_repositoryflag" diff --git a/uv.lock b/uv.lock index 6ec5799d3..dec8a07db 100644 --- a/uv.lock +++ b/uv.lock @@ -1,4 +1,5 @@ version = 1 +revision = 1 requires-python = "==3.13.*" resolution-markers = [ "platform_python_implementation != 'PyPy'", @@ -1307,8 +1308,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/39/1b/d0b013bf7d1af7cf0a6a4fce13f5fe5813ab225313755367b36e714a63f8/pycryptodome-3.21.0-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:18caa8cfbc676eaaf28613637a89980ad2fd96e00c564135bf90bc3f0b34dd93", size = 2254397 }, { url = "https://files.pythonhosted.org/packages/14/71/4cbd3870d3e926c34706f705d6793159ac49d9a213e3ababcdade5864663/pycryptodome-3.21.0-cp36-abi3-win32.whl", hash = "sha256:280b67d20e33bb63171d55b1067f61fbd932e0b1ad976b3a184303a3dad22764", size = 1775641 }, { url = "https://files.pythonhosted.org/packages/43/1d/81d59d228381576b92ecede5cd7239762c14001a828bdba30d64896e9778/pycryptodome-3.21.0-cp36-abi3-win_amd64.whl", hash = "sha256:b7aa25fc0baa5b1d95b7633af4f5f1838467f1815442b22487426f94e0d66c53", size = 1812863 }, - { url = "https://files.pythonhosted.org/packages/25/b3/09ff7072e6d96c9939c24cf51d3c389d7c345bf675420355c22402f71b68/pycryptodome-3.21.0-pp27-pypy_73-manylinux2010_x86_64.whl", hash = "sha256:2cb635b67011bc147c257e61ce864879ffe6d03342dc74b6045059dfbdedafca", size = 1691593 }, - { url = "https://files.pythonhosted.org/packages/a8/91/38e43628148f68ba9b68dedbc323cf409e537fd11264031961fd7c744034/pycryptodome-3.21.0-pp27-pypy_73-win32.whl", hash = "sha256:4c26a2f0dc15f81ea3afa3b0c87b87e501f235d332b7f27e2225ecb80c0b1cdd", size = 1765997 }, ] [[package]] @@ -1702,7 +1701,7 @@ wheels = [ [[package]] name = "shared" version = "0.1.0" -source = { git = "https://github.com/codecov/shared?rev=047822083396cc6e340ba799f68756e51a86ef65#047822083396cc6e340ba799f68756e51a86ef65" } +source = { git = "https://github.com/codecov/shared?rev=8acbdc67b66c371cbcdfbbfef5296692899a42e5#8acbdc67b66c371cbcdfbbfef5296692899a42e5" } dependencies = [ { name = "amplitude-analytics" }, { name = "boto3" }, @@ -2041,7 +2040,7 @@ requires-dist = [ { name = "regex", specifier = ">=2023.12.25" }, { name = "requests", specifier = ">=2.32.0" }, { name = "sentry-sdk", specifier = ">=2.13.0" }, - { name = "shared", git = "https://github.com/codecov/shared?rev=047822083396cc6e340ba799f68756e51a86ef65" }, + { name = "shared", git = "https://github.com/codecov/shared?rev=8acbdc67b66c371cbcdfbbfef5296692899a42e5" }, { name = "sqlalchemy", specifier = "==1.3.*" }, { name = "sqlparse", specifier = "==0.5.0" }, { name = "statsd", specifier = ">=3.3.0" },