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

chore: generateTransformationMessage is its own concurrent step #5449

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sidddddarth
Copy link
Member

Description

generateTransformationMessage is its own concurrent step.
Includes:

  1. store to arc, esch
  2. tracking plan validation

Linear Ticket

Resolves PIPE-1719

Security

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

@Sidddddarth Sidddddarth changed the title chore: remove parallel scan flag in processor chore: generateTransformationMessage is its own concurrent step Jan 22, 2025
Base automatically changed from chore.removeParallelScanFlag to master January 24, 2025 07:47
@Sidddddarth Sidddddarth force-pushed the chore.newProcessorStep_generateTransformationMessage branch from 727f6dc to eb3998c Compare January 26, 2025 05:27
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

Attention: Patch coverage is 96.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 74.90%. Comparing base (71efda1) to head (eb3998c).

Files with missing lines Patch % Lines
processor/processor.go 94.73% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5449      +/-   ##
==========================================
+ Coverage   74.84%   74.90%   +0.05%     
==========================================
  Files         440      440              
  Lines       61425    61434       +9     
==========================================
+ Hits        45974    46016      +42     
+ Misses      12916    12892      -24     
+ Partials     2535     2526       -9     

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

Copy link
Contributor

@ktgowtham ktgowtham left a comment

Choose a reason for hiding this comment

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

Changes look good to me.

hasMore: false,
rsourcesStats: rsourcesStats,
})
transMessage, err = proc.generateTransformationMessage(proc.processJobsForDest(
Copy link
Contributor

Choose a reason for hiding this comment

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

not related to this PR. but there's a possibility of duplicate persistence of jobs in events schema and archival?

@@ -1734,7 +1734,7 @@ func (proc *Handle) processJobsForDest(partition string, subJobs subJob) (*trans
for _, batchEvent := range jobList {
var eventParams types.EventParams
if err := jsonfast.Unmarshal(batchEvent.Parameters, &eventParams); err != nil {
return nil, err
panic(err)
Copy link
Contributor

Choose a reason for hiding this comment

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

lets return error from here, we can handle error at 1 place only in worker.go

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

Successfully merging this pull request may close these issues.

3 participants