Skip to content

refactor(stream search): schema aware grpc gateway marshaler - #592

Open
forshev wants to merge 3 commits into
mainfrom
0-record-marshaler
Open

forshev wants to merge 3 commits into
mainfrom
0-record-marshaler

Conversation

@forshev

@forshev forshev commented Oct 22, 2026

Copy link
Copy Markdown
Member

Description

add schema aware grpc gateway response rewriter for stream search


@forshev
forshev added this pull request to stack #581 October 22, 2026 09:46
@codecov-commenter

codecov-commenter commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.01124% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.08%. Comparing base (db7c170) to head (c1236dd).

Files with missing lines Patch % Lines
pkg/seqproxyapi/v1/stream_render.go 88.40% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #592      +/-   ##
==========================================
- Coverage   80.09%   80.08%   -0.01%     
==========================================
  Files         261      262       +1     
  Lines       19769    19790      +21     
==========================================
+ Hits        15834    15849      +15     
- Misses       3935     3941       +6     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eguguchkin eguguchkin modified the milestones: v0.82.0, v0.83.0 Oct 26, 2026
@forshev
forshev force-pushed the 0-record-marshaler branch 2 times, most recently from 290e082 to 82a8079 Compare October 26, 2026 15:03
@github-actions

Copy link
Copy Markdown
Contributor

🔴 Performance Degradation

Some benchmarks have degraded compared to the previous run.
Click on Show table button to see full list of degraded benchmarks.

Show table
Name Previous Current Ratio Verdict
MutexListAppend-4 d4c3c9 031e65
195.44 MB/s 168.61 MB/s 0.86 🔴
83538189.00 ns/op 94892434.00 ns/op 1.14 🔴

@forshev
forshev force-pushed the 0-record-marshaler branch from ba65ade to 0f5e204 Compare October 27, 2026 12:41
@eguguchkin
eguguchkin requested review from cheb0, eqimd and moflotas and removed request for cheb0 October 29, 2026 09:38
Base automatically changed from 0-agg-datasource to main October 30, 2026 15:50
@forshev
forshev force-pushed the 0-record-marshaler branch from 0f5e204 to 5454b5e Compare October 30, 2026 15:50
// rowSchema renders raw data of StreamSearch records as human readable values according to the Typing from header.
type rowSchema []*Typing

func newRowSchema(typing []*Typing) *rowSchema {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: why not just return rowSchema and make all functions below on struct? (e.g. func (s rowSchema) render)

so there will be no need to dereference any pointers

@forshev
forshev force-pushed the 0-record-marshaler branch from a786039 to b70b1b8 Compare November 5, 2026 13:08
@forshev
forshev force-pushed the 0-record-marshaler branch from b70b1b8 to c1236dd Compare November 5, 2026 13:39

This branch has not been deployed

No deployments
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.

4 participants