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(snapshot): add --snapshotId flag to push and preview commands #387

Merged
merged 14 commits into from
Aug 3, 2021

Conversation

y-lakhdar
Copy link
Contributor

https://coveord.atlassian.net/browse/CDX-514

Proposed changes

Pushing or previewing a large snapshot leads to a timeout with no possible action.
The idea is to add a --snapshotId to both org:config:push and org:config:preview commands in case the manipulated snapshot leads to a SnapshotOperationTimeoutError error.

If that is the case, the user will still be able to preview or push his snapshot once idle.

Testing

  • Unit Tests:
  • Functionnal Tests:
  • Manual Tests: Pushed and preview a large snapshot causing a SnapshotOperationTimeoutError error

CDX-514

Copy link
Collaborator

@louis-bompart louis-bompart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about push

packages/cli/src/commands/org/config/preview.ts Outdated Show resolved Hide resolved
packages/cli/src/commands/org/config/push.ts Outdated Show resolved Hide resolved
y-lakhdar and others added 2 commits July 29, 2021 11:14
Co-authored-by: Louis Bompart <lbompart@coveo.com>
Co-authored-by: Louis Bompart <lbompart@coveo.com>
packages/cli/src/commands/org/config/push.ts Outdated Show resolved Hide resolved
@y-lakhdar y-lakhdar merged commit 57de692 into master Aug 3, 2021
@y-lakhdar y-lakhdar deleted the CDX-514 branch August 3, 2021 17:17
Sign up for free to 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.

3 participants