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: display last key renewal attempt #3839

Merged
merged 7 commits into from
May 29, 2024
Merged

Conversation

HugoCasa
Copy link
Contributor

@HugoCasa HugoCasa commented May 28, 2024

🚀 This description was created by Ellipsis for commit f2f7110

Summary:

This PR adds functionality to display the last key renewal attempt and provides an endpoint to renew the license key, with updates across backend and frontend components, including a necessary package downgrade.

Key points:

  • Added API endpoints /settings/latest_key_renewal_attempt and /settings/renew_license_key.
  • Updated backend/windmill-api/src/settings.rs with new handlers.
  • Modified backend/windmill-common/src/ee.rs for license key renewal logic.
  • Updated frontend/src/lib/components/InstanceSettings.svelte to display last key renewal attempt and provide a button to initiate renewal.
  • Added settings in frontend/src/lib/components/instanceSettings.ts for new features.
  • Downgraded triomphe package in backend/Cargo.toml and backend/parsers/windmill-parser-ts/Cargo.toml due to a broken version.

Generated with ❤️ by ellipsis.dev

Copy link

cloudflare-workers-and-pages bot commented May 28, 2024

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: f2f7110
Status:⚡️  Build in progress...

View logs

@HugoCasa HugoCasa force-pushed the hc/key-renewal-status branch from 5d24fd8 to d55e5e5 Compare May 29, 2024 13:29
@HugoCasa HugoCasa marked this pull request as ready for review May 29, 2024 13:48
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to a279a26 in 1 minute and 25 seconds

More details
  • Looked at 407 lines of code in 9 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_lJGTFz8c8ReIPt57


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

backend/windmill-common/src/ee.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on ad72277 in 1 minute and 24 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. backend/windmill-common/src/ee.rs:32
  • Draft comment:
    Returning an empty string from renew_license_key provides no information about the success or failure of the operation. Consider returning a result or a more descriptive status message.
    "License renewal operation completed".to_string()
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_oFNDPR1Qr4NbYjhd


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on f2f7110 in 1 minute and 24 seconds

More details
  • Looked at 49 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. backend/parsers/windmill-parser-ts/Cargo.toml:19
  • Draft comment:
    The triomphe package version is implicitly set to workspace version which might conflict with the explicit downgrade to <0.1.12 in the main Cargo.toml. Consider aligning the version across all projects to avoid potential build issues.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_sVjmHaMbGAGPtgb9


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@rubenfiszel rubenfiszel merged commit dc2d7e1 into main May 29, 2024
3 of 4 checks passed
@rubenfiszel rubenfiszel deleted the hc/key-renewal-status branch May 29, 2024 14:28
@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants