fix(core): remove redundant hc_ prefix from health check correlationId#1678
Conversation
The correlationId was generated as hc_${generateId()}, but
generateHealthCheckRunId() already adds wrun_hc_, producing
wrun_hc_hc_... Similarly, getHealthCheckStreamName() adds
__health_check__, making the hc_ prefix in correlationId redundant.
🦋 Changeset detectedLatest commit: e06029a The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📊 Benchmark Results
workflow with no steps💻 Local Development
workflow with 1 step💻 Local Development
workflow with 10 sequential steps💻 Local Development
workflow with 25 sequential steps💻 Local Development
workflow with 50 sequential steps💻 Local Development
Promise.all with 10 concurrent steps💻 Local Development
Promise.all with 25 concurrent steps💻 Local Development
Promise.all with 50 concurrent steps💻 Local Development
Promise.race with 10 concurrent steps💻 Local Development
Promise.race with 25 concurrent steps💻 Local Development
Promise.race with 50 concurrent steps💻 Local Development
workflow with 10 sequential data payload steps (10KB)💻 Local Development
workflow with 25 sequential data payload steps (10KB)💻 Local Development
workflow with 50 sequential data payload steps (10KB)💻 Local Development
workflow with 10 concurrent data payload steps (10KB)💻 Local Development
workflow with 25 concurrent data payload steps (10KB)💻 Local Development
workflow with 50 concurrent data payload steps (10KB)💻 Local Development
Stream Benchmarks (includes TTFB metrics)workflow with stream💻 Local Development
stream pipeline with 5 transform steps (1MB)💻 Local Development
10 parallel streams (1MB each)💻 Local Development
fan-out fan-in 10 streams (1MB each)💻 Local Development
SummaryFastest Framework by WorldWinner determined by most benchmark wins
Fastest World by FrameworkWinner determined by most benchmark wins
Column Definitions
Worlds:
❌ Some benchmark jobs failed:
Check the workflow run for details. |
🧪 E2E Test Results❌ Some tests failed Summary
❌ Failed Tests🌍 Community Worlds (74 failed)mongodb (7 failed):
redis (7 failed):
turso (60 failed):
Details by Category✅ ▲ Vercel Production
✅ 💻 Local Development
✅ 📦 Local Production
✅ 🐘 Local Postgres
✅ 🪟 Windows
❌ 🌍 Community Worlds
✅ 📋 Other
|
There was a problem hiding this comment.
Pull request overview
This PR removes a redundant hc_ prefix from the health check correlationId generation in @workflow/core, since the derived identifiers already add health-check-specific prefixes.
Changes:
- Generate health check
correlationIdas a raw ULID (nohc_prefix) to avoid doubledhc_hc_in derived IDs. - Add a changeset marking this as a patch release for
@workflow/core.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/core/src/runtime/helpers.ts | Updates health check correlationId generation to avoid redundant prefixing in derived runId/stream name. |
| .changeset/fix-health-check-correlation-id.md | Adds a patch changeset documenting the correlationId prefix fix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
#1678) The correlationId was generated as hc_${generateId()}, but generateHealthCheckRunId() already adds wrun_hc_, producing wrun_hc_hc_... Similarly, getHealthCheckStreamName() adds __health_check__, making the hc_ prefix in correlationId redundant.
Summary
hc_prefix from the health checkcorrelationIdgeneration, which was redundant sincegenerateHealthCheckRunId()andgetHealthCheckStreamName()already add their own prefixeswrun_hc_hc_01KNT.../__health_check__hc_01KNT...wrun_hc_01KNT.../__health_check__01KNT...