Skip to content

NER-381: Split remaining oversized sync test exception - #121

Merged
freezscholte merged 1 commit into
mainfrom
codex/ner-381-oversized-rust-exceptions
Jul 5, 2026
Merged

freezscholte merged 1 commit into
mainfrom
codex/ner-381-oversized-rust-exceptions

Conversation

@freezscholte

@freezscholte freezscholte commented Jul 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • split crates/forge-cli/tests/forge_sync.rs by scenario group, moving later peer/divergence/conflict scenarios into forge_sync_peer.rs
  • move shared sync integration helpers into tests/support/sync.rs
  • remove the old forge_sync.rs line-count allowlist entry
  • document forge-content-native/src/lib.rs as the single ADR-backed line-count exception with a no-growth cap

File sizes

  • crates/forge-store/src/lib.rs: 191 lines
  • crates/forge-cli/src/main.rs: 107 lines
  • crates/forge-cli/tests/forge_sync.rs: 2,266 lines
  • crates/forge-cli/tests/forge_sync_peer.rs: 1,679 lines
  • crates/forge-cli/tests/support/sync.rs: 761 lines
  • crates/forge-content-native/src/lib.rs: 4,730 lines, justified and capped

Verification

  • rtk cargo fmt --all --check
  • scripts/check-rust-line-count.sh
  • rtk cargo test -p forge-cli (325 tests / 36 suites)
  • rtk cargo test --workspace (603 tests / 62 suites)
  • rtk cargo clippy --workspace --all-targets -- -D warnings
  • rtk bash scripts/ci.sh (PASS=95 FAIL=0)

Linear: NER-381


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@freezscholte
freezscholte merged commit bea67c6 into main Jul 5, 2026
1 check passed
@freezscholte
freezscholte deleted the codex/ner-381-oversized-rust-exceptions branch July 5, 2026 02:17
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.

1 participant