mirror of
https://github.com/hanzoai/insights.git
synced 2026-11-03 00:52:32 +00:00
The tree still named ee in 82 files. Handled by what each one actually needed
rather than by one rule:
- Repointed where a native equivalent exists — APILicensedTest becomes the
native APIBaseTest (this fork licenses nothing, so nothing is license-gated),
and the serializer/model imports that already had homes here.
- Cut the individual tests, not the files, where an enterprise MODEL has no
counterpart — AccessControl, License, ExplicitTeamMembership,
EnterpriseEventDefinition, materialized columns. test_presentation_api.py is
9,572 lines and test_usage_report.py is 6,545; each used the enterprise symbol
in a small minority of its content, and deleting either to save the effort
would have thrown away real coverage.
- Retired the paths that can only fail: the salesforce enrichment providers, the
insights_ai evaluation dags, the ee.hogai.mcp_tool cold-load guard, and
bulk_update_verified — whose 'verified' field lived on the enterprise event
definition, so the base row here has no column to write. It now refuses with
that reason instead of importing a model that is not there.
The gate added in f2956e1 is green, and both import graphs the images run — web
(insights.urls) and worker (start_temporal_worker) — load clean.