refactor!: remove MinimumLoad() option #17

Merged
mvhutz merged 3 commits from feat/remove-minimum-load-option into main 2026-04-03 14:51:41 +00:00
Owner

Description

The cuckoo.MinimumLoad() option was not a very useful option, and prone to error. By removing the ability to modify it, and setting it to something reasonable (like 5%), we can remove a whole set of errors that the user may stumble into.

Changes

  • Remove MinimumLoad() option.
  • Privated DefaultMinimumLoad.

Design Decisions

  • DefaultMinimumLoad should be privated because it is no longer an option. The user should not need to interact with it.

Checklist

  • Tests pass
  • Docs updated
## Description The `cuckoo.MinimumLoad()` option was not a very useful option, and prone to error. By removing the ability to modify it, and setting it to something reasonable (like 5%), we can remove a whole set of errors that the user may stumble into. ## Changes - Remove `MinimumLoad()` option. - Privated `DefaultMinimumLoad`. ### Design Decisions - `DefaultMinimumLoad` should be privated because it is no longer an option. The user should not need to interact with it. ## Checklist - [x] Tests pass - [x] Docs updated
mvhutz added 2 commits 2026-04-03 14:33:30 +00:00
refactor: 'MinimumLoad' to 'defaultMinimumLoad'
Some checks failed
CI / Check PR Title (pull_request) Failing after 18s
CI / Go Lint (pull_request) Successful in 36s
CI / Markdown Lint (pull_request) Successful in 22s
CI / Makefile Lint (pull_request) Successful in 34s
CI / Unit Tests (pull_request) Successful in 36s
CI / Fuzz Tests (pull_request) Successful in 1m6s
CI / Mutation Tests (pull_request) Successful in 1m1s
0bdf71fd12
- The option does not need to be exported, since it is no longer an
  option.
mvhutz added 1 commit 2026-04-03 14:48:55 +00:00
Merge branch 'main' into feat/remove-minimum-load-option
All checks were successful
CI / Check PR Title (pull_request) Successful in 19s
CI / Go Lint (pull_request) Successful in 39s
CI / Makefile Lint (pull_request) Successful in 32s
CI / Markdown Lint (pull_request) Successful in 22s
CI / Unit Tests (pull_request) Successful in 36s
CI / Fuzz Tests (pull_request) Successful in 1m8s
CI / Mutation Tests (pull_request) Successful in 1m5s
5c93d93f50
mvhutz merged commit 322d71f0be into main 2026-04-03 14:51:41 +00:00
mvhutz deleted branch feat/remove-minimum-load-option 2026-04-03 14:51:41 +00:00
Sign in to join this conversation.