Repository navigation
fix(RHINENG-32811): preserve patch upload identity - #2380
MichaelMraka merged 3 commits into
Conversation
Keep each host's request ID and trace context through batched evaluation and native host-apps publication. Record processing completion after the results commit, including successful no-work paths. The external trace correlator owns SLA correlation and deduplication. Remove the prototype delivery outbox, completion HTTP client, migration, relay settings and documentation; preserve native business publication. Assisted-by: GPT-6
Reviewer's GuideImplementationPair each host with its own request ID and traceparent during batched evaluation, then carry that identity into evaluation and inventory-view publication.
Emit ingestion-completion events only for successful processing and terminal no-work paths, including the unchanged-upload path.
TestsVerify completion-event eligibility, attributes, and timing, alongside preservation of per-host upload identity and omission of internal ingestion fields from serialized events.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. The new completion event exports organization, request, and host identifiers through tracing, and an exported event cannot be recalled by reverting the code. If those identifiers should not leave this service or the event is emitted at the wrong completion point, the affected trace records remain.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2380 +/- ##
==========================================
+ Coverage 60.42% 60.49% +0.07%
==========================================
Files 156 157 +1
Lines 10209 10240 +31
==========================================
+ Hits 6169 6195 +26
- Misses 3412 3417 +5
Partials 628 628
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Jira
RHINENG-32811
What
Preserve each host’s upload identity through Patch evaluation and emit OpenTelemetry completion events for ingestion SLA measurement.
Why
Accurate latency measurements require matching Patch completion to the original upload, including paths that complete without producing a host-apps message.
How
rh.ingestion.completedafter evaluation results commit successfully.Testing
Secure Coding Practices Checklist GitHub Link
Secure Coding Checklist
Summary by Sourcery
Preserve per-host upload identity through patch evaluation and report processing completion for reliable ingestion correlation.
New Features:
Bug Fixes:
Enhancements:
Tests: