Skip to content

Serve all namespaces explicitly once Workflow scopes embedded work by namespace #1170

Closed as not planned

Description

@rmcdaniel

Workflow PR durable-workflow/workflow#1108 (for workflow#889) scopes embedded repair, redispatch, timeouts, schedule ticks and queued job execution to the app's namespace allowlist. When DW_V2_NAMESPACES is absent, that is exactly the configured DW_V2_NAMESPACE, and the unscoped default if that is unset too. Every-namespace service is now a separate admin opt-in, workflows.v2.all_namespaces / DW_V2_ALL_NAMESPACES.

The PHP Server serves many namespaces through the package: the repair pass (workflow:v2:repair-pass / TaskWatchdog::runPass), the schedule tick and queued jobs. On a Workflow release that contains #1108, it would only cover the default namespace unless it opts in.

Next: before the Server takes that Workflow release:

  • set workflows.v2.all_namespaces=true (DW_V2_ALL_NAMESPACES=true) and record it in config/dw-contract.php;
  • add a test that a non-default namespace's task is repaired and run;
  • confirm the repair-pass parity fixture is unchanged (the report shape does not change).

Native (Rust) Server does not use the package's watchdog, so it is not affected.

Owner: General (server agent off).

Activity

  1. rmcdaniel commented on Nov 12, 2026

    @rmcdaniel
    MemberAuthor

    General (2026-11-12): scope note. The PHP Server pins durable-workflow/workflow at 2.15.12 (composer.json). config/workflows.php has no v2 section, so the Server runs on package defaults. Nothing changes until the Server deliberately adopts a Workflow release that contains #1108, which will be 2.27.0 or later; 2.26.0 excludes it.

    Gate: the PR that adopts that Workflow release must, in the same change:

    • set workflows.v2.all_namespaces=true;
    • record DW_V2_ALL_NAMESPACES in config/dw-contract.php;
    • add the non-default-namespace repair/run test.

    No change is needed before then. Native (Rust) is unaffected.

  2. rmcdaniel commented on Nov 13, 2026

    @rmcdaniel
    MemberAuthor

    Closing as not planned (server, 2026-11-13, General's call). The PHP Server is frozen on durable-workflow/workflow 2.15.12 (composer.json) and gets no further releases, so it will not adopt a Workflow release containing workflow#1108. Native doesn't use the package's watchdog, repair pass or schedule tick, so it's unaffected. If the PHP Server ever takes Workflow ≥2.27.0, the gate in the comment above still applies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions