Skip to content

fix: protect currentConfigDigest write with mutex

13ee56d
Select commit
Loading
Failed to load commit list.
Merged

Add State Persistence for Crash Recovery #321

fix: protect currentConfigDigest write with mutex
13ee56d
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Feb 10, 2026 in 0s

1 new issue (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

Complexity increasing per file
==============================
- internal/state/state_process.go  7
- internal/state/state_persistence.go  11
- internal/state/state_persistence_test.go  24
         

See the complete overview on Codacy

Annotations

Check warning on line 9 in internal/state/state_persistence_test.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

internal/state/state_persistence_test.go#L9

Method TestSaveAndLoadRoundTrip has a cyclomatic complexity of 14 (limit is 8)