-
Notifications
You must be signed in to change notification settings - Fork 13
HYPERFLEET-1052 - chore: remove deprecated Ready condition type #45
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -145,7 +145,7 @@ enum OrderDirection { | |
|
|
||
| model SearchParams { | ||
| /** Filter results using TSL (Tree Search Language) query syntax. | ||
| * Examples: `status.conditions.Ready='True'`, `name in ('c1','c2')`, `labels.region='us-east'` */ | ||
| * Examples: `status.conditions.Reconciled='True'`, `name in ('c1','c2')`, `labels.region='us-east'` */ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cross-repo contract docs/tests still reference This change is correct for the spec, but linked findings show 🤖 Prompt for AI Agents
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will be followed up by a PR in hyperfleet-api and architecture repo There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Just let me know and I'll create them. |
||
| @query | ||
| search?: string; | ||
| } | ||
|
|
@@ -176,7 +176,6 @@ model List<T> { | |
| union ConditionType { | ||
| string, | ||
| Available: "Available", | ||
| Ready: "Ready", | ||
| Reconciled: "Reconciled", | ||
| LastKnownReconciled: "LastKnownReconciled" | ||
| } | ||
|
|
@@ -246,8 +245,6 @@ model ResourceCondition { | |
|
|
||
| const ExampleLastKnownReconciledReason: string = "AllAdaptersReconciled"; | ||
| const ExampleLastKnownReconciledMessage: string = "All required adapters report Available=True for the tracked generation"; | ||
| const ExampleReadyReason: string = "ReconciledAll"; | ||
| const ExampleReadyMessage: string = "All required adapters reported Available=True or Finalized=True at the current generation"; | ||
| const ExampleReconciledReason: string = "ReconciledAll"; | ||
| const ExampleReconciledMessage: string = "All required adapters reported Available=True or Finalized=True at the current generation"; | ||
| const ExampleAdapter1: string = "adapter1"; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: openshift-hyperfleet/hyperfleet-api-spec
Length of output: 2562
🏁 Script executed:
Repository: openshift-hyperfleet/hyperfleet-api-spec
Length of output: 1399
Coordinate linked-repo updates before publishing 1.0.14 release notes.
The release notes declare the
Readycondition fully deprecated and migrated toReconciled, but linked repos still contain active references:These outstanding references create documentation drift and will confuse consumers. Update or defer the 1.0.14 release notes until dependent repos are synchronized.
🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to these repos would be followed up in the current ticket. API Spec works as a prerequisite for Hyperfleet API, hence making changes here first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tirthct, understood — the spec-first, consumers-second sequencing makes sense for this migration. Since HYPERFLEET-1052 will track the follow-up updates tohyperfleet-apiandarchitecture, the drift is intentional and time-bounded.For completeness, the follow-up work in those repos includes:
docs/search.md,pkg/db/sql_helpers.go(comments),README.mdcurl example, integration test cases intest/integration/search_field_mapping_test.godocs/status-guide.md,adrs/0010-jsonb-provider-agnostic-spec.mdWould you like me to open a GitHub issue to track these follow-up items, or are they already captured within the HYPERFLEET-1052 ticket?