toeverything / OctoBase

🐙 OctoBase is the open-source database behind AFFiNE, local-first, yet collaborative. A light-weight, scalable, data engine written in Rust.
https://octobase.dev
GNU Affero General Public License v3.0
1.32k stars 83 forks source link

fix(codec): prevent pre-allocating a large number of structs #525

Closed forehalo closed 1 year ago

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
octobase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 30, 2023 6:52am
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 80.00% and project coverage change: -0.01% :warning:

Comparison is base (3d3a0cd) 64.63% compared to head (e784b85) 64.62%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #525 +/- ## ========================================== - Coverage 64.63% 64.62% -0.01% ========================================== Files 177 177 Lines 20812 20816 +4 ========================================== + Hits 13451 13453 +2 - Misses 7361 7363 +2 ``` | [Files Changed](https://app.codecov.io/gh/toeverything/OctoBase/pull/525?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | Coverage Δ | | |---|---|---| | [libs/jwst-codec/src/doc/common/state.rs](https://app.codecov.io/gh/toeverything/OctoBase/pull/525?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything#diff-bGlicy9qd3N0LWNvZGVjL3NyYy9kb2MvY29tbW9uL3N0YXRlLnJz) | `80.48% <0.00%> (-1.00%)` | :arrow_down: | | [libs/jwst-codec/src/doc/codec/delete\_set.rs](https://app.codecov.io/gh/toeverything/OctoBase/pull/525?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything#diff-bGlicy9qd3N0LWNvZGVjL3NyYy9kb2MvY29kZWMvZGVsZXRlX3NldC5ycw==) | `92.30% <100.00%> (+0.05%)` | :arrow_up: | | [libs/jwst-codec/src/doc/codec/update.rs](https://app.codecov.io/gh/toeverything/OctoBase/pull/525?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything#diff-bGlicy9qd3N0LWNvZGVjL3NyYy9kb2MvY29kZWMvdXBkYXRlLnJz) | `87.74% <100.00%> (+0.05%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/toeverything/OctoBase/pull/525/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.