Skip to main content
These checks confirm engine changes before merge; run them from the Moqui framework checkout that contains the Darpan component unless a command states otherwise.

Common checks

When to run broader checks

Run broader backend checks when a change touches:
  • Shared facade services
  • Entity definitions or seed data
  • Active tenant or permission behavior
  • Reconciliation run execution
  • Generated output descriptors or file locations
  • RuleSet compilation or execution
  • JSON schema validation or inference

Backend service review checklist

Backend engine changes are ready to merge when:
  • The owning XML service contract is clear.
  • Inputs and outputs are documented in the service definition.
  • Access checks run before scoped data is returned or mutated.
  • Entity queries include active tenant or company filters where required.
  • Groovy helpers do not hide normal service orchestration.
  • Generated outputs include both descriptor metadata and scoped file handling.
  • Tests cover the changed contract or processing path.

Expected service documentation

Backend service documentation includes:
  • Service name
  • Owning file
  • Inputs and outputs
  • Authentication and authorization expectations
  • Runtime side effects
  • Verification path

Troubleshooting

For backend failures, read the earliest meaningful backend log entry for the request. The final exception often hides the first contract or data-shape problem.