Refactor policy script handling and improve fallback logic
Some checks failed
Go / build (push) Has been cancelled
Go / release (push) Has been cancelled

- Renamed test functions for clarity, changing "NotRunning" to "Disabled" to better reflect the policy state.
- Updated policy checks to ensure that if the policy is disabled, it falls back to the default policy immediately.
- Enhanced error handling in the policy manager to ensure proper startup and running state management.
- Introduced a new method to ensure the policy is running, with timeout handling for startup completion.
- Bumped version to v0.20.3 to reflect these changes.
This commit is contained in:
2025-10-30 18:22:56 +00:00
parent 8954846864
commit b70f03bce0
3 changed files with 154 additions and 21 deletions

View File

@@ -1 +1 @@
v0.20.2
v0.20.3