Skip to content

feat(addons): add fulfillment executor foundation - #520

Open
hedon77 wants to merge 1 commit into
Panelica:mainfrom
hedon77:feat/addon-executor-foundation
Open

hedon77 wants to merge 1 commit into
Panelica:mainfrom
hedon77:feat/addon-executor-foundation

Conversation

@hedon77

@hedon77 hedon77 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Stage 1: add-on fulfilment foundation

This adds the technical foundation for automatic product add-on fulfilment. It does not connect payment activation, cancellation, admin screens or any real service module.

Added

  • Additive migrations for product_addons, service_addons, service_addon_executions and service_addon_execution_attempts.
  • ServiceAddonModuleInterface and AddonInstruction.
  • AddonExecutionService with atomic claims, idempotency, validation, retry state and attempt history.
  • ExecuteServiceAddonJob, pnlcs:addon-executions:process and a five-minute scheduler entry.
  • AddonTestModule under modules/Servers/AddonTest, registered only in local/testing and only with ADDONS_TEST_MODULE_ENABLED=true.
  • ADDONS_FULFILLMENT_ENABLED=false feature flag in config/addons.php.
  • EN/PL/DE/TR/ZH executor messages.
  • Developer documentation.

Safety

  • Billing status and technical status remain separate.
  • No existing add-ons are backfilled or executed.
  • The test module has no manifest and cannot be discovered in production.
  • Completed executions cannot run again.
  • No remote module is changed.

Tests

  • AddonExecutorTest: 18 passed, 56 assertions.
  • Add-on billing regression, module completeness and translation suite: 101 passed, 813 assertions, one skipped.
  • Provisioning/module-queue regression: 31 passed, 221 assertions.

This branch has not been deployed

No deployments
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