Skip to content

feat: Add config-manager push restart command#97

Closed
dallinjsevy wants to merge 1 commit into
mainfrom
feature/config-manager-push-restart
Closed

feat: Add config-manager push restart command#97
dallinjsevy wants to merge 1 commit into
mainfrom
feature/config-manager-push-restart

Conversation

@dallinjsevy

Copy link
Copy Markdown

No description provided.

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-restart branch from 5c40799 to 092fe7a Compare April 15, 2026 20:23

@phalestrivir phalestrivir left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

See comments below

Comment thread src/cli/config-manager/config-manager-push/config-manager-push-restart.ts Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-restart.ts Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-restart.ts Outdated
Comment thread src/configManagerOps/FrConfigRestartOps.ts.ts
Comment thread src/configManagerOps/FrConfigRestartOps.ts.ts
Comment thread src/configManagerOps/FRConfigRestart.ts Outdated
Comment thread src/configManagerOps/FRConfigRestart.ts Outdated
Comment thread src/configManagerOps/FRConfigRestart.ts Outdated
Comment thread src/configManagerOps/FRConfigRestart.ts Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-restart.ts Outdated
@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-restart branch from 4af46ce to b2cca19 Compare April 22, 2026 17:15

@phalestrivir phalestrivir left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Make sure to run npm run lint:fix when you are finished with these last changes, I noticed a few formatting issues that would've been fixed with it.

Comment thread src/cli/config-manager/config-manager-push/config-manager-push-restart.ts Outdated
Comment thread src/configManagerOps/FrConfigRestartOps.ts.ts
Comment thread src/configManagerOps/FrConfigRestartOps.ts.ts Outdated
Comment thread test/e2e/config-manager-push-restart.e2e.test.js Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-restart.ts Outdated
Comment on lines +21 to +24
if (restartStatus === 'restarting') {
printMessage('Environment already restarting.', 'error');
return false;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry if this wasn't clear in my last review, but this if statement should come after the if statement for status, but before the if statement for check like it does in config manager, that way you can still read the status even if the tenant is restarting.

Comment thread test/e2e/config-manager-push-restart.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-restart.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-restart.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-restart.e2e.test.js Outdated
@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-restart branch from 55e89f8 to 1f45527 Compare July 21, 2026 18:22

@phalestrivir phalestrivir left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I noticed the test for -w would take about two minutes to run, and not only that, but sometimes the snapshot would differ because the amount of time it takes would be different, so I modified the test to timeout if it goes longer than 5 seconds and save what it received into snapshots, and that fixed the issue.

With that the PR is done, so I would squash the commits (after you pull down the test fix
commit I made) and then rebase with main if needed before submitting the PR against Rockcarver

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-restart branch from 66bb3f7 to ad6edfd Compare July 22, 2026 14:45
@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-restart branch from cdae07e to 2d37686 Compare July 22, 2026 14:51
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.

2 participants