Skip to content

ci: gate LeanTypeDual fork invariants - #148

Merged
AsafMah merged 2 commits into
devfrom
asafmah-gate-fork-invariants
Sep 3, 2026
Merged

ci: gate LeanTypeDual fork invariants#148
AsafMah merged 2 commits into
devfrom
asafmah-gate-fork-invariants

Conversation

@AsafMah

@AsafMah AsafMah commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a fast source/configuration gate for LeanTypeDual identity, versioning, flavors, privacy manifests, retained fork integrations, dictionary packaging, and release workflow coverage
  • add a packaged-APK gate for the exact four release artifacts, effective IDs/minSdk/INTERNET policy, and recursive dictionary contents
  • run the source gate in unit CI and the artifact gate after all four signed release APKs are assembled
  • add fixture-driven mutation coverage and document both commands

Validation

  • python tools/check_fork_invariants.py
  • python -m unittest discover -s tools/tests -v (34 tests)
  • Python compilation, workflow YAML parsing, and git diff --check

Implementation tradeoff

The source gate is intentionally a fast, strict prefilter using stdlib structural parsing. Release CI provides the authoritative packaged check through apkanalyzer plus ZIP asset inspection without making every PR assemble four APKs.

AsafMah and others added 2 commits September 3, 2026 17:15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@AsafMah
AsafMah merged commit 1dc09e2 into dev Sep 3, 2026
1 check 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.

1 participant