CI hardening: arm/mingw matrix, nightly deep-fuzz + soak, sodium watch, implementers notes#151
Merged
Conversation
… implementers notes
Process improvements, no library code change:
- ci.yml: add ubuntu-24.04-arm to the build/test matrix and a MinGW
(msys2 gcc + ninja) leg, so the __MINGW32__ code path and arm64 are
covered on every push. Smoke fuzz now warm-starts from the checked-in
seed corpus.
- scheduled.yml (new, nightly + manual dispatch):
- deep-fuzz: 20 min per target with an accumulating corpus cached
across runs via actions/cache.
- soak: 15 min ASan soak; clean timeout is success, any abort fails.
- sodium-upstream-check: compares SODIUM_VERSION_STRING to the latest
jedisct1/libsodium release and opens a tracking issue if behind.
- fuzz/corpus/fuzz_parse_address: hand-written, verified-clean seed
corpus of valid/edge address strings for a warm fuzzer start.
- sodium/NOTES.md: document the upstream tracking process the scheduled
check drives.
- IMPLEMENTERS.md (new): portable writeup of the replay-protection
integer overflow and the STANDARD.md errata, for maintainers of the
C#, Go, Rust, and TypeScript ports to check their implementations
against. Linked from README.
- CLAUDE.md: reflect the expanded CI, nightly jobs, and that OSS-Fuzz
enrollment is the one remaining external process step.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Process improvements only — no library code change. Closes the last "Process gaps" items from CLAUDE.md.
Improvement 4 — matrix (verified by this PR's CI):
ubuntu-24.04-armto the build/test matrix (Debug + Release).__MINGW32__code path — packet-tagging disabled, QOS typedefs — is actually compiled and tested on every push.Improvement 2 — continuous-ish fuzzing:
scheduled.ymldeep-fuzzjob: 20 min per target nightly, with an accumulating corpus cached across runs viaactions/cache(the correct pattern for coverage that grows over time).fuzz/corpus/fuzz_parse_address/: hand-written, ASan-verified seed set of valid/edge address strings.Improvement 3 — nightly soak:
scheduled.ymlsoakjob: 15-minute ASan soak; a clean timeout is success, any abort (assert or sanitizer) fails the job.Improvement 5 — sodium upstream tracking:
scheduled.ymlsodium-upstream-checkjob comparesSODIUM_VERSION_STRING(1.0.20) to the latestjedisct1/libsodiumrelease and opens a tracking issue if behind (dedup-guarded).sodium/NOTES.mddocuments the process.Improvement 1 — cross-implementation advisory:
IMPLEMENTERS.md: portable writeup of the replay-protection integer overflow and the STANDARD.md errata for the C#/Go/Rust/TypeScript port maintainers to check against. Linked from README. (Filing issues on those third-party repos is held pending your go-ahead — see PR discussion.)Notes
workflow_dispatchfor manual verification after merge. Both workflow files validated as YAML.Test plan
🤖 Generated with Claude Code