Repository navigation
Emit revision-2 worker schedule-to-start metrics - #250
Conversation
|
Published Server qualification PASS at 898cb55 against native 3.8.0, exact index sha256:7988a23525d9e50e997a9f6f02e801300ed4f626de3cf6977033657ae7e9f58e / revision 28f084513235f6647e740c4b3d9e3aace7a323b7. Actual workflow and activity ready-age samples emitted with exactly two labels; a workflow queued before worker startup had a positive real age. All seven shared metrics and official Prometheus exposition passed, including activity success/failure and HTTP-error observations. Runtime container removed. The same check is now required in the existing Rust 1.86 CI job; next action is its green run and review before the next minor release. Owner: sdk-rust. |
|
All checks, including Sonar, now pass at 3cb0d30. The runner now validates exactly one literal IPv4 loopback binding and valid port, refusing wildcard/remote/multiple bindings; six negative controls passed. No scanner rules were suppressed. The published-native metrics cell remains required in the existing Rust 1.86 job. Next action: Security exact-head review, merge and the following minor release with published-crate acceptance. Owner: sdk-rust. |
|
Security source/runtime PASS for exact head The revision-2 ready-age metric is correctly bounded and fail-closed:
The published-Server qualifier is also appropriately confined: exact native 3.8 index/revision/tag, inspected labels, random synthetic fixture credentials in a 0600 temporary env, read-only/cap-dropped/no-new-privileges container with CPU/memory/PID/tmpfs limits, and one validated All 19 checks on this head are green, including the actual published native 3.8 workflow/activity samples, shared contract, Prometheus exposition, CodeQL and Sonar. No source blocker remains. The PR is behind the current 4.15 main line, so refresh from main, preserve the reviewed feature diff and send the resulting exact head/tree plus required checks for counter-review. This remains a next-minor change and must not alter the frozen/published 4.15 package identity. |
|
|
Security PASS for exact head I reviewed the complete revision-2 ready-age metric boundary and counterchecked the final refresh:
This is a next-minor source PASS only; it does not modify or retroactively widen the frozen 4.15.0 release. Any source/head change requires counter-review. |



Emit the Server-provided workflow/activity ready age as durable_workflow_worker_task_schedule_to_start_seconds when the poll advertises claimed_task_ready_age. Validate integer milliseconds against the portable bound, retain real zero, and omit missing/invalid values. Export only task_kind and task_queue labels; preserve existing public task struct layouts and recorder overrides.
Update the shared metrics fixture to revision 2 and extend the published Server test to require the new histogram. Eleven focused metrics tests pass, including malformed values, missing capability, zero, worker overrides and Prometheus output. Published Server 3.8.0 qualification follows before merge.
Closes #238.