Skip to content

godoc examples and fuzz - #6

Merged
dcadolph merged 4 commits into
mainfrom
next-version
Jun 25, 2026
Merged

dcadolph merged 4 commits into
mainfrom
next-version

Conversation

@dcadolph

Copy link
Copy Markdown
Owner

Two improvements that round out the pre v0.3 polish.

Every cloud backend now has at least one godoc Example function. The example renders on pkg.go.dev and lets new users land on a runnable snippet without leaving the docs page.

Three new fuzz targets exercise the path matchers. Random extension lists, glob patterns, and regular expressions feed into MatchExt MatchGlob and MatchRegex. Any pattern that fails to compile is skipped so the fuzzer focuses on runtime behavior. Bugs that surface here cannot panic the walker.

dcadolph added 4 commits June 24, 2026 20:18
example funcs render on the package godoc page so users land on
runnable snippets without leaving pkg.go.dev. covers age provider
construction and identity generation plus the two http middlewares.
three fuzz targets cover MatchExt MatchGlob MatchRegex. each
generates arbitrary inputs and asserts the matcher never panics on
Match. patterns that fail to compile are skipped so the fuzzer
focuses on runtime behavior.
@dcadolph
dcadolph merged commit 03545ea into main Jun 25, 2026
9 checks passed
@dcadolph
dcadolph deleted the next-version branch June 25, 2026 02:18
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.

1 participant