feat(deployments): human-readable version descriptions#3077
Merged
waleedlatif1 merged 1 commit intostagingfrom Jan 30, 2026
Merged
feat(deployments): human-readable version descriptions#3077waleedlatif1 merged 1 commit intostagingfrom
waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile OverviewGreptile SummaryThis PR enhances deployment version descriptions by resolving IDs to human-readable names. The implementation adds a new Key Changes:
Implementation Quality:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant DeploymentHook as useGenerateVersionDescription
participant Compare as formatDiffSummaryForDescriptionAsync
participant Resolve as resolveValueForDisplay
participant SelectorRegistry as Selector Registry
participant API as Backend APIs
User->>DeploymentHook: Generate version description
DeploymentHook->>DeploymentHook: Fetch current & previous workflow states
DeploymentHook->>Compare: generateWorkflowDiffSummary(current, previous)
Compare-->>DeploymentHook: WorkflowDiffSummary
DeploymentHook->>Compare: formatDiffSummaryForDescriptionAsync(summary, currentState, workflowId)
loop For each modified block
Compare->>Compare: Extract changes (limit 3 per block)
loop For each change
Compare->>Resolve: resolveValueForDisplay(oldValue, context)
Resolve->>Resolve: Check if resolvable (UUID, credential, etc)
Resolve->>Resolve: Extract extended context from block
alt Is credential field
Resolve->>API: fetchCredentialSetById or fetchOAuthCredentialDetail
API-->>Resolve: Credential name
else Is workflow selector
Resolve->>SelectorRegistry: getSelectorDefinition('sim.workflows')
SelectorRegistry->>API: fetchById(workflowId)
API-->>Resolve: Workflow name
else Is selector type (channel, file, etc)
Resolve->>SelectorRegistry: resolveSelectorForSubBlock
SelectorRegistry->>API: fetchById or fetchList
API-->>Resolve: Display label
end
Resolve-->>Compare: ResolvedValue with displayLabel
Compare->>Resolve: resolveValueForDisplay(newValue, context)
Note over Resolve,API: Same resolution process
Resolve-->>Compare: ResolvedValue with displayLabel
end
end
Compare-->>DeploymentHook: Formatted diff text with human-readable names
DeploymentHook->>API: POST /api/wand (generate AI description)
API-->>DeploymentHook: Streaming description
DeploymentHook-->>User: Final version description
|
3fef949 to
7658891
Compare
7658891 to
6cb47ac
Compare
6cb47ac to
74c0ba4
Compare
74c0ba4 to
98dfdf9
Compare
98dfdf9 to
1e3ec1f
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
1e3ec1f to
088495b
Compare
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Testing
Tested manually
Checklist