---
id: TST-PFM-INT-462
title: extension handlers table
kind: integration
product_area: platform
module: integrations
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
  macroservice-libraries: 54536a441935c6e09fdb7f96f0bec71c52ba4e03
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
repository: services-platform
files:
  - modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js
implements: []
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
isolation: >-
  Use the suite-owned database fixtures and its declared cleanup; prepare the test database before
  integration or lifecycle execution.
evidence:
  - >-
    services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js
test_cases:
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#modules/extensions/db/extension-handlers.table.ts
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#accepts
      a Lambda handler with its defaults: active, capturing nothing
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#refuses
      a second handler of one name in a tenant, by the name key
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#accepts
      the same name in another tenant
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#refuses
      a kind or status outside its list, by their checks
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#refuses
      a target that is not an object and implements that is not an array, by their checks
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#refuses
      a rule without its definition, and a definition on any other kind, by the definition check
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#accepts
      a rule with its definition
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#refuses
      a secret reference outside the handler’s own name, by the secret check
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#accepts
      the handler’s own secret name
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#refuses
      a timeout beyond thirty seconds, by the timeout check
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#reads
      only its own tenant’s handlers as the application role
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#reads
      nothing with no tenant at all
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js#refuses
      to write a handler into another tenant, by the policy
    provenance: test
dependency_evidence:
  provenance: test
  source: >-
    services-platform:modules/extensions/tests/integration/db/extension-handlers.table.integration.spec.js
  reviewed:
    - Suite introduction
    - Fixture setup
    - Client substitutions
    - Assertions and cleanup
---
# extension handlers table

## Verification Boundary

This database and service suite exercises extension handlers table. Its registration records the executable definition; no run result is asserted.

## What This Suite Proves

The suite contains executable checks, but no detailed scenario binding is verified in this pass.

## What It Does Not Prove

In-process execution does not establish deployed infrastructure or a real provider response. Several bindings can supply different parts of a detailed scenario; no single-file completeness is implied.

## Real Dependencies and Test Doubles

The suite definition identifies its database fixtures and replaced clients, hooks, clocks or executors. Integration runs use the prepared database; lifecycle runs exercise the in-process route or adapter path.

## Must Not Be Doubled

The database constraints, transactions and service behavior claimed by an integration binding must execute. Replaced external seams cannot establish live provider or infrastructure behavior.
