Skip to content

Fix Windows GNU exports and improve coverage enforcement - #1683

Merged
oferchen merged 1 commit into
masterfrom
fix-ci-errors-and-improve-best-practices
Oct 30, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-ci-errors-and-improve-best-practices

Conversation

@oferchen

@oferchen oferchen commented Oct 30, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • wrap the Windows GNU exception helpers with #[unsafe(no_mangle)] to satisfy Rust 1.87's safety requirements
  • add a reusable coverage enforcement script that prints summary metrics before comparing thresholds
  • update the CI workflow to generate JSON and lcov coverage reports, then validate coverage via the new script

Testing

  • cargo check -p rsync-windows-gnu-eh
  • python3 tools/check_coverage.py /tmp/coverage-summary.json --min-lines 95 --min-functions 95

@oferchen
oferchen merged commit 400deac into master Oct 30, 2025
@oferchen
oferchen deleted the fix-ci-errors-and-improve-best-practices branch October 30, 2025 12:47
oferchen added a commit that referenced this pull request Sep 8, 2026
…#7745)

The eleven docs that cite SIGNAL_CHECK_INTERVAL were line-accurate when
written, but the code moved twice since: PR #5908 lowered the
single-listener WouldBlock sleep from 500ms to 50ms and deleted the
constant, and PR #7681 replaced accept-side sleep-polling with a
readiness wait (poll(2) in PollAcceptEngine, kevent(2) behind the
opt-in macos-kqueue feature in KqueueAcceptEngine) in
server_runtime/accept_engine.rs.

Bring the living documents back in line with the tree:

- kqueue-pipeline-audit: mark the two daemon-accept surface rows
  migrated (KQ-S.1 landed via #6217/#7681) instead of describing the
  deleted sleep-poll loops as the current implementation.
- daemon-tpc-benchmark-plan: bound SIGTERM-to-drain latency by the
  accept engine's 50ms/100ms signal-check cadence, and mark tracker
  #1683 completed.
- daemon-event-loop-multiplexing: add a status note to the follow-up
  list and tick #1683, which #5908/#7681 closed.
- daemon-thread-per-connection-scalability: mark tracker #1683
  completed in the references list.
- dis-4a, dis-3, daemon-coldstart-profile, daemon-coldstart-rebench:
  record that DIS-4.a R1 has since landed, next to the sections that
  rank it as the top open bottleneck; retarget the DIS-2 file index
  entry that still pointed the constant at listener.rs.

The audit bodies keep their historical line citations: they describe
the tree that was measured. daemon-thread-per-connection.md,
async-daemon-listener.md (pinned 'Last verified: 2026-05-01'), and
daemon-async-listener-rfc.md are left untouched as dated snapshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant