Skip to content

refactor: consolidate duplicated code across the workspace - #597

Merged
domcyrus merged 12 commits into
mainfrom
refactor/dedup
Sep 3, 2026
Merged

refactor: consolidate duplicated code across the workspace#597
domcyrus merged 12 commits into
mainfrom
refactor/dedup

Conversation

@domcyrus

@domcyrus domcyrus commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Consolidates duplicated helpers, test fixtures, and CI steps across all crates (104 files, about 2,000 net lines removed).

  • Fixes drifted connection key format, RTT thresholds, and the process name placeholder
  • Removes the redundant aarch64 and Android static release jobs
  • Small deliberate behaviour changes are listed in the changelog entry

Verified with fmt, clippy, and the full test suite on macOS and Linux. Windows and FreeBSD changes rely on CI.

Comment thread crates/rustnet-sandbox/src/lib.rs Fixed
- Share helpers, test fixtures, and CI steps instead of repeating them
- Fix drifted connection key format, RTT thresholds, and process placeholder
- Drop redundant aarch64 and Android static release jobs
- remove dead page/first/last selection wrappers in UIState
- remove unused From<&Connection> for ConnectionKey
- fill CHANGELOG gaps for the dedup refactor
- drop label-only, phase/step, and "used to" narration comments
- fix stale docs (overview separator, clipboard, merge, QUIC strategy order)
- replace all em dashes in source comments and strings
- rename LinkLayerType::RawIP/LinuxSLL/LinuxSLL2 to RawIp/LinuxSll/LinuxSll2
- rename UIState to UiState
- uppercase RTT, PCAPNG, STUN, NTP in labels, messages, and prose
- release.yml: tag and overwrite_assets dispatch inputs; run from main against an existing tag
- shared upload action skips assets already on the release (downstream checksum pins)
- test-platform-builds: create-archives dispatch input to exercise the archive step
- MatchQuality::as_str takes self by value again; pin Connection::key() format with a test
- CHANGELOG and RELEASE.md updates
Comment thread .github/workflows/build-platforms.yml Fixed
Comment thread .github/workflows/build-platforms.yml Fixed
- CodeQL flags checking out a dispatch input in the reusable build workflow
- keep skip-existing uploads and overwrite_assets; document the tag dispatch
@domcyrus
domcyrus merged commit 7d9068a into main Sep 3, 2026
21 checks passed
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