Skip to content

Show pending runs as gray animated stripes in trace viewer - #2520

Merged
mitul-s merged 2 commits into
mainfrom
c-ms/pending-trace-viewer-gray-indicator
Jun 18, 2026
Merged

Show pending runs as gray animated stripes in trace viewer#2520
mitul-s merged 2 commits into
mainfrom
c-ms/pending-trace-viewer-gray-indicator

Conversation

@mitul-s

Copy link
Copy Markdown
Contributor

Summary

  • Add a distinct pending segment status for workflow runs in the new trace viewer
  • Render pending segments with gray styling and the same animated stripe overlay used for running segments
  • Keep running/received segments blue with blue stripes

Test plan

  • pnpm vitest run packages/web-shared/src/components/new-trace-viewer/utils.test.ts
  • Start local observability UI against a workbench with WORKFLOW_LOCAL_QUEUE_CONCURRENCY=1
  • Trigger a long-running workflow, then a second workflow, and confirm the pending run shows gray stripes (not blue)

Made with Cursor

mitul-sand others added 2 commits June 18, 2026 13:04
Pending was incorrectly using the blue running indicator; it now has its own segment status and gray stripe styling.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@mitul-s
mitul-s requested a review from a team as a code ownerJune 18, 2026 20:02
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b3e068f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
NameType
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/cliPatch
@workflow/nitroPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@workflow/corePatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch

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

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@mitul-s
mitul-s enabled auto-merge (squash) June 18, 2026 21:10
@mitul-s
mitul-s merged commit d575c7e into mainJun 18, 2026
59 checks passed
@mitul-s
mitul-s deleted the c-ms/pending-trace-viewer-gray-indicator branch June 18, 2026 21:17
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for d575c7e (AI decision).

All non-changeset changes are confined to packages/web-shared/src/components/new-trace-viewer/, which does not exist on stable (verified: stable only has the older trace-viewer/ directory). The commit builds on the main-only new trace viewer, so it has no target to backport to.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

d575c7e1a920f305a299d4afd2bcacb1d08cf96d

@github-actionsgithub-actionsBot mentioned this pull request Jun 18, 2026
pranaygp added a commit that referenced this pull request Jun 18, 2026
…ch-optimistic
* origin/main:
Show pending runs as gray animated stripes in trace viewer (#2520)
[world-vercel] Route v4 event requests through global fetch (#2514)
[core] Send workflowName with step events (#2511)
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
pranaygp added a commit that referenced this pull request Jun 18, 2026
…testing
* origin/main:
perf(core): decouple workflow VM seed/clock from startedAt (#2525)
[world-local] [core] Cache local dev server port per process (#2522)
Show pending runs as gray animated stripes in trace viewer (#2520)
[world-vercel] Route v4 event requests through global fetch (#2514)
[core] Send workflowName with step events (#2511)
Stamp run IDs on world spans (#2508)
Reject empty-string hook tokens in createHook() (#2490)
perf(core): cache compiled workflow-bundle vm.Script across replays (#2471)
perf(core): drain consumable replay events synchronously (#2473)
perf(core): lazy inline step start (save one world round-trip per step) (#2478)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mitul-s@karthikscale3