Skip to content

test: fuzz test for apply_update #447

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

Merged
merged 11 commits into from
Jun 6, 2023
Merged

test: fuzz test for apply_update #447

merged 11 commits into from
Jun 6, 2023

Conversation

thorseraq
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented May 31, 2023

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 Jun 6, 2023 6:21am

@thorseraq thorseraq temporarily deployed to development May 31, 2023 06:35 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development May 31, 2023 06:35 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development May 31, 2023 06:35 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Patch coverage: 64.32% and project coverage change: -0.17 ⚠️

Comparison is base (a84571f) 69.15% compared to head (9d7d63e) 68.99%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #447      +/-   ##
==========================================
- Coverage   69.15%   68.99%   -0.17%     
==========================================
  Files         152      161       +9     
  Lines       16755    17467     +712     
==========================================
+ Hits        11587    12051     +464     
- Misses       5168     5416     +248     
Impacted Files Coverage Δ
...codec-util/src/doc_operation/yrs_op/xml_element.rs 0.00% <0.00%> (ø)
...odec-util/src/doc_operation/yrs_op/xml_fragment.rs 0.00% <0.00%> (ø)
...st-codec-util/src/doc_operation/yrs_op/xml_text.rs 0.00% <0.00%> (ø)
...bs/jwst-codec-util/src/doc_operation/yrs_op/mod.rs 47.79% <47.79%> (ø)
...bs/jwst-codec-util/src/doc_operation/yrs_op/map.rs 81.75% <81.75%> (ø)
.../jwst-codec-util/src/doc_operation/yrs_op/array.rs 84.93% <84.93%> (ø)
libs/jwst-codec-util/src/doc_operation/types.rs 85.71% <85.71%> (ø)
...s/jwst-codec-util/src/doc_operation/yrs_op/text.rs 88.12% <88.12%> (ø)
libs/jwst-codec-util/src/lib.rs 100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@thorseraq thorseraq temporarily deployed to development May 31, 2023 07:18 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development May 31, 2023 07:18 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development May 31, 2023 07:18 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development June 2, 2023 06:01 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development June 4, 2023 14:20 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development June 4, 2023 14:20 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development June 4, 2023 14:20 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development June 6, 2023 06:20 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development June 6, 2023 06:20 — with GitHub Actions Inactive
@thorseraq thorseraq temporarily deployed to development June 6, 2023 06:20 — with GitHub Actions Inactive
Comment on lines +40 to +43
pub static ARRAY_OPS: phf::Map<
&'static str,
fn(doc: &yrs::Doc, nest_input: &YrsNestType, params: CRDTParam) -> (),
> = phf_map! {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
Comment on lines +47 to +50
pub static MAP_OPS: phf::Map<
&'static str,
fn(doc: &yrs::Doc, nest_input: &YrsNestType, params: CRDTParam) -> (),
> = phf_map! {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
Comment on lines +59 to +62
pub static TEXT_OPS: phf::Map<
&'static str,
fn(doc: &yrs::Doc, nest_input: &YrsNestType, params: CRDTParam) -> (),
> = phf_map! {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
Comment on lines +42 to +45
pub static XML_ELEMENT_OPS: phf::Map<
&'static str,
fn(doc: &yrs::Doc, nest_input: &YrsNestType, params: CRDTParam) -> (),
> = phf_map! {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
Comment on lines +42 to +45
pub static XML_FRAGMENT_OPS: phf::Map<
&'static str,
fn(doc: &yrs::Doc, nest_input: &YrsNestType, params: CRDTParam) -> (),
> = phf_map! {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
Comment on lines +60 to +63
pub static XML_TEXT_OPS: phf::Map<
&'static str,
fn(doc: &yrs::Doc, nest_input: &YrsNestType, params: CRDTParam) -> (),
> = phf_map! {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
Comment on lines +23 to +29
HashMap<
CRDTNestType,
&'a phf::Map<
&'static str,
fn(doc: &yrs::Doc, nest_input: &YrsNestType, params: CRDTParam) -> (),
>,
>,

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
pub fn get_ops(
&self,
crdt_nest_type: &CRDTNestType,
) -> &phf::map::Map<&'static str, fn(&Doc, &YrsNestType, CRDTParam) -> ()> {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
pub fn get_ops_from_yrs_nest_type(
&self,
yrs_nest_type: &YrsNestType,
) -> &phf::map::Map<&'static str, fn(&Doc, &YrsNestType, CRDTParam) -> ()> {

Check warning

Code scanning / clippy

very complex type used. Consider factoring parts into `type` definitions

very complex type used. Consider factoring parts into `type` definitions
@thorseraq thorseraq merged commit 5edec00 into master Jun 6, 2023
@thorseraq thorseraq deleted the test/codec branch June 6, 2023 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants