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

fix(warehouse): grouping uploads for processing pickup #3039

Merged
merged 4 commits into from
Feb 27, 2023

Conversation

achettyiitr
Copy link
Member

@achettyiitr achettyiitr commented Feb 27, 2023

Description

Use first_event_at for grouping while pickup for warehouse processing jobs

Notion Ticket

https://www.notion.so/rudderstacks/Use-first_event_at-while-pickup-from-processing-31c841fcdecc4ea8b6139ee0cb4d8daa?pvs=4

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@achettyiitr achettyiitr changed the title fix(warehouse): grouping uploads for pickup fix(warehouse): grouping uploads for processing pickup Feb 27, 2023
@@ -140,6 +143,364 @@ func TestUploads_Get(t *testing.T) {
})
}

func TestUploads_GetToProcess(t *testing.T) {
Copy link
Member

@lvrach lvrach Feb 27, 2023

Choose a reason for hiding this comment

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

[minor] Some of the tests presented here could have been combined with TestUploads_Processing

Copy link
Member Author

@achettyiitr achettyiitr Feb 27, 2023

Choose a reason for hiding this comment

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

Missed that test. Because of time constraints, Will merge both of the tests in separate PR.

@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Base: 53.00% // Head: 52.97% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (2861ce2) compared to base (7aeed3b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3039      +/-   ##
==========================================
- Coverage   53.00%   52.97%   -0.03%     
==========================================
  Files         334      334              
  Lines       51873    51874       +1     
==========================================
- Hits        27493    27479      -14     
- Misses      22782    22793      +11     
- Partials     1598     1602       +4     
Impacted Files Coverage Δ
warehouse/internal/repo/upload.go 82.40% <100.00%> (+0.04%) ⬆️
testhelper/log/log.go 7.69% <0.00%> (-3.85%) ⬇️
services/rsources/handler.go 73.82% <0.00%> (-1.38%) ⬇️
jobsdb/migration.go 76.28% <0.00%> (-0.78%) ⬇️
router/router.go 77.67% <0.00%> (-0.39%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants