Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit ad52223

Browse files
authored
Update shared, updating the DB relation snapshots (#1195)
1 parent 0c4ebb1 commit ad52223

File tree

4 files changed

+4
-68
lines changed

4 files changed

+4
-68
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ dev-dependencies = [
8383
[tool.uv.sources]
8484
timestring = { git = "https://github.com/codecov/timestring", rev = "d37ceacc5954dff3b5bd2f887936a98a668dda42" }
8585
test-results-parser = { git = "https://github.com/codecov/test-results-parser", rev = "190bbc8a911099749928e13d5fe57f6027ca1e74" }
86-
shared = { git = "https://github.com/codecov/shared", rev = "047822083396cc6e340ba799f68756e51a86ef65" }
86+
shared = { git = "https://github.com/codecov/shared", rev = "8acbdc67b66c371cbcdfbbfef5296692899a42e5" }

services/cleanup/tests/snapshots/relations__builds_delete_queries__owner.txt

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -190,21 +190,6 @@ WHERE "reports_reportresults"."report_id" IN
190190
WHERE U0."ownerid" IN (%s))));
191191

192192

193-
-- ReportDetails
194-
DELETE
195-
FROM "reports_reportdetails"
196-
WHERE "reports_reportdetails"."report_id" IN
197-
(SELECT W0."id"
198-
FROM "reports_commitreport" W0
199-
WHERE W0."commit_id" IN
200-
(SELECT V0."id"
201-
FROM "commits" V0
202-
WHERE V0."repoid" IN
203-
(SELECT U0."repoid"
204-
FROM "repos" U0
205-
WHERE U0."ownerid" IN (%s))));
206-
207-
208193
-- ReportLevelTotals
209194
DELETE
210195
FROM "reports_reportleveltotals"
@@ -304,18 +289,6 @@ WHERE "pulls"."repoid" IN
304289
WHERE U0."ownerid" IN (%s));
305290

306291

307-
-- ProfilingUpload
308-
DELETE
309-
FROM "profiling_profilingupload"
310-
WHERE "profiling_profilingupload"."profiling_commit_id" IN
311-
(SELECT V0."id"
312-
FROM "profiling_profilingcommit" V0
313-
WHERE V0."repoid" IN
314-
(SELECT U0."repoid"
315-
FROM "repos" U0
316-
WHERE U0."ownerid" IN (%s)));
317-
318-
319292
-- TestFlagBridge
320293
DELETE
321294
FROM "reports_test_results_flag_bridge"
@@ -430,15 +403,6 @@ WHERE "staticanalysis_staticanalysissinglefilesnapshot"."repository_id" IN
430403
WHERE U0."ownerid" IN (%s));
431404

432405

433-
-- ProfilingCommit
434-
DELETE
435-
FROM "profiling_profilingcommit"
436-
WHERE "profiling_profilingcommit"."repoid" IN
437-
(SELECT U0."repoid"
438-
FROM "repos" U0
439-
WHERE U0."ownerid" IN (%s));
440-
441-
442406
-- RepositoryFlag
443407
DELETE
444408
FROM "reports_repositoryflag"

services/cleanup/tests/snapshots/relations__builds_delete_queries__repository.txt

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,6 @@ WHERE "reports_reportresults"."report_id" IN
115115
WHERE U0."repoid" IN (%s)));
116116

117117

118-
-- ReportDetails
119-
DELETE
120-
FROM "reports_reportdetails"
121-
WHERE "reports_reportdetails"."report_id" IN
122-
(SELECT V0."id"
123-
FROM "reports_commitreport" V0
124-
WHERE V0."commit_id" IN
125-
(SELECT U0."id"
126-
FROM "commits" U0
127-
WHERE U0."repoid" IN (%s)));
128-
129-
130118
-- ReportLevelTotals
131119
DELETE
132120
FROM "reports_reportleveltotals"
@@ -205,15 +193,6 @@ FROM "pulls"
205193
WHERE "pulls"."repoid" IN (%s);
206194

207195

208-
-- ProfilingUpload
209-
DELETE
210-
FROM "profiling_profilingupload"
211-
WHERE "profiling_profilingupload"."profiling_commit_id" IN
212-
(SELECT U0."id"
213-
FROM "profiling_profilingcommit" U0
214-
WHERE U0."repoid" IN (%s));
215-
216-
217196
-- TestFlagBridge
218197
DELETE
219198
FROM "reports_test_results_flag_bridge"
@@ -292,12 +271,6 @@ FROM "staticanalysis_staticanalysissinglefilesnapshot"
292271
WHERE "staticanalysis_staticanalysissinglefilesnapshot"."repository_id" IN (%s);
293272

294273

295-
-- ProfilingCommit
296-
DELETE
297-
FROM "profiling_profilingcommit"
298-
WHERE "profiling_profilingcommit"."repoid" IN (%s);
299-
300-
301274
-- RepositoryFlag
302275
DELETE
303276
FROM "reports_repositoryflag"

uv.lock

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)