openforce/custom_objects
Goose 4def894801
Some checks failed
Build, Test, and Deploy / build-and-deploy (push) Failing after 29s
feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B)
- Add zero-trust AST-based formula engine in custom_objects/formula_engine.py supporting arithmetic, logical, string, and date operations.
- Enforce strict AST whitelisting and attribute/function safety checks.
- Add cycle detection and topological sorting of formula dependencies.
- Extend CustomFieldDefinition model with formula_expression and formula_return_type fields.
- Wire pre-save signals to evaluate formula fields across standard models and CustomRecord.
- Expose AST syntax validator endpoint at POST /api/custom-fields/validate-formula/.
- Add comprehensive test suite in tests/test_formula_engine.py with 100% pass rate.
2026-09-27 07:17:04 +00:00
..
migrations feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B) 2026-09-27 07:17:04 +00:00
__init__.py Scaffold Phase 1 CRM models and apps 2026-09-26 07:21:21 +00:00
apps.py feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B) 2026-09-27 07:17:04 +00:00
formula_engine.py feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B) 2026-09-27 07:17:04 +00:00
models.py feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B) 2026-09-27 07:17:04 +00:00
schema_engine.py feat(crm, custom_objects): implement Sprint 4.1 dynamic custom fields on standard objects with GIN indexes and strict validation 2026-09-26 17:32:45 +00:00
serializers.py feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B) 2026-09-27 07:17:04 +00:00
signals.py feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B) 2026-09-27 07:17:04 +00:00
views.py feat(formulas): implement safe AST formula execution engine and pre-save evaluation signals (Sprint 4.5A & 4.5B) 2026-09-27 07:17:04 +00:00