Skip to content

chore(#186): size the secret registry by MAX_RESOLVERS and drop an unused import - #187

Merged
octalide merged 1 commit into
devfrom
fix/186
Sep 27, 2026
Merged

octalide merged 1 commit into
devfrom
fix/186

Conversation

@octalide

Copy link
Copy Markdown
Contributor

Closes #186

Sizes the four secret.mach registry arrays by MAX_RESOLVERS instead of a literal 8, and removes the unused use std.types.option.opt; from src/router.mach.

Ran locally: mach build . (no warnings), mach test . --filter secret and --filter router, mach fmt --check on the root, demo and doc/bench/laurel.

…used import

The four registry arrays in secret.mach were sized by a literal 8, so
changing MAX_RESOLVERS would silently desync them from the loops that
walk them. router.mach imported opt without using it, which warned on
every build.
@octalide
octalide marked this pull request as ready for review September 27, 2026 06:46
@octalide
octalide merged commit 6e35003 into dev Sep 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

secret registry sizes its arrays by literal 8, and router.mach carries an unused import

1 participant