Skip to content

Fix main CI: bound the fuzz smoke job, auto-enable Pages for Docs deploy#10

Merged
tap merged 2 commits into
mainfrom
claude/ambitap-roadmap-max-assessment-tiuszu
Jul 3, 2026
Merged

Fix main CI: bound the fuzz smoke job, auto-enable Pages for Docs deploy#10
tap merged 2 commits into
mainfrom
claude/ambitap-roadmap-max-assessment-tiuszu

Conversation

@tap

@tap tap commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the two failures on main's latest run (both infrastructure — the ROADMAP merge commit changed no code):

CI / fuzz (sofa reader smoke) — cancelled at the 20-minute job kill.
libFuzzer's per-input timeout defaults to 1200s, so a single large structurally-valid mutation (inputs run up to ~500 KiB, ~33 exec/s under Debug+ASan) can execute for many minutes and sail past -max_total_time=180; the job then dies at timeout-minutes: 20 with no reproducer. Now two bounded stages:

  • Replay every seed unmodified (-timeout=60) — the full-size valid file still exercises the whole parse path.
  • Explore with mutations capped at -max_len=65536 and -timeout=30 — measured locally at ~8,300 exec/s, 100k runs in 12s, so the 3-minute budget actually binds.
  • Reproducers (crash-*/timeout-*/slow-unit-*/oom-*) upload as artifacts on failure.

Docs / deploy to Pages — 404 "Ensure GitHub Pages has been enabled".
Pages was never enabled on the repo. actions/configure-pages@v5 with enablement: true now creates the site (Source: GitHub Actions) before deploy-pages runs, using the workflow's existing pages: write permission. If token permissions turn out not to allow enablement, the fallback is one click: Settings → Pages → Source: GitHub Actions.

Test plan

  • Fuzzer built locally with the CI toolchain (clang-18 + ASan/UBSan); both stages run clean
  • Stage 2 verified bounded: 100,000 runs complete in ~12s at -max_len=65536
  • Post-merge push run: fuzz job completes inside its budget; Docs deploys to Pages

🤖 Generated with Claude Code

https://claude.ai/code/session_012VeadvCRUHJdneFNwRbFAM


Generated by Claude Code

claude added 2 commits July 3, 2026 18:18
The fuzz job was flaky-cancelled: libFuzzer's per-input timeout defaults to
1200s, so one large structurally-valid mutation (~500 KiB inputs at ~33
exec/s under Debug+ASan) could run for many minutes, sail past
-max_total_time=180, and hit the job's 20-minute kill with no reproducer.
Split the step in two: replay every seed unmodified (full-size valid file
included, -timeout=60), then explore with mutations capped at -max_len=65536
and -timeout=30 — locally that's ~8300 exec/s, 100k runs in 12s. Reproducer
artifacts (crash-*/timeout-*/slow-unit-*/oom-*) now upload on failure.

The Docs deploy job 404'd because GitHub Pages was never enabled on the
repo; actions/configure-pages with enablement:true creates the site
(Source: GitHub Actions) before deploy-pages runs, using the existing
pages:write permission.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012VeadvCRUHJdneFNwRbFAM
Discovered during local bounded runs of fuzz_sofa_reader; minimized with
-merge=1 against the existing 5 seeds (adds 1685 features / 577 coverage
edges, replays in under 2s). Six are small mutations of valid.sofa, so
they pack tightly via git delta compression.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012VeadvCRUHJdneFNwRbFAM
@tap tap merged commit eae5e6d into main Jul 3, 2026
13 checks passed
@tap tap deleted the claude/ambitap-roadmap-max-assessment-tiuszu branch July 3, 2026 18:37
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.

2 participants