mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-04-25 01:25:52 +03:00
[PR #90] Fix elapsed time always showing "0s" in query output #111
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shannon-KeygraphHQ#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KeygraphHQ/shannon/pull/90
Author: @mattiasgeniar
Created: 2/8/2026
Status: 🔄 Open
Base:
main← Head:fix/query-elapsed-time📝 Commits (1)
1768158Fix elapsed time always showing 0s in workflow query output📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
src/temporal/query.ts(+5 -1)📄 Description
Summary
./shannon queryalways displayed "Elapsed: 0s" regardless of how long the workflow had been runningDate.now()inside workflows to return replay-safe timestamps, soelapsedMscomputed workflow-side is always 0Date.now() - progress.startTimefor running workflows, falling back to the workflow-reportedelapsedMsfor completedones
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.