You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "spetz (via GitHub)" <gi...@apache.org> on 2026/09/05 19:46:15 UTC
[PR] fix(connectors): validate protobuf field lengths consistently [iggy]
spetz opened a new pull request, #4069:
URL: https://github.com/apache/iggy/pull/4069
Schema-based protobuf decoding did not reliably reject invalid
field lengths. Use shared checked conversion, addition, and bounds
validation for known, preserved unknown, and skipped fields.
Add regression coverage for invalid lengths and valid decoding
with an in-memory schema.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(connectors): validate protobuf field lengths consistently [iggy]
Posted by "spetz (via GitHub)" <gi...@apache.org>.
spetz merged PR #4069:
URL: https://github.com/apache/iggy/pull/4069
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(connectors): validate protobuf field lengths consistently [iggy]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #4069:
URL: https://github.com/apache/iggy/pull/4069#issuecomment-5554416150
## [Codecov](https://app.codecov.io/gh/apache/iggy/pull/4069?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `69.76744%` with `26 lines` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 55.70%. Comparing base ([`59a9508`](https://app.codecov.io/gh/apache/iggy/commit/59a9508cd58ec63e8a7dc78899f3f54e48fdacd3?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`069d7e3`](https://app.codecov.io/gh/apache/iggy/commit/069d7e3c8a2fb067795e51ff2b3d871fca7304d3?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
| [Files with missing lines](https://app.codecov.io/gh/apache/iggy/pull/4069?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [core/connectors/sdk/src/decoders/proto.rs](https://app.codecov.io/gh/apache/iggy/pull/4069?src=pr&el=tree&filepath=core%2Fconnectors%2Fsdk%2Fsrc%2Fdecoders%2Fproto.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9jb25uZWN0b3JzL3Nkay9zcmMvZGVjb2RlcnMvcHJvdG8ucnM=) | 69.76% | [23 Missing and 3 partials :warning: ](https://app.codecov.io/gh/apache/iggy/pull/4069?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #4069 +/- ##
=============================================
- Coverage 85.52% 55.70% -29.83%
Complexity 1402 1402
=============================================
Files 1240 1240
Lines 186294 156995 -29299
Branches 152599 123300 -29299
=============================================
- Hits 159327 87452 -71875
- Misses 22914 65908 +42994
+ Partials 4053 3635 -418
```
| [Components](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [Rust Core](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `48.01% <69.76%> (-38.45%)` | :arrow_down: |
| [Java SDK](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `67.29% <ø> (ø)` | |
| [C# SDK](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `76.33% <ø> (ø)` | |
| [Python SDK](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.06% <ø> (ø)` | |
| [PHP SDK](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `85.65% <ø> (ø)` | |
| [Node SDK](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `96.24% <ø> (ø)` | |
| [Go SDK](https://app.codecov.io/gh/apache/iggy/pull/4069/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `69.31% <ø> (ø)` | |
| [Files with missing lines](https://app.codecov.io/gh/apache/iggy/pull/4069?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [core/connectors/sdk/src/decoders/proto.rs](https://app.codecov.io/gh/apache/iggy/pull/4069?src=pr&el=tree&filepath=core%2Fconnectors%2Fsdk%2Fsrc%2Fdecoders%2Fproto.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9jb25uZWN0b3JzL3Nkay9zcmMvZGVjb2RlcnMvcHJvdG8ucnM=) | `52.23% <69.76%> (-18.84%)` | :arrow_down: |
... and [522 files with indirect coverage changes](https://app.codecov.io/gh/apache/iggy/pull/4069/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org