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

fix(greet): update dependency prefect to v2.13.0 #10968

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 7, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prefect (source, changelog) 2.12.1 -> 2.13.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

PrefectHQ/prefect (prefect)

v2.13.0

Compare Source

Introducing global concurrency limits

Control task execution and system stability with Prefect's new global concurrency and rate limits.

  • Concurrency Limits: Manage task execution efficiently, controlling how many tasks can run simultaneously. Ideal for optimizing resource usage and customizing task execution.

  • Rate Limits: Ensure system stability by governing the frequency of requests or operations. Perfect for preventing overuse, ensuring fairness, and handling errors gracefully.

Choose concurrency limits for resource optimization and task management, and opt for rate limits to maintain system stability and fair access to services. To begin using global concurrency limits check out our guide.

See the following pull request for details:

Introducing work pool and worker status

Work pools and workers are critical components of Prefect's distributed execution model. To help you monitor and manage your work pools and workers, we've added status indicators to the Prefect UI.

Work pools can now have one of three statuses:

  • Ready - at least one online worker is polling the work pool and the work pool is ready to accept work.
  • Not Ready - no online workers are polling the work pool and indicates that action needs to be taken to allow the work pool to accept work.
  • Paused - the work pool is paused and work will not be executed until it is unpaused.

Prefect dashboard showing work pool health

Workers can now have one of two statuses:

  • Online - the worker is polling the work pool and is ready to accept work.
  • Offline - the worker is not polling the work pool and is not ready to accept work. Indicates that the process running the worker has stopped or crashed.

worker table showing status

With the introduction of work pool and worker status, we are deprecating work queue health. Work queue health indicators will be removed in a future release.

See the documentation on work pool status and worker status for more information.

See the following pull request for details:

Removing deprecated Orion references

Six months ago, we deprecated references to orion in our codebase. In this release, we're removing those references. If you still have references to ORION in your profile, run prefect config validate to automatically convert all of the settings in your current profile to the new names!

For example:

❯ prefect config validate
Updated 'PREFECT_ORION_DATABASE_CONNECTION_URL' to 'PREFECT_API_DATABASE_CONNECTION_URL'.
Configuration valid!
Below is a full guide to the changes:
Settings renamed:
- `PREFECT_LOGGING_ORION_ENABLED` → `PREFECT_LOGGING_TO_API_ENABLED`
- `PREFECT_LOGGING_ORION_BATCH_INTERVAL` → `PREFECT_LOGGING_TO_API_BATCH_INTERVAL`
- `PREFECT_LOGGING_ORION_BATCH_SIZE` → `PREFECT_LOGGING_TO_API_BATCH_SIZE`
- `PREFECT_LOGGING_ORION_MAX_LOG_SIZE` → `PREFECT_LOGGING_TO_API_MAX_LOG_SIZE`
- `PREFECT_LOGGING_ORION_WHEN_MISSING_FLOW` → `PREFECT_LOGGING_TO_API_WHEN_MISSING_FLOW`
- `PREFECT_ORION_BLOCKS_REGISTER_ON_START` → `PREFECT_API_BLOCKS_REGISTER_ON_START`
- `PREFECT_ORION_DATABASE_CONNECTION_URL` → `PREFECT_API_DATABASE_CONNECTION_URL`
- `PREFECT_ORION_DATABASE_MIGRATE_ON_START` → `PREFECT_API_DATABASE_MIGRATE_ON_START`
- `PREFECT_ORION_DATABASE_TIMEOUT` → `PREFECT_API_DATABASE_TIMEOUT`
- `PREFECT_ORION_DATABASE_CONNECTION_TIMEOUT` → `PREFECT_API_DATABASE_CONNECTION_TIMEOUT`
- `PREFECT_ORION_SERVICES_SCHEDULER_LOOP_SECONDS` → `PREFECT_API_SERVICES_SCHEDULER_LOOP_SECONDS`
- `PREFECT_ORION_SERVICES_SCHEDULER_DEPLOYMENT_BATCH_SIZE` → `PREFECT_API_SERVICES_SCHEDULER_DEPLOYMENT_BATCH_SIZE`
- `PREFECT_ORION_SERVICES_SCHEDULER_MAX_RUNS` → `PREFECT_API_SERVICES_SCHEDULER_MAX_RUNS`
- `PREFECT_ORION_SERVICES_SCHEDULER_MIN_RUNS` → `PREFECT_API_SERVICES_SCHEDULER_MIN_RUNS`
- `PREFECT_ORION_SERVICES_SCHEDULER_MAX_SCHEDULED_TIME` → `PREFECT_API_SERVICES_SCHEDULER_MAX_SCHEDULED_TIME`
- `PREFECT_ORION_SERVICES_SCHEDULER_MIN_SCHEDULED_TIME` → `PREFECT_API_SERVICES_SCHEDULER_MIN_SCHEDULED_TIME`
- `PREFECT_ORION_SERVICES_SCHEDULER_INSERT_BATCH_SIZE` → `PREFECT_API_SERVICES_SCHEDULER_INSERT_BATCH_SIZE`
- `PREFECT_ORION_SERVICES_LATE_RUNS_LOOP_SECONDS` → `PREFECT_API_SERVICES_LATE_RUNS_LOOP_SECONDS`
- `PREFECT_ORION_SERVICES_LATE_RUNS_AFTER_SECONDS` → `PREFECT_API_SERVICES_LATE_RUNS_AFTER_SECONDS`
- `PREFECT_ORION_SERVICES_PAUSE_EXPIRATIONS_LOOP_SECONDS` → `PREFECT_API_SERVICES_PAUSE_EXPIRATIONS_LOOP_SECONDS`
- `PREFECT_ORION_SERVICES_CANCELLATION_CLEANUP_LOOP_SECONDS` → `PREFECT_API_SERVICES_CANCELLATION_CLEANUP_LOOP_SECONDS`
- `PREFECT_ORION_API_DEFAULT_LIMIT` → `PREFECT_API_DEFAULT_LIMIT`
- `PREFECT_ORION_API_HOST` → `PREFECT_SERVER_API_HOST`
- `PREFECT_ORION_API_PORT` → `PREFECT_SERVER_API_PORT`
- `PREFECT_ORION_API_KEEPALIVE_TIMEOUT` → `PREFECT_SERVER_API_KEEPALIVE_TIMEOUT`
- `PREFECT_ORION_UI_ENABLED` → `PREFECT_UI_ENABLED`
- `PREFECT_ORION_UI_API_URL` → `PREFECT_UI_API_URL`
- `PREFECT_ORION_ANALYTICS_ENABLED` → `PREFECT_SERVER_ANALYTICS_ENABLED`
- `PREFECT_ORION_SERVICES_SCHEDULER_ENABLED` → `PREFECT_API_SERVICES_SCHEDULER_ENABLED`
- `PREFECT_ORION_SERVICES_LATE_RUNS_ENABLED` → `PREFECT_API_SERVICES_LATE_RUNS_ENABLED`
- `PREFECT_ORION_SERVICES_FLOW_RUN_NOTIFICATIONS_ENABLED` → `PREFECT_API_SERVICES_FLOW_RUN_NOTIFICATIONS_ENABLED`
- `PREFECT_ORION_SERVICES_PAUSE_EXPIRATIONS_ENABLED` → `PREFECT_API_SERVICES_PAUSE_EXPIRATIONS_ENABLED`
- `PREFECT_ORION_TASK_CACHE_KEY_MAX_LENGTH` → `PREFECT_API_TASK_CACHE_KEY_MAX_LENGTH`
- `PREFECT_ORION_SERVICES_CANCELLATION_CLEANUP_ENABLED` → `PREFECT_API_SERVICES_CANCELLATION_CLEANUP_ENABLED`
Changes:
- Module `prefect.client.orion` → `prefect.client.orchestration`
- Command group `prefect orion` → `prefect server`
- Module `prefect.orion` → `prefect.server`
- Logger `prefect.orion` → `prefect.server`
- Constant `ORION_API_VERSION` → `SERVER_API_VERSION`
- Kubernetes deployment template application name changed from `prefect-orion` → `prefect-server`
- Command `prefect kubernetes manifest orion` → `prefect kubernetes manifest server`
- Log config handler `orion` → `api`
- Class `OrionLogWorker` → `APILogWorker`
- Class `OrionHandler` → `APILogHandler`
- Directory `orion-ui` → `ui`
- Class `OrionRouter` → `PrefectRouter`
- Class `OrionAPIRoute` → `PrefectAPIRoute`
- Class `OrionDBInterface` → `PrefectDBInterface`
- Class `OrionClient` → `PrefectClient`

See the following pull request for details:

Fixes
Documentation

All changes: PrefectHQ/prefect@2.12.1...2.13.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from hongbo-miao as a code owner September 7, 2023 22:36
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@renovate renovate bot temporarily deployed to test September 7, 2023 22:36 Inactive
@sonarcloud
Copy link

sonarcloud bot commented Sep 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mergify mergify bot merged commit a822912 into main Sep 7, 2023
77 checks passed
@mergify mergify bot deleted the renovate/greet-prefect-2.x branch September 7, 2023 22:40
@github-actions
Copy link

🎉 This PR is included in version 1.89.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants