Skip to content
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

first persistence draft #866

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

fix race condition

db06ddb
Select commit
Loading
Failed to load commit list.
Draft

first persistence draft #866

fix race condition
db06ddb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Aug 14, 2023 in 1s

74.73% of diff hit (target 81.51%)

View this Pull Request on Codecov

74.73% of diff hit (target 81.51%)

Annotations

Check warning on line 13 in experimental/plugins/persistence.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

experimental/plugins/persistence.go#L12-L13

Added lines #L12 - L13 were not covered by tests

Check warning on line 44 in internal/actions/initcol.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/actions/initcol.go#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 49 in internal/actions/initcol.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/actions/initcol.go#L48-L49

Added lines #L48 - L49 were not covered by tests

Check warning on line 54 in internal/actions/initcol.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/actions/initcol.go#L53-L54

Added lines #L53 - L54 were not covered by tests

Check warning on line 67 in internal/actions/initcol.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/actions/initcol.go#L65-L67

Added lines #L65 - L67 were not covered by tests

Check warning on line 130 in internal/actions/setvar.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/actions/setvar.go#L130

Added line #L130 was not covered by tests

Check warning on line 79 in internal/collections/persistent.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/collections/persistent.go#L78-L79

Added lines #L78 - L79 were not covered by tests

Check warning on line 87 in internal/collections/persistent.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/collections/persistent.go#L86-L87

Added lines #L86 - L87 were not covered by tests

Check warning on line 91 in internal/collections/persistent.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/collections/persistent.go#L90-L91

Added lines #L90 - L91 were not covered by tests

Check warning on line 95 in internal/collections/persistent.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/collections/persistent.go#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 275 in internal/corazawaf/transaction.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/corazawaf/transaction.go#L274-L275

Added lines #L274 - L275 were not covered by tests

Check warning on line 283 in internal/corazawaf/transaction.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/corazawaf/transaction.go#L282-L283

Added lines #L282 - L283 were not covered by tests

Check warning on line 557 in internal/corazawaf/transaction.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/corazawaf/transaction.go#L556-L557

Added lines #L556 - L557 were not covered by tests

Check warning on line 564 in internal/corazawaf/transaction.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/corazawaf/transaction.go#L563-L564

Added lines #L563 - L564 were not covered by tests

Check warning on line 278 in internal/corazawaf/waf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/corazawaf/waf.go#L277-L278

Added lines #L277 - L278 were not covered by tests

Check warning on line 44 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L44

Added line #L44 was not covered by tests

Check warning on line 63 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 68 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L68

Added line #L68 was not covered by tests

Check warning on line 80 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 89 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 93 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L93

Added line #L93 was not covered by tests

Check warning on line 111 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L111

Added line #L111 was not covered by tests

Check warning on line 182 in internal/persistence/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/default.go#L181-L182

Added lines #L181 - L182 were not covered by tests

Check warning on line 17 in internal/persistence/noop.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/noop.go#L16-L17

Added lines #L16 - L17 were not covered by tests

Check warning on line 33 in internal/persistence/noop.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/persistence/noop.go#L32-L33

Added lines #L32 - L33 were not covered by tests