fix(config): aligner validation providers et politiques réseau #38

Open
hermes wants to merge 0 commits from fix/config-policy into main
First-time contributor

Résumé

  • valide chaque provider une fois, dans l’ordre STT principal/fallback puis noms triés; cleanup actif puis noms triés
  • applique défensivement HTTPS pour cleanup Internet et propage allow_insecure
  • classe une zone plugin locale valide mais interdite en policy_blocked; les zones inconnues restent config_invalid

Closes #4
Closes #18
Closes #35

Validation

  • go test -race ./internal/cleanup ./internal/core
  • tests config déterministes 100 fois puis sous race
  • validations plugin ciblées
  • git diff --check
## Résumé - valide chaque provider une fois, dans l’ordre STT principal/fallback puis noms triés; cleanup actif puis noms triés - applique défensivement HTTPS pour cleanup Internet et propage `allow_insecure` - classe une zone plugin locale valide mais interdite en `policy_blocked`; les zones inconnues restent `config_invalid` Closes #4 Closes #18 Closes #35 ## Validation - `go test -race ./internal/cleanup ./internal/core` - tests config déterministes 100 fois puis sous race - validations plugin ciblées - `git diff --check`
fix(config): align provider and network policy validation
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
add0d10c0b
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/config-policy:fix/config-policy
git switch fix/config-policy

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff fix/config-policy
git switch fix/config-policy
git rebase main
git switch main
git merge --ff-only fix/config-policy
git switch fix/config-policy
git rebase main
git switch main
git merge --no-ff fix/config-policy
git switch main
git merge --squash fix/config-policy
git switch main
git merge --ff-only fix/config-policy
git switch main
git merge fix/config-policy
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mathieu/murmur!38
No description provided.