Repository navigation
improvement(cli): say what is live after a deploy, and run a pinned deployment version - #10411
Merged
Merged
Conversation
…eployment Source apply, plan and create answered needsRedeployment: false both when the draft matched the live version and when nothing was deployed. They now also return deployedVersion (null when undeployed), read in the same snapshot as the drift check.
…eployment version - workflows deploy, rollback, versions activate and deployment status lead with a derived live line (serving, still activating, failed, or matching the draft) and a next command; human output drops empty lint categories - source apply prints live (not deployed / matches / draft ahead) and, with --deploy, the honest activation state instead of the admitted version - workspaces source apply lists each written workflow with its id, live version and whether the draft serves - workflows run --deployment-version <n> runs a deployed version; refused beside any flag that runs the draft, and works with --async
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 27 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Contributor
[Medium impact] The reviewed changes appear safe to merge. SummaryThe PR adds live-version messages, pinned workflow runs, and deployment details in source-apply results.
Reviews (2) · Last reviewed commit: "fix(cli): deploy a no-op apply while ano..." · Reviewed by Greptile |
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
This branch was previously deployed
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
sim workflows deploy,rollback,activateanddeployment statuslead with aliveline built only from the response:version 7, serving (this deploy),version 6 still serving; version 7 activating(next: deployment status),… failed: <reason>(next: deploy again),version 7 replaced by a later deployment,not deployed,version 7, matches the draft/draft has undeployed changesnextissim workflows run <id>, which runs that deploymentdeployedVersionbesideneedsRedeployment, read from one snapshot, so "never deployed" and "deployed and current" no longer look the same;source applyprintslive, and--deployno longer reports an admitted version as deployed while it activatessim workflows run --deployment-version <n>runs a pinned deployment version (sync,--follow,--async); refused beside any flag that runs the draftsources/sinkslistsType of Change
Testing
runtime/deployment-live.test.tsover every deployment state (pending, failed, overtaken, superseded, old servers withoutdeployedVersion)workflow-source-apply,workspace-source-apply,workflow-run-follow,resulttests; full sim-cli suite (1222)apply-workflow-source.integration.ts(real Postgres):deployedVersionon apply, dry run, revert, never deployeddeployment-status.test.ts; type-check; lint; generateChecklist
test-auditauthoring gate)