Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Deploy preview with details which data is going to be updated for each file changed (similar to terraform plan command) #993

Open
sir-alex opened this issue Dec 5, 2024 · 2 comments · May be fixed by #994
Labels
enhancement New feature or request

Comments

@sir-alex
Copy link

sir-alex commented Dec 5, 2024

What problem does this feature solve?

Before deploying changes to the cloud, it’s beneficial to preview what changes will be submitted. This is similar to the terraform plan command.

While there is a preview flag for npx checkly deploy -p, it only provides a list of logicalIds without showing the exact content of the changes. Without these details, it becomes difficult to understand what will be updated in the cloud, as demonstrated in the image below:
image

Ideally, a standalone command like npx checkly preview would be available for previews, similar to:

terraform plan
cdk diff
pulumi preview

How would you implement this feature?

Proposed Implementation Steps:

  1. Retrieve the current data from the server via API.

  2. Gather the data to be sent to the API.

  3. Compare the differences and display them in the CLI in a format that clearly shows the current values and the proposed updates for easy understanding.

@sir-alex sir-alex added the enhancement New feature or request label Dec 5, 2024
@sorccu
Copy link
Collaborator

sorccu commented Dec 5, 2024

Hi @sir-alex, yes that's a great idea and something we have planned already. I cannot provide an estimate right now, but it is something that we will be working on in the near future.

@sir-alex
Copy link
Author

sir-alex commented Dec 5, 2024

Hi @sir-alex, yes that's a great idea and something we have planned already. I cannot provide an estimate right now, but it is something that we will be working on in the near future.

Hi @sorccu
I have proposed my solution in this PR #994
I tried to describe as more details as possible

Please have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants