Skip to content

fix: restore post-merge build integrity - #19

Merged
KuGouGo merged 1 commit into
mainfrom
fix/post-merge-integrity
Jul 27, 2026
Merged

fix: restore post-merge build integrity#19
KuGouGo merged 1 commit into
mainfrom
fix/post-merge-integrity

Conversation

@KuGouGo

@KuGouGo KuGouGo commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Findings fixed

The merged optimization passed the PR quick check but broke the full Sync Rules workflow. This repair restores the missing cross-file implementation and aligns tests with the new fail-closed parser behavior.

Fixes

  • add the missing domain compaction implementation used by export-domain-rules.py
  • update strict CIDR parser tests
  • reuse existing RULES_COMPILE_JOBS with validated, bounded concurrency
  • fail immediately when a compiler exits successfully without a non-empty artifact
  • fix zero-count statistics and reduce subprocess overhead
  • remove non-equivalent REGEX-to-SUFFIX fallback rules
  • remove unverified performance claims and document exact platform conversion behavior
  • add binary compile contract and overlap audit tests

Verification

  • REQUIRE_SHELLCHECK=1 make validate: 28/28 tests passed
  • REQUIRE_SHELLCHECK=1 make preflight: passed, including text artifact build
  • focused domain, Fake-IP, binary contract, and overlap tests: passed

- include the missing domain compaction implementation and tests
- align strict CIDR parser tests with fail-closed behavior
- reuse RULES_COMPILE_JOBS and its bounded concurrency validation
- verify every compiled binary exists and is non-empty
- fix zero-count statistics and reduce per-file subprocess overhead
- remove non-equivalent regex fallback rules and unverified benchmarks
- document platform conversion loss without approximating semantics
@KuGouGo
KuGouGo merged commit 54b78f8 into main Jul 27, 2026
1 check passed
@KuGouGo
KuGouGo deleted the fix/post-merge-integrity branch July 27, 2026 23:05
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