Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider - #2392

Merged
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable
Jun 16, 2026
Merged

Backport #2328: feat(web-shared): RelativeTimeCard with shared ContextCard provider#2392
mitul-s merged 6 commits into
stablefrom
backport/pr-2328-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2328 to stable (backport job run).

AI recommendation: This is a self-contained UI feature addition in @workflow/web-shared, which is fully maintained on stable — the modified files (timestamp-tooltip.tsx, event-list-view.tsx, attribute-panel.tsx, styles.css) all exist there, and the base versions of the key files match stable exactly. It also includes real bug fixes (dark-theme Tailwind variant registration, active-card unmount guard) that improve existing tooltip behavior. Note: the new context-card.tsx imports use-reduced-motion from src/hooks/, which is absent on stable, so the backport may need that hook brought along during conflict resolution.

Merge conflicts were resolved by AI (opencode with anthropic/claude-fable-5). Please review the conflict resolution carefully before merging.

…2328)
* feat(web-shared): RelativeTimeCard with shared ContextCard provider
Add a ContextCard provider/trigger and rebuild the timestamp tooltip as a
RelativeTimeCard, giving animated, collision-aware morphing hover cards.
Mount the shared provider in EventListView and AttributePanel.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match vercel/front timestamp format for run/activity fields
Render absolute Created/Started/Completed (and sibling) timestamps using
date-fns in vercel/front's request/activity format (e.g.
"JUN 10 10:16:02.69 GMT-4") via the shared formatLocalMillisecondTime helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): register dark-theme/light-theme Tailwind variants
The context-card arrow tip stroke uses `dark-theme:[--context-card-tip-stroke:#252525]`,
but Tailwind v4 has no built-in `dark-theme` variant, so the utility was silently
dropped and the stroke fell back to its light `#DBDBDB` value — rendering as a white
caret in dark mode. Register the `dark-theme`/`light-theme` custom variants in
styles.css (mirroring vercel/front's geistcn tailwind.css, extended to match the
`.dark`/`[data-theme="dark"]` selectors this package and next-themes use).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): match context card shadow to vercel/front
The --ds-shadow-tooltip token was guessed when added standalone, producing
an oversized/heavy drop shadow. Reproduce front's exact resolved value for
both light and dark themes (including the background-border layer).
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): bridge context card hover gap to stop flicker
The card is positioned `sideOffset` away from the trigger, leaving a
transparent un-hoverable gap that caused the hover card to flicker
(open → close → open) when moving the cursor onto it. Add a transparent
hover bridge inside the floating wrapper that extends the hover surface
by `sideOffset` to meet the trigger edge, keeping the visual spacing
while making the hover surface continuous.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Revert "fix(web-shared): bridge context card hover gap to stop flicker"
This reverts commit 2b961b1.
* docs: simplify changeset description
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove vercel/front references from comments
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web-shared): only clear active context card when the active trigger unmounts
The unmount cleanup had an inverted guard: an unmounting inactive trigger
would clear the shared active card, hiding another trigger's card (and an
unmounting active trigger left a stale card). Guard on === id instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: remove theme-variant comment
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Mitul Shah <mitulxshah@gmail.com>
@changeset-bot

changeset-botBot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ee5955

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

This PR includes changesets to release 16 packages
NameType
@workflow/webPatch
@workflow/web-sharedPatch
@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 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 13, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440671111
✅ 💻 Local Development11260861212
✅ 📦 Local Production11260861212
✅ 🐘 Local Postgres11140981212
✅ 🪟 Windows10100101
❌ 🌍 Community Worlds76976179
✅ 📋 Other568038606
Total5155973815633

❌ Failed Tests

🌍 Community Worlds (97 failed)

redis (18 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

turso (79 failed):

  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • addTenWorkflow | wrun_01KV7TM530Y85FT6PYQW7C6MQ5
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KV7TNWBK4EN187V3FDWMV7ZV
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KV7TMCGJH2S1GPQCBM6QYS3A
  • promiseRaceWorkflow | wrun_01KV7TMH6X2TCKVX1M5416RZK4
  • promiseAnyWorkflow | wrun_01KV7TMKCYY144Y8XGV6PTGR7S
  • importedStepOnlyWorkflow | wrun_01KV7TP7FC2MY9RHCXVHRZET42
  • readableStreamWorkflow | wrun_01KV7TMNJYXPM8V4SFGTK6K1SA
  • hookWorkflow | wrun_01KV7TN3664G5DNHQDZ4DD0R41
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KV7TNAMB7FMZR6EB09E9DEF6
  • webhookWorkflow | wrun_01KV7TNGXX6F9077DK61K4249B
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KV7TNPWP3075BQP5AHXX5NVW
  • sleepingWorkflow | wrun_01KV7TPZ7F6ZZCSJJ5668BBEBQ
  • parallelSleepWorkflow | wrun_01KV7TQEN2KZZSVB3JK1GY3QMP
  • nullByteWorkflow | wrun_01KV7TQK6XE5BXEH88BDYZ0NP9
  • workflowAndStepMetadataWorkflow | wrun_01KV7TQNHBYK0HZCHWFET6JFRR
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KV7TT08G53WAEW0JMFFW916Y
  • writableForwardedFromWorkflowWorkflow | wrun_01KV7TTD4MQ330HXHS36AVR96B
  • writableForwardedFromStepWorkflow | wrun_01KV7TTHKE1RPWAVXYC29F0MDH
  • fetchWorkflow | wrun_01KV7TTPK2CGWNQ7W0KY7TRV3Q
  • promiseRaceStressTestWorkflow | wrun_01KV7TTT30H5MCVPNMJ5MRPGQW
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KV7TYASQJNDJP01R9SDYSJS2
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KV7TYRCBZXJKAMZYPJRYGAV2
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KV7TZ4VQZ97G5W377SARD4WW
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KV7TZ7GNF2DGX4QY2BNAKB35
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KV7TZ9Z760NT4NDV7T259NTW
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KV7TZCDM48VR5TCJZEFD1MPP
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KV7TZSTKNEX4T3KV08K31WMZ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KV7V0MFCCKZ37WDVBJKPX835
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KV7V0SJ313CKZV8SRVWNADEV
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KV7V0ZD4KTC438B7DRX2TNA0
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KV7V155Z2P283E1CE345HBNX
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KV7V1EQNZ0BVZEBGTZWMKMAP
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KV7V1P9PTMDQ1CBDQ4MAHXEB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KV7V26W2EG1JQ7493SPK26NC
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KV7V2G82WXQHWXVVSK1MCFKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KV7V2PDMQPQWCN9823EWXH48
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KV7V2RNJWSTQFP6M3JKRN2CM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KV7V3929YSGBV68SC5A9QCAC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KV7V3F0038YWSJCS4HVRG3BR
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KV7V3P46XG63F3XSWHBC90M7
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KV7V3X84NHC352WNJ7WDYMPP
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KV7V44B6XG4KGWZCA6QZ91BB
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KV7V4BFA410T3NVRNDX5XTHX
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KV7V4JD0953V40GPAM1A8RTW
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KV7V4Z820NDYBPFDGY77CDC4
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KV7V58E6MCZQ020N0DD7MBTP
  • cancelRun - cancelling a running workflow | wrun_01KV7V5FH428QBSTYSX0C6KYRP
  • cancelRun via CLI - cancelling a running workflow | wrun_01KV7V5RZTGH78PGTGTSPK136Y
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KV7V65KE14HSQ4B8GV09C9N3
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KV7V6P9Z0KC54AY0PWQB10N5
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KV7V70WWF9RB36Y10CJM567P
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KV7V77TN4437EX9XB0H73CFV
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KV7V7A4Q90J2TNVBPPJSFPHQ
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KV7V7CBXXBBX2WFRNNY8564G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9407
✅ example9407
✅ express9407
✅ fastify9407
✅ hono9407
✅ nextjs-turbopack9902
✅ nextjs-webpack9902
✅ nitro9407
✅ nuxt9407
✅ sveltekit9407
✅ vite9407
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9506
✅ express-stable9506
✅ fastify-stable9506
✅ hono-stable9506
✅ nextjs-turbopack-canary82019
✅ nextjs-turbopack-stable10100
✅ nextjs-webpack-canary82019
✅ nextjs-webpack-stable10100
✅ nitro-stable9506
✅ nuxt-stable9506
✅ sveltekit-stable9506
✅ vite-stable9506
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9407
✅ express-stable9407
✅ fastify-stable9407
✅ hono-stable9407
✅ nextjs-turbopack-canary81020
✅ nextjs-turbopack-stable10001
✅ nextjs-webpack-canary81020
✅ nextjs-webpack-stable10001
✅ nitro-stable9407
✅ nuxt-stable9407
✅ sveltekit-stable9407
✅ vite-stable9407
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10100
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64180
✅ turso-dev302
❌ turso3790
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9506
✅ e2e-local-dev-tanstack-start-stable9506
✅ e2e-local-postgres-nest-stable9407
✅ e2e-local-postgres-tanstack-start-stable9407
✅ e2e-local-prod-nest-stable9506
✅ e2e-local-prod-tanstack-start-stable9506

📋 View full workflow run

Comment thread.changeset/relative-time-card.md Outdated
Comment thread.changeset/web-theme-variants.md Outdated
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread.changeset/relative-time-card.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@mitul-s
mitul-s merged commit 161431b into stableJun 16, 2026
158 of 164 checks passed
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

@VaguelySerious@mitul-s