Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
e340b4e
chore: Update file content log for slightly easier debugging (#1171)
ajay-sentry Feb 21, 2025
6c0f1a6
Correct the types needed to `delete_multiple_sessions` (#1100)
Swatinem Feb 24, 2025
47145c7
Consolidate implementation of `_process_totals` (#523)
Swatinem Feb 24, 2025
cbc1fa2
Log `flag_pattern_matching` usage (#524)
Swatinem Feb 24, 2025
ecb2230
Add a benchmark for `apply_diff` (#525)
Swatinem Feb 24, 2025
9f05da4
Remove unused `ReadOnlyReport.append` (#526)
Swatinem Feb 24, 2025
fbcf63b
chore: Update shared to e6906af (#1170)
spalmurray-codecov Feb 24, 2025
ffc06a7
Revert "fix: archive service bug in sentry (#521)" (#529)
joseph-sentry Feb 24, 2025
2101b5f
deps: update shared (#1172)
joseph-sentry Feb 24, 2025
71c1b4e
feat: remove flake detection feature flags (#1102)
joseph-sentry Feb 24, 2025
ab43c01
[feat] Enable pagination for AI enabled repos (#1101)
rohitvinnakota-codecov Feb 24, 2025
a077253
feat: New properties for owner repos (#1168)
calvin-codecov Feb 24, 2025
dc1e6fa
fix: Update default plan value on owner model to DEFAULT_PLAN_VAL (#1…
ajay-sentry Feb 25, 2025
a6b6c75
Do not double-filter Reports in `ReportPaths` (#1159)
Swatinem Feb 25, 2025
92f984b
Update shared (#1104)
Swatinem Feb 25, 2025
ff258db
Remove unused filtering code from `Report/File` (#527)
Swatinem Feb 25, 2025
7913ffd
fix: remove storage service abstraction (#530)
joseph-sentry Feb 25, 2025
c5fc723
fix: Make PathContent's path non-nullable (#1174)
spalmurray-codecov Feb 25, 2025
3d7c308
Consolidate implementation of `calculate_diff` (#528)
Swatinem Feb 26, 2025
e735213
Make some benchmark code more explicit (#536)
Swatinem Feb 26, 2025
31a21e4
Micro-optimize `_line` parser (#538)
Swatinem Feb 26, 2025
e7bc335
Port `change_sessionid` from `worker` (#537)
Swatinem Feb 26, 2025
8f6b917
Make `api_archive` mockable again (#540)
Swatinem Feb 26, 2025
b0a31b9
Migrate to uv (#1098)
michelletran-sentry Feb 26, 2025
26156a0
Set `complexity/_total` to `None` in diff calculation (#539)
Swatinem Feb 26, 2025
8abf30d
feat: Make Amplitude publish fail gracefully (#531)
spalmurray-codecov Feb 26, 2025
f1400b7
fix fi: add fetch-depth: 2 to checkout step to fix codecov (#545)
matt-codecov Feb 26, 2025
6d79062
add get_repo_provider_service fn to base task (#1107)
matt-codecov Feb 26, 2025
cc401c7
move upload task to get_repo_provider_service wrapper (#1108)
matt-codecov Feb 27, 2025
0175e99
move sync_repos_languages task to get_repo_provider_service wrapper (…
matt-codecov Feb 27, 2025
c0fe567
fix: TA should read comment config value (#1111)
joseph-sentry Feb 27, 2025
7141bd8
fix: process flakes task redis lock and key (#1101)
joseph-sentry Feb 27, 2025
b7a81d8
Adjust call used in comparison file to avoid provider api call (#1176)
adrian-codecov Feb 27, 2025
ab54240
create coverage data in monorepo-friendly way (#1178)
matt-codecov Feb 27, 2025
ca2c93d
generate test coverage+results in a monorepo-friendly way (#1105)
matt-codecov Feb 27, 2025
cfb4588
deps: update shared (#1173)
joseph-sentry Feb 27, 2025
4495fcc
create coverage data in monorepo-friendly way (#532)
matt-codecov Feb 27, 2025
36e1531
dev: Fix lint on local with lint.local (#1113)
ajay-sentry Feb 27, 2025
1951065
Update `shared` again, removing `change_sessionid` (#1110)
Swatinem Feb 28, 2025
3cb5cc6
Merge `EditableReportFile` into `ReportFile` (#548)
Swatinem Feb 28, 2025
bc048ce
refactor: use dict {} syntax for typing (#541)
joseph-sentry Feb 28, 2025
779d58c
chore: remove TA BQ code (#1083)
joseph-sentry Feb 28, 2025
d0c32bd
add max age to cookie (#1179)
nora-shap Feb 28, 2025
d5c2f85
Unpin `vcrpy` (#1115)
Swatinem Mar 3, 2025
fa49190
Merge `EditableReport` into `Report` (#549)
Swatinem Mar 3, 2025
513ca1e
Update shared for `Editable/Report` changes (#1114)
Swatinem Mar 3, 2025
3f94ecf
fix: improve new minio implementation (#546)
joseph-sentry Mar 3, 2025
2de0833
Enable timeseries tests, differently (#1184)
Swatinem Mar 3, 2025
8220c90
fix: Avoid key-error when inserting asset chunks (#550)
ajay-sentry Mar 3, 2025
978f4f3
dev: Migrate from pip-compile to uv (#1177)
ajay-sentry Mar 3, 2025
c649f20
chore: remove previous code (#1116)
joseph-sentry Mar 3, 2025
44a1d92
Enable timeseries tests, differently (#1120)
Swatinem Mar 3, 2025
55ddb1d
Improve performance time for ImpactedFiles resolver (#1181)
adrian-codecov Mar 3, 2025
284e3a0
deps: update shared (#1186)
joseph-sentry Mar 3, 2025
0efb89f
increment version (#551)
nora-shap Mar 3, 2025
02de630
ref: Remove isCriticalFile and profilingToken from GQL API (#1188)
ajay-sentry Mar 3, 2025
7970095
Release 25.3.3 (#1185)
codecov-releaser Mar 3, 2025
1701116
Release 25.3.3 (#1121)
codecov-releaser Mar 3, 2025
03e821c
fix: Pass in uv-lock for self-hosted cache image stuff (#1123)
ajay-sentry Mar 4, 2025
3befee6
Release 25.3.4 (#1124)
codecov-releaser Mar 4, 2025
42db629
feat: create testruns model in timeseries app (#508)
joseph-sentry Mar 4, 2025
d231894
fix: Add collectstatic back to dockerfile (#1192)
ajay-sentry Mar 4, 2025
b2d7e60
Set bot on owner even if bot name hasn't changed (#1193)
michelletran-sentry Mar 4, 2025
8272688
feat: Track Upload Sent events for Coverage/BA/TA (#1162)
spalmurray-codecov Mar 4, 2025
c5a315f
Revert "feat: Track Upload Sent events for Coverage/BA/TA (#1162)" (#…
spalmurray-codecov Mar 4, 2025
d71d6d4
remove ci (#1125)
jason-ford-codecov Mar 4, 2025
ff16007
Update shared for minio changes (#1126)
Swatinem Mar 5, 2025
ffe83ed
Remove usage of `_chunks` from tests (#1189)
Swatinem Mar 5, 2025
b2da075
Switch benchmarks back to instrumentation mode (#555)
Swatinem Mar 5, 2025
fe9e857
Move `ReportFile` into its own file (#552)
Swatinem Mar 5, 2025
8ba4252
Forward `get_flag_names` for the `ReadOnlyReport` (#556)
Swatinem Mar 5, 2025
60d34c6
feat: TA/BA Comment Messaging (#1118)
ajay-sentry Mar 5, 2025
c8c82d3
fix: TA re-run processing summary (#1127)
joseph-sentry Mar 5, 2025
28499c1
Integrate overwatch to CI (#1201)
JerrySentry Mar 6, 2025
21004af
Integrate overwatch to CI (#1128)
JerrySentry Mar 6, 2025
428815d
Integrate overwatch to CI (#557)
JerrySentry Mar 6, 2025
1af1a14
fix: TA tokenless uploads (#1187)
joseph-sentry Mar 6, 2025
bbd9a55
Create a new `serialize_report` fn (#554)
Swatinem Mar 10, 2025
c084289
Stop advertising ATS (#1132)
Swatinem Mar 10, 2025
87ca118
debug: Add debug log to token refresh logic (#561)
spalmurray-codecov Mar 10, 2025
168be7c
chore: instrument minio read_file and write_file (#558)
joseph-sentry Mar 10, 2025
db1f1bb
chore: fix minio config defaults (#562)
joseph-sentry Mar 10, 2025
ad22222
test: add tests for api_archive (#559)
joseph-sentry Mar 10, 2025
adc5a59
ref: Change name of Upload Sent event to Upload Received (#564)
spalmurray-codecov Mar 10, 2025
a291d09
Use `get_flag_names` more consistently (#1191)
Swatinem Mar 11, 2025
b29e1f0
Remove a bunch of duplicated tests (#560)
Swatinem Mar 11, 2025
1a8dc09
create utils for accessing testrun timescale models (#1078)
joseph-sentry Mar 11, 2025
d9e7b40
fix: dedup by computed_name (#1200)
joseph-sentry Mar 11, 2025
2a3ce16
chore: add prom metrics to minio storage service (#565)
joseph-sentry Mar 11, 2025
821ebdd
feat: add repoid idx on test instances (#566)
joseph-sentry Mar 11, 2025
3fc7ec0
deps: update shared (#1133)
joseph-sentry Mar 12, 2025
617ef90
Revert "chore: fix minio config defaults (#562)" (#567)
Swatinem Mar 12, 2025
f58d4a8
Update `shared` once again (#1134)
Swatinem Mar 12, 2025
d591093
"Fix" errors calling `get_flag_names` on `None` (#1207)
Swatinem Mar 12, 2025
39aebb8
Only benchmark the `Report` class (#568)
Swatinem Mar 12, 2025
2428ee2
fix: pass impl_type arg to TA tasks instead of new_impl (#1122)
joseph-sentry Mar 12, 2025
e663c8f
chore: Update shared to 82e98e5 (#1205)
spalmurray-codecov Mar 12, 2025
0a11bbe
remove SQL metrics from worker tasks (#1136)
matt-codecov Mar 12, 2025
950e47b
fix: pass repoid to get_appropriate_storage_service (#1209)
joseph-sentry Mar 12, 2025
c46ca01
Hardcode the new minio write implementation (#569)
Swatinem Mar 13, 2025
b7b2d53
Remove usage of additional `Report.get` arguments (#1137)
Swatinem Mar 13, 2025
6dd6347
Do the update `shared` dance (#1138)
Swatinem Mar 13, 2025
d77e3ac
fix: remove test_analytics database (#574)
joseph-sentry Mar 13, 2025
2462c43
feat: Allow PRs from sentry-autofix[bot] without seat (#1143)
spalmurray-codecov Mar 13, 2025
344664b
Remove usage of additional `Report.get` arguments (#1210)
Swatinem Mar 14, 2025
61d6486
deps: update shared (#1141)
joseph-sentry Mar 14, 2025
5160ed6
Merge the `Report._files/_chunks` (#553)
Swatinem Mar 17, 2025
2b3e4eb
Clean up Storage code (#570)
Swatinem Mar 17, 2025
cf3105f
Replace usage of `TransactionTestCase` (#1183)
Swatinem Mar 17, 2025
50346db
feat: Track Upload Sent events for Coverage/BA/TA (attempt 2) (#1195)
spalmurray-codecov Mar 17, 2025
36061e0
Fix `report_lock` TTL (#1147)
Swatinem Mar 17, 2025
54bf077
Revert split tests (#1213)
Swatinem Mar 17, 2025
3ee8b1a
Refactor PR message section logic (#1148)
Swatinem Mar 18, 2025
5631146
Switch to the new `Report.serialize` implementation (#1139)
Swatinem Mar 18, 2025
aa95aac
Remove `codecovopentelem` integration (#1212)
Swatinem Mar 18, 2025
d6bcbf7
Remove more unused `Report` code, change serde code to use `str` (#575)
Swatinem Mar 18, 2025
22f2dff
remove overwatch (#576)
giovanni-guidini Mar 18, 2025
323c7a3
Update shared (#1217)
Swatinem Mar 18, 2025
8809446
types: don't use db model in test results notif (#1146)
joseph-sentry Mar 18, 2025
b52ba61
chore: Remove debug email from billing emails logic (#1218)
spalmurray-codecov Mar 18, 2025
9483139
remove exposure logging from Feature (#573)
matt-codecov Mar 18, 2025
cfe851e
Update upload-overwatch.yml (#1215)
giovanni-guidini Mar 19, 2025
aec7519
Don't install ssl, working towards not having this be required. (#1149)
tnt-sentry Mar 19, 2025
10b1ca5
Explicitly commit after `save_patch_totals` (#1154)
Swatinem Mar 19, 2025
edc961c
update shared (#1151)
matt-codecov Mar 19, 2025
d14fcc8
update shared (#1219)
matt-codecov Mar 19, 2025
5e512c7
fix: replace NaN values in deduped TA table (#1211)
joseph-sentry Mar 19, 2025
33ef9a8
stop disabling django autocommit (#1152)
matt-codecov Mar 19, 2025
a147c62
feat: add new ta_timeseries app (#577)
joseph-sentry Mar 19, 2025
193d73e
fix: replace error from parser lib with failure (#1144)
joseph-sentry Mar 19, 2025
1783a44
fix: ta finisher calls process flakes properly (#1145)
joseph-sentry Mar 19, 2025
1c4aaf5
types: make TA notification payload generic (#1142)
joseph-sentry Mar 19, 2025
1aeee06
add impersonation styling to django admin (#1214)
nora-shap Mar 19, 2025
cd618d7
fix: Capture uploads for upload-only endpoint also (#1223)
spalmurray-codecov Mar 19, 2025
8db5052
Revert "Report caching", and remove `build_report` fn (#578)
Swatinem Mar 20, 2025
2fec634
Allow unrolling subqueries in cleanup task (#1156)
Swatinem Mar 20, 2025
2369efb
Replace usage of `EditableReport` with `Report` (#1155)
Swatinem Mar 20, 2025
9bcbee0
fix: quick fix (#579)
joseph-sentry Mar 20, 2025
4fc2455
chore: improve activation logging (#1228)
drazisil-codecov Mar 20, 2025
6dbc5fc
make all tests assume the same default bucket name (#1157)
matt-codecov Mar 20, 2025
f2603d7
Remove tests for `build_report` (#1222)
Swatinem Mar 20, 2025
4084833
test: fix flaky TA timescale test (#1160)
joseph-sentry Mar 20, 2025
b6f8c2f
read test bucket name from config instead of hardcoding (#1224)
matt-codecov Mar 20, 2025
ea10e8f
magic numbers (#1229)
nora-shap Mar 20, 2025
74935d7
fix emoji references (#1161)
nora-shap Mar 20, 2025
329e895
fix: Nonsentry user on sentry plan should be able to update plan (#580)
ajay-sentry Mar 20, 2025
79be0c6
Reorder trace annotations (#1227)
Swatinem Mar 21, 2025
c8a709e
Batch triggering timeseries backfills (#1221)
Swatinem Mar 21, 2025
f00a091
Avoid an unnecessary async indirection (#1226)
Swatinem Mar 21, 2025
3d62780
Hard-enable the `RustReport` (#582)
Swatinem Mar 21, 2025
5411ce8
deps: update shared (#1150)
joseph-sentry Mar 21, 2025
0dc115f
fix: impl_type detected in upload.py (#1159)
joseph-sentry Mar 21, 2025
c210748
Remove `get_changes_using_rust` usage (#1164)
Swatinem Mar 21, 2025
e682b73
Remove the `get_changes_using_rust` fn (#584)
Swatinem Mar 21, 2025
1b355fb
Pin `mypy` GHA workflow to common version (#1166)
Swatinem Mar 21, 2025
a7f3beb
Remove `should_load_rust_version` mocks (#1163)
Swatinem Mar 21, 2025
00d72e7
feat: new TA processor implementation (#1117)
joseph-sentry Mar 21, 2025
bc2afd8
dev: Bump shared to latest (#1230)
ajay-sentry Mar 21, 2025
7675907
emit junit results in a monorepo-friendly way (#581)
matt-codecov Mar 21, 2025
2a5bb9a
Bundle analysis: carryforward at most once per commit (#1131)
JerrySentry Mar 21, 2025
de2a411
emit junit results in a monorepo-friendly way (#1162)
matt-codecov Mar 21, 2025
26544de
emit junit results in a monorepo-friendly way (#1231)
matt-codecov Mar 21, 2025
fb29a29
fix: update migrate-timeseries.sh (#1167)
joseph-sentry Mar 21, 2025
5ea22da
Update API to Python 3.13 (#1232)
Swatinem Mar 24, 2025
524e902
Update the python version, and `uv.lock` (#547)
Swatinem Mar 24, 2025
b918d4b
Remove unused `Profiling*Analyzer` code (#583)
Swatinem Mar 24, 2025
87a3977
fix: process flakes (#1171)
joseph-sentry Mar 24, 2025
f8ea178
Django admin impersonation styling part II (#1234)
nora-shap Mar 24, 2025
c1fcfe4
feat: Add bundle badge svgs (#1235)
spalmurray Mar 24, 2025
9d3aefb
fix: add TA app to INSTALLED_APPS (#1172)
joseph-sentry Mar 24, 2025
ceeee94
feat: Add component filter to badges (#1216)
spalmurray-codecov Mar 25, 2025
9e5b564
Revert "Bundle analysis: carryforward at most once per commit (#1131)…
Swatinem Mar 25, 2025
9474f7e
feat: implement flake processing using timeseries models (#1140)
joseph-sentry Mar 25, 2025
002474e
feat: implement cache rollup task using TA timeseries models (#1135)
joseph-sentry Mar 25, 2025
7152171
fix: Tweak bundle badge (#1236)
spalmurray Mar 25, 2025
3b804a0
magic numbers II (#1242)
nora-shap Mar 25, 2025
2b58cfa
Document broken branch merging logic (#585)
Swatinem Mar 26, 2025
f2edc48
Update shared (#1169)
Swatinem Mar 26, 2025
7eb8b74
tests: create TestrunFactory (#586)
joseph-sentry Mar 26, 2025
f46a0be
fix: handle None diffs in coverage change checks (#1175)
seer-by-sentry[bot] Mar 26, 2025
17bb673
Move debugging test (#1176)
Swatinem Mar 27, 2025
51bde57
tests: fix sql_alchemy_db fixture for timescale (#1177)
joseph-sentry Mar 27, 2025
57e3740
build: update shared (#1178)
joseph-sentry Mar 27, 2025
4cd34bb
tests: move custom_config fixture to conftest (#1179)
joseph-sentry Mar 27, 2025
0a30fe2
fix: update test results finisher to split out old impl (#1182)
joseph-sentry Mar 27, 2025
3fff052
fix: ta_timeseries flake set and dict (#1180)
joseph-sentry Mar 27, 2025
864339a
feat: Create API for bundle size badges (#1239)
spalmurray Mar 27, 2025
6762bf6
Bundle Analysis: Fix handling non-existent dynamic assets (#589)
JerrySentry Mar 27, 2025
259b9f4
Bundle Analysis: dedupe caching processing (#1184)
JerrySentry Mar 27, 2025
c1a2dd8
fix: update get_ta_url to handle null branch (#1181)
joseph-sentry Mar 28, 2025
15c927b
Bundle Analysis: Remove logging noise from retries (#1186)
JerrySentry Mar 28, 2025
511c3ef
fix: Use default free plan const instead of specific plan (#591)
calvin-codecov Mar 28, 2025
606e9ac
Refactor and simplify notification logic a bit (#1185)
Swatinem Mar 31, 2025
d4d0e95
Remove the unused `ReportDetailsFactory` (#1259)
Swatinem Mar 31, 2025
0e728d1
Remove references to obsolete `ReportDetails` and `ProfilingUpload` (…
Swatinem Mar 31, 2025
4e6026c
chore: add TA metrics to grafana (#1188)
joseph-sentry Mar 31, 2025
d2e055a
Emit owner/repo/commit tags for GraphQL queries (#1254)
Swatinem Mar 31, 2025
de77214
Bundle Analysis: Add metric label for upload result (#1255)
JerrySentry Mar 31, 2025
d878e23
fix: test results finisher bug (#1183)
joseph-sentry Mar 31, 2025
9d02102
fix(ta): pass impl_type in finisher (#1187)
joseph-sentry Mar 31, 2025
740ad95
fix: Fix query for is_first_pull_request (#1258)
suejungshin Mar 31, 2025
b378159
fix: sync repo languages also syncs forked repos (#593)
JerrySentry Mar 31, 2025
b45a30a
update shared (#1194)
JerrySentry Mar 31, 2025
aa53281
dev: bump shared to latest (#1256)
calvin-codecov Mar 31, 2025
1e09f52
feat: remove test_id from test_results in GQL (#1257)
joseph-sentry Mar 31, 2025
d22d5ae
Drop obsolete `ReportDetails` and `Profiling*` tables (#592)
Swatinem Apr 1, 2025
775e416
Make benchmarks resilient to CWD changes (#594)
Swatinem Apr 1, 2025
28e1772
Remove test for unused `get_aggregated_coverage` QuerySet (#1262)
Swatinem Apr 1, 2025
0924c38
feat: add metadata to MinioStorageService (#590)
joseph-sentry Apr 1, 2025
3bf502f
Remove unused `get_aggregated_coverage` QuerySet combinator (#595)
Swatinem Apr 1, 2025
8ced635
Update shared, updating the DB relation snapshots (#1195)
Swatinem Apr 1, 2025
c8c19f5
Optimize `fetch_repository` resolver (#1261)
Swatinem Apr 1, 2025
058850a
monthly release (#596)
nora-shap Apr 1, 2025
95b3f6d
Release 25.4.1 (#1201)
codecov-releaser Apr 2, 2025
3a64cdb
Move trace annotation to correct fn (#1265)
Swatinem Apr 2, 2025
609b360
Prefix redis cache keys with `cache:` (#1203)
Swatinem Apr 2, 2025
d648f98
fix: change cache_test_rollups to use repo_id (#1196)
joseph-sentry Apr 2, 2025
bf9e20e
fix: sync repo languages also syncs forked repos (#599)
JerrySentry Apr 2, 2025
85b09cb
Expose a `cache` instance from `shared.helpers.cache` (#597)
Swatinem Apr 2, 2025
59d9dbe
Avoid N+1 queries fetching `Upload.errors` (#1263)
Swatinem Apr 2, 2025
718762f
fix: remove process flakes commit_sha arg (#1199)
joseph-sentry Apr 2, 2025
610fbb8
Release 25.4.1 (#1264)
codecov-releaser Apr 2, 2025
bbe3d48
update shared (#1204)
JerrySentry Apr 2, 2025
b804868
Use the `cache` instance directly from `shared` (#1202)
Swatinem Apr 3, 2025
6d2310f
Use `cache` instance directly from `shared` (#1266)
Swatinem Apr 3, 2025
f57e182
Replace `torngit_cache` with the regular one (#598)
Swatinem Apr 3, 2025
a1b9b26
Correct kwarg for `get_github_integration_token` (#1268)
Swatinem Apr 3, 2025
e601fe5
fix: stop sending commit id to process flakes task (#1200)
joseph-sentry Apr 3, 2025
1af6414
fix: step 2 of changing cache task args (#1197)
joseph-sentry Apr 3, 2025
c1ed5dc
Bundle Analysis: fix trends when no data in query range (#1267)
JerrySentry Apr 3, 2025
d91a436
Improve BaseLoader and other type annotations (#1269)
Swatinem Apr 4, 2025
79df7f2
Cache more GitHub requests (#600)
Swatinem Apr 4, 2025
f6ae097
Preload the `{coverage,bundle}Status` for commits (#1270)
Swatinem Apr 4, 2025
305783a
Use the `CommitLoader` for `bundleAnalysisCompareWithParent` (#1271)
Swatinem Apr 4, 2025
c6273b1
fix: step 3 of changing cache task args (#1198)
joseph-sentry Apr 4, 2025
a7aa28d
allow Makefile vars including REQUIREMENTS_TAG to be overridden
matt-codecov Apr 4, 2025
8826d04
allow Makefile vars including REQUIREMENTS_TAG to be overridden
matt-codecov Apr 4, 2025
1bebb11
tweak absorb repo script to handle subdirs that already exist
matt-codecov Mar 31, 2025
a9f79f7
add custom requirements image, Makefile commands to build images with…
matt-codecov Apr 4, 2025
0e9b9d9
use latest minio image to fix shared tests
matt-codecov Apr 4, 2025
fbaf0a8
update ci to use makefile target prefixes instead of working_directory
matt-codecov Apr 4, 2025
0a61e0e
Removing existing libs/shared to make room to absorb shared
matt-codecov Apr 8, 2025
26283ff
Merge branch 'shared-main' into matt/absorb-dry-run-clean
matt-codecov Apr 8, 2025
0ad4cc3
DO NOT MERGE: hack different branch name in
matt-codecov Apr 8, 2025
0e5341a
Removing existing apps/worker to make room to absorb worker
matt-codecov Apr 8, 2025
6927c47
Merge branch 'worker-main' into matt/absorb-dry-run-clean
matt-codecov Apr 8, 2025
bdb8f3c
use local shared for worker
matt-codecov Apr 8, 2025
83cfe49
Removing existing apps/codecov-api to make room to absorb codecov-api
matt-codecov Apr 8, 2025
bc9c51a
Merge branch 'codecov-api-main' into matt/absorb-dry-run-clean
matt-codecov Apr 8, 2025
d1f03fc
use local shared for api
matt-codecov Apr 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 40 additions & 14 deletions .github/workflows/api-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
api-lint:
name: Run Lint (API)
if: ${{ inputs.skip == false }}
uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/lint.yml@matt/make-target-prefix
with:
working_directory: apps/codecov-api
make_target_prefix: api.

api-mypy:
name: Patch typing (API)
Expand All @@ -28,72 +28,98 @@ jobs:
with:
working_directory: apps/codecov-api

# Once we cut over to umbrella, we can just replace the default cache key in build-app.yml
# and self-hosted.yml and get rid of this step.
api-compute-reqs-cache-key:
name: Compute cache key for requirements image
runs-on: ubuntu-latest
outputs:
reqs-cache-key: ${{ steps.compute.outputs.cache-key }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- id: compute
run: |
echo cache-key=${{ hashFiles('apps/codecov-api/uv.lock') }}-${{ hashFiles('docker/Dockerfile.requirements') }}-${{ hashFiles('libs/shared/**') }} >> "$GITHUB_OUTPUT"

api-build:
name: Build App (API)
if: ${{ inputs.skip == false }}
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.31
needs: [api-compute-reqs-cache-key]
uses: codecov/gha-workflows/.github/workflows/build-app.yml@matt/make-target-prefix
secrets: inherit
with:
repo: ${{ vars.CODECOV_API_IMAGE_V2 || vars.CODECOV_API_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-api' }}
working_directory: apps/codecov-api
output_directory: apps/codecov-api
make_target_prefix: api.
reqs_cache_key: ${{ needs.api-compute-reqs-cache-key.outputs.reqs-cache-key }}

api-test:
name: Test (API)
if: ${{ inputs.skip == false }}
needs: [api-build]
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.35
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@matt/make-target-prefix
secrets: inherit
with:
run_integration: false
repo: ${{ vars.CODECOV_API_IMAGE_V2 || vars.CODECOV_API_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-api' }}
working_directory: apps/codecov-api
output_directory: apps/codecov-api
flag_prefix: api
pytest_rootdir: /app
make_target_prefix: api.

api-build-self-hosted:
name: Build Self Hosted (API)
if: ${{ inputs.skip == false }}
needs: [api-build, api-test]
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@matt/make-target-prefix
secrets: inherit
with:
repo: ${{ vars.CODECOV_API_IMAGE_V2 || vars.CODECOV_API_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-api' }}
working_directory: apps/codecov-api
output_directory: apps/codecov-api
make_target_prefix: api.
reqs_cache_key: ${{ needs.api-compute-reqs-cache-key.outputs.reqs-cache-key }}

api-staging:
name: Push Staging Image (API)
needs: [api-build, api-test]
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/staging' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/push-env.yml@matt/make-target-prefix
secrets: inherit
with:
environment: staging
repo: ${{ vars.CODECOV_API_IMAGE_V2 || vars.CODECOV_API_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-api' }}
working_directory: apps/codecov-api
output_directory: apps/codecov-api
sentry_project: api
make_target_prefix: api.

api-production:
name: Push Production Image (API)
needs: [api-build, api-test]
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/push-env.yml@matt/make-target-prefix
secrets: inherit
with:
environment: production
repo: ${{ vars.CODECOV_API_IMAGE_V2 || vars.CODECOV_API_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-api' }}
working_directory: apps/codecov-api
output_directory: apps/codecov-api
sentry_project: api
make_target_prefix: api.

api-self-hosted:
name: Push Self Hosted Image (API)
needs: [api-build-self-hosted, api-test]
secrets: inherit
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@matt/make-target-prefix
with:
push_rolling: true
repo: ${{ vars.CODECOV_API_IMAGE_V2 || vars.CODECOV_API_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-api' }}
working_directory: apps/codecov-api
output_directory: apps/codecov-api
make_target_prefix: api.
reqs_cache_key: ${{ needs.api-compute-reqs-cache-key.outputs.reqs-cache-key }}

# This job works around a strange interaction between reusable workflows and
# path filters.
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/shared-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
shared-lint:
name: Run Lint (Shared)
if: ${{ inputs.skip == false }}
uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/lint.yml@matt/make-target-prefix
with:
working_directory: libs/shared
make_target_prefix: shared.

shared-benchmark:
name: Benchmarks (Shared)
Expand Down Expand Up @@ -138,7 +138,6 @@ jobs:
# The coverage action will have installed codecovcli with pip. The
# actual binary will be found in $PATH.
binary: codecovcli
recurse_submodules: true

# This job works around a strange interaction between reusable workflows and
# path filters.
Expand Down
58 changes: 42 additions & 16 deletions .github/workflows/worker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Worker CI

on:
workflow_call:
inputs:
inputs:
skip:
type: boolean
default: false
Expand All @@ -17,9 +17,9 @@ jobs:
worker-lint:
name: Run Lint (Worker)
if: ${{ inputs.skip == false }}
uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/lint.yml@matt/make-target-prefix
with:
working_directory: apps/worker
make_target_prefix: worker.

worker-mypy:
name: Patch typing (Worker)
Expand All @@ -28,71 +28,97 @@ jobs:
with:
working_directory: apps/worker

# Once we cut over to umbrella, we can just replace the default cache key in build-app.yml
# and self-hosted.yml and get rid of this step.
worker-compute-reqs-cache-key:
name: Compute cache key for requirements image
runs-on: ubuntu-latest
outputs:
reqs-cache-key: ${{ steps.compute.outputs.cache-key }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- id: compute
run: |
echo cache-key=${{ hashFiles('apps/worker/uv.lock') }}-${{ hashFiles('docker/Dockerfile.requirements') }}-${{ hashFiles('libs/shared/**') }} >> "$GITHUB_OUTPUT"

worker-build:
name: Build App (Worker)
if: ${{ inputs.skip == false }}
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.31
needs: [worker-compute-reqs-cache-key]
uses: codecov/gha-workflows/.github/workflows/build-app.yml@matt/make-target-prefix
secrets: inherit
with:
repo: ${{ vars.CODECOV_WORKER_IMAGE_V2 || vars.CODECOV_WORKER_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-worker' }}
working_directory: apps/worker
output_directory: apps/worker
make_target_prefix: worker.
reqs_cache_key: ${{ needs.worker-compute-reqs-cache-key.outputs.reqs-cache-key }}

worker-test:
name: Test (Worker)
if: ${{ inputs.skip == false }}
needs: [worker-build]
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.35
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@matt/make-target-prefix
secrets: inherit
with:
repo: ${{ vars.CODECOV_WORKER_IMAGE_V2 || vars.CODECOV_WORKER_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-worker' }}
working_directory: apps/worker
output_directory: apps/worker
flag_prefix: worker
pytest_rootdir: /app
make_target_prefix: worker.

worker-build-self-hosted:
name: Build Self Hosted (Worker)
if: ${{ inputs.skip == false }}
needs: [worker-build, worker-test]
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@matt/make-target-prefix
secrets: inherit
with:
repo: ${{ vars.CODECOV_WORKER_IMAGE_V2 || vars.CODECOV_WORKER_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-worker' }}
working_directory: apps/worker
output_directory: apps/worker
make_target_prefix: worker.
reqs_cache_key: ${{ needs.worker-compute-reqs-cache-key.outputs.reqs-cache-key }}

worker-staging:
name: Push Staging Image (Worker)
needs: [worker-build, worker-test]
if: ${{ inputs.skip == false && github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/staging') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/push-env.yml@matt/make-target-prefix
secrets: inherit
with:
environment: staging
repo: ${{ vars.CODECOV_WORKER_IMAGE_V2 || vars.CODECOV_WORKER_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-worker' }}
working_directory: apps/worker
output_directory: apps/worker
sentry_project: worker
make_target_prefix: worker.

worker-production:
name: Push Production Image (Worker)
needs: [worker-build, worker-test]
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/push-env.yml@matt/make-target-prefix
secrets: inherit
with:
environment: production
repo: ${{ vars.CODECOV_WORKER_IMAGE_V2 || vars.CODECOV_WORKER_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-worker' }}
working_directory: apps/worker
output_directory: apps/worker
sentry_project: worker
make_target_prefix: worker.

worker-self-hosted:
name: Push Self Hosted Image (Worker)
needs: [worker-build-self-hosted, worker-test]
needs: [worker-compute-reqs-cache-key, worker-build-self-hosted, worker-test]
secrets: inherit
if: ${{ inputs.skip == false && github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.31
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@matt/make-target-prefix
with:
push_rolling: true
repo: ${{ vars.CODECOV_WORKER_IMAGE_V2 || vars.CODECOV_WORKER_IMAGE_V2_SELF_HOSTED || 'codecov/self-hosted-worker' }}
working_directory: apps/worker
output_directory: apps/worker
make_target_prefix: worker.
reqs_cache_key: ${{ needs.worker-compute-reqs-cache-key.outputs.reqs-cache-key }}

# This job works around a strange interaction between reusable workflows and
# path filters.
Expand Down
9 changes: 0 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
[submodule "apps/worker"]
path = apps/worker
url = git@github.com:codecov/worker.git
[submodule "apps/codecov-api"]
path = apps/codecov-api
url = git@github.com:codecov/codecov-api.git
[submodule "libs/shared"]
path = libs/shared
url = git@github.com:codecov/shared.git
Loading