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

Conversation

@matt-codecov
Copy link
Contributor

@matt-codecov matt-codecov commented Feb 27, 2025

needed for codecov/umbrella#17

currently the docker image is built and coverage data is generated as if codecov-api is its own repo and all the files are in the repo root. in umbrella that is no longer true - codecov-api exists in apps/codecov-api/ and we want that prefix to be applied to every source file we have data for

this PR sets up codecov-api in /app/apps/codecov-api instead of /app inside the docker container

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@matt-codecov matt-codecov marked this pull request as draft February 27, 2025 17:49
@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codecov
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.92%. Comparing base (f4f7dc8) to head (f01bb4a).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1178   +/-   ##
=======================================
  Coverage   95.92%   95.92%           
=======================================
  Files         492      494    +2     
  Lines       16876    16882    +6     
=======================================
+ Hits        16188    16194    +6     
  Misses        688      688           
Flag Coverage Δ
unit 95.92% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matt-codecov matt-codecov force-pushed the matt/monorepo-friendly-coverage branch from c4cee9e to f01bb4a Compare February 27, 2025 18:27
@matt-codecov matt-codecov requested review from a team February 27, 2025 19:25
@matt-codecov matt-codecov marked this pull request as ready for review February 27, 2025 19:25
rm /app/staging.sh && \
rm /app/production.yml && \
rm /app/development.yml
RUN rm /app/apps/codecov-api/codecov/settings_dev.py && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: might be worth adding a const or something for this value to explain what it is

@matt-codecov matt-codecov added this pull request to the merge queue Feb 27, 2025
Merged via the queue into main with commit c289bda Feb 27, 2025
28 checks passed
@matt-codecov matt-codecov deleted the matt/monorepo-friendly-coverage branch February 27, 2025 19:53
@JerrySentry JerrySentry restored the matt/monorepo-friendly-coverage branch March 12, 2025 13:46
JerrySentry added a commit that referenced this pull request Mar 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants