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

Harvester shell integration - bump chron libraries #12349

Merged

Conversation

torchiaf
Copy link
Member

@torchiaf torchiaf commented Oct 24, 2024

Summary

Contributes to #12347

Occurred changes and/or fixed issues

Technical notes summary

Some new features in Harvester require newer chron lib versions.

Areas or cases that should be tested

Areas which could experience regressions

  • Chron field in CronJob page.

Screenshot/Video

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
@rak-phillip
Copy link
Member

Can we also run yarn install for storybook as well? We typically have to do this to update the storybook lockfile when we modify dependencies in the root package.json.

return this.t('generic.invalidCron');
}
try {
const hint = cronstrue.toString(this.value || '');
const hint = cronstrue.toString(this.value as string || '');
Copy link
Contributor

@a110605 a110605 Oct 25, 2024

Choose a reason for hiding this comment

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

I added { verbose: true } in harvester PR#1103

const hint = cronstrue.toString(this.value, { verbose: true });

Do you want to add it as well ?

Ref: https://www.npmjs.com/package/cronstrue

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
@nwmac nwmac added the shell PRs/Issues that relate to a shell release rather than being needed for a dashboard release label Oct 29, 2024
Copy link
Member

@rak-phillip rak-phillip left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@a110605 a110605 left a comment

Choose a reason for hiding this comment

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

LGTM

@torchiaf torchiaf merged commit 2e494c4 into rancher:master Nov 5, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shell PRs/Issues that relate to a shell release rather than being needed for a dashboard release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants