You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(macros): change auto_connect_peers default to true
Changed the default value of `auto_connect_peers` from `false` to `true`
in the `freenet_test` macro, as analysis showed ~90% of tests were
explicitly setting it to `true`.
Changes:
- Set `auto_connect_peers = true` as default in parser.rs
- Removed redundant `auto_connect_peers = true` from all test files
(10+ occurrences across operations.rs, connectivity.rs, etc.)
- Updated documentation to reflect new default behavior
- Added parser tests to verify default and explicit overrides work correctly
Benefits:
- Reduces boilerplate in test authoring
- Better developer experience (most tests want peer connectivity)
- Tests requiring manual connection control can still use explicit `false`
- No breaking changes - backward compatible
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments