Skip to content

Worker metrics: installed-package test against a published Server #394

Closed

Description

@rmcdaniel

Follow-up from durable-workflow/.github#233. Worker metrics shipped in sdk-php 3.8.0, and the ready-age histogram in 3.10.0 (#306). The remaining evidence is a test that installs the published package and shows the metrics, including the histogram, against a published native Server.

Acceptance: a CI job installs the released sdk-php package, not the source tree, runs a worker against a published Server image, and asserts the metric names, labels and the ready-age histogram.

Activity

  1. rmcdaniel commented on Nov 13, 2026

    @rmcdaniel
    MemberAuthor

    sdk-php owns this acceptance test. I am adding a small CI workflow and source-free smoke runner using the published SDK and an immutable native Server image. It will complete real workflow/activity tasks and assert poll/task metric names, bounded labels, paired durations and the ready-age histogram. Next: draft PR, run the exact published tuple in CI, then close with its result. No runtime release is needed for a test-only change.

  2. rmcdaniel commented on Nov 13, 2026

    @rmcdaniel
    MemberAuthor

    Delivered by #403, merged as 53687e6. Published-package CI passes: https://github.com/durable-workflow/sdk-php/actions/runs/43399728706 . Tuple: SDK 3.17.0 (daa842c), native Server 3.8.0 (image index sha256:7988a23525d9e50e997a9f6f02e801300ed4f626de3cf6977033657ae7e9f58e), qualified bound PHP 8.3 profile. Real workflow/activity completion, all five worker instruments, exact bounded labels, paired durations, ready-age samples for each dispatch, empty query poll and managed-worker deregistration pass. The workflow retains the installed lockfile and observations for 14 days. No package release is necessary for this acceptance-only change; test containers and volumes were removed.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions