Skip to content

Repair the fuzz session after the Session trait change - #164

Merged
tamnd merged 1 commit into
mainfrom
m2-fuzz-session
Oct 8, 2026
Merged

tamnd merged 1 commit into
mainfrom
m2-fuzz-session

Conversation

@tamnd

@tamnd tamnd commented Oct 8, 2026

Copy link
Copy Markdown
Owner

PR #163 changed the Session trait of rupg-func: zone now gives an Rc<dyn TimeZone>, and the new method set_setting changes a setting. The fuzz crate is a separate workspace, and the main test run does not build it. Thus the fuzz session in fuzz/src/types.rs did not compile after #163, and the nightly fuzz job would fail.

What changes:

  • FuzzSession keeps its zone in an Rc and gives a clone of it from zone.
  • FuzzSession::set_setting gives an internal error, as the test sessions do. No fuzz target calls set_config.

How I tested it: cargo check --all-targets and cargo fmt --check in fuzz/ pass on the stable toolchain, and cargo +nightly fuzz build -O builds wire_frontend, wire_startup, type_input and type_recv on server1. From now on, my test run before a merge also checks the fuzz workspace.

@tamnd tamnd added this to the M2: Connect and introspect milestone Oct 8, 2026
@tamnd tamnd added kind/bug It does the wrong thing. area/testing Fuzzing, crash tests, simulation and the summary deletion run. labels Oct 8, 2026
@tamnd tamnd self-assigned this Oct 8, 2026
@tamnd
tamnd merged commit 0473382 into main Oct 8, 2026
5 checks passed
@tamnd
tamnd deleted the m2-fuzz-session branch October 8, 2026 05:14
@tamnd tamnd mentioned this pull request Oct 8, 2026
4 of 15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing Fuzzing, crash tests, simulation and the summary deletion run. kind/bug It does the wrong thing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant