Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(feedback): use ConsumerType in consumer defns + rename feedback c.type #67404

Merged
merged 6 commits into from Mar 21, 2024

Conversation

aliu3ntry
Copy link
Member

@aliu3ntry aliu3ntry commented Mar 20, 2024

No description provided.

@aliu3ntry aliu3ntry requested review from a team as code owners March 20, 2024 23:48
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 20, 2024
@aliu3ntry aliu3ntry requested a review from a team March 20, 2024 23:48
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.36%. Comparing base (95f6ff1) to head (50f9370).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #67404      +/-   ##
==========================================
+ Coverage   78.37%   79.36%   +0.98%     
==========================================
  Files        6365     6365              
  Lines      281981   281923      -58     
  Branches    48516    48507       -9     
==========================================
+ Hits       221009   223741    +2732     
+ Misses      60607    57819    -2788     
+ Partials      365      363       -2     
Files Coverage Δ
src/sentry/consumers/__init__.py 76.92% <100.00%> (+0.17%) ⬆️
src/sentry/ingest/types.py 100.00% <100.00%> (ø)

... and 253 files with indirect coverage changes

src/sentry/consumers/__init__.py Outdated Show resolved Hide resolved
src/sentry/consumers/__init__.py Outdated Show resolved Hide resolved
@lynnagara
Copy link
Member

Curious if you have any plan to split the factory? Longer term I think it'd be better for each ingest consumer to have it's own factory instead of a single pretty huge piece of code that has a bunch of if statements inside it that need to check the consumer type. Since transactions is going away, only attachments, user feedback and events would need to be done.

@aliu3ntry
Copy link
Member Author

Curious if you have any plan to split the factory? Longer term I think it'd be better for each ingest consumer to have it's own factory instead of a single pretty huge piece of code that has a bunch of if statements inside it that need to check the consumer type. Since transactions is going away, only attachments, user feedback and events would need to be done.

I was thinking about this actually, will get back to you. That will probably be a separate PR though

@aliu3ntry aliu3ntry changed the title feat(feedback): rename/simplify consumer_type for feedback topic feat(feedback): use ConsumerType in consumer defns + rename feedback c.type Mar 21, 2024
@aliu3ntry aliu3ntry merged commit 3f7e560 into master Mar 21, 2024
51 checks passed
@aliu3ntry aliu3ntry deleted the aliu/rename-feedback-consumer-type branch March 21, 2024 18:06
@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants