Skip to content

HYPERFLEET-1282: Document pageSize→size / orderBy→order breaking change#173

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift-hyperfleet:mainfrom
kuudori:HYPERFLEET-1282-pagination-breaking-change-doc
Jun 26, 2026
Merged

HYPERFLEET-1282: Document pageSize→size / orderBy→order breaking change#173
openshift-merge-bot[bot] merged 1 commit into
openshift-hyperfleet:mainfrom
kuudori:HYPERFLEET-1282-pagination-breaking-change-doc

Conversation

@kuudori

@kuudori kuudori commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Jira

HYPERFLEET-1282 · Epic: HYPERFLEET-1272

What

Adds breaking-change checklist entry #5 for the pagination query parameter rename (pageSizesize, orderByorder) introduced in HYPERFLEET-1272 and implemented in hyperfleet-api PR #253.

Also updates two stale pageSize=10 benchmark labels in performance-baselines.md.

AC → coverage

# AC Addressed by
1 Entry added to hyperfleet/docs/release/v1.0.0/breaking-changes.md Row #5 in API Contract table
2 Documents old vs new parameter names Change column: pageSizesize, orderByorder
3 Includes impact on clients and compatibility Partner Action + Impact if Missed columns

Changes

Verification

  • "Impact if Missed" confirmed: pkg/services/types.go in hyperfleet-api PR #253 reads only params.Get("size") / params.Get("order"); old names silently fall to defaults (page=1, size=20, no ordering)
  • npx markdownlint-cli2: 0 errors
  • Base: c13125f (main, up to date)

E2E

Gated in CI, not run locally (documentation-only change).

@openshift-ci-robot

openshift-ci-robot commented Jun 25, 2026

Copy link
Copy Markdown

@kuudori: This pull request references HYPERFLEET-1282 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Jira

HYPERFLEET-1282 · Epic: HYPERFLEET-1272

What

Adds breaking-change checklist entry #5 for the pagination query parameter rename (pageSizesize, orderByorder) introduced in HYPERFLEET-1272 and implemented in hyperfleet-api PR #253.

Also updates two stale pageSize=10 benchmark labels in performance-baselines.md.

AC → coverage

# AC Addressed by
1 Entry added to hyperfleet/docs/release/v1.0.0/breaking-changes.md Row #5 in API Contract table
2 Documents old vs new parameter names Change column: pageSizesize, orderByorder
3 Includes impact on clients and compatibility Partner Action + Impact if Missed columns

Changes

Verification

  • "Impact if Missed" confirmed: pkg/services/types.go in hyperfleet-api PR #253 reads only params.Get("size") / params.Get("order"); old names silently fall to defaults (page=1, size=20, no ordering)
  • npx markdownlint-cli2: 0 errors
  • Base: c13125f (main, up to date)

E2E

Gated in CI, not run locally (documentation-only change).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci-robot

openshift-ci-robot commented Jun 25, 2026

Copy link
Copy Markdown

@kuudori: This pull request references HYPERFLEET-1282 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Jira

HYPERFLEET-1282 · Epic: HYPERFLEET-1272

What

Adds breaking-change checklist entry #5 for the pagination query parameter rename (pageSizesize, orderByorder) introduced in HYPERFLEET-1272 and implemented in hyperfleet-api PR #253.

Also updates two stale pageSize=10 benchmark labels in performance-baselines.md.

AC → coverage

# AC Addressed by
1 Entry added to hyperfleet/docs/release/v1.0.0/breaking-changes.md Row #5 in API Contract table
2 Documents old vs new parameter names Change column: pageSizesize, orderByorder
3 Includes impact on clients and compatibility Partner Action + Impact if Missed columns

Changes

Verification

  • "Impact if Missed" confirmed: pkg/services/types.go in hyperfleet-api PR #253 reads only params.Get("size") / params.Get("order"); old names silently fall to defaults (page=1, size=20, no ordering)
  • npx markdownlint-cli2: 0 errors
  • Base: c13125f (main, up to date)

E2E

Gated in CI, not run locally (documentation-only change).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: bb6169c3-4e06-42ee-821c-f3e4066f0322

📥 Commits

Reviewing files that changed from the base of the PR and between c13125f and 358358c.

📒 Files selected for processing (2)
  • hyperfleet/docs/performance-baselines.md
  • hyperfleet/docs/release/v1.0.0/breaking-changes.md
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • openshift-hyperfleet/architecture (manual)
  • openshift-hyperfleet/hyperfleet-api (manual)
  • openshift-hyperfleet/hyperfleet-sentinel (manual)
  • openshift-hyperfleet/hyperfleet-adapter (manual)
  • openshift-hyperfleet/hyperfleet-broker (manual)

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Updated performance baseline examples to use the size pagination parameter for API list requests.
    • Added a new breaking-change checklist item noting pagination parameter renames for list endpoints.
    • Refreshed the release notes date and renumbered related checklist items for consistency.

Walkthrough

Updated the breaking-changes document timestamp, added a v1.0.0 checklist entry for renaming list-endpoint pagination parameters from pageSize to size and orderBy to order, and changed the /clusters API reads baseline examples to use size-based query strings with unchanged measurements.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 11
✅ Passed checks (11 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately names the documented pagination parameter rename, which is the primary change in the PR.
Description check ✅ Passed The description directly explains the documentation updates and matches the breaking-change entry and benchmark label edits.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Sec-02: Secrets In Log Output ✅ Passed Docs-only diff; no slog/logr/zap/fmt.Print* secret-bearing fields or interpolations found. CWE-532 not present.
No Hardcoded Secrets ✅ Passed No hardcoded credentials, embedded creds, or long base64 strings found in the changed docs; only benchmark label and checklist text were edited (CWE-798/CWE-321).
No Weak Cryptography ✅ Passed Docs-only edit; the touched files contain no md5/des/rc4/SHA1/ECB or secret-comparison code, so no CWE-327/CWE-328 issue.
No Injection Vectors ✅ Passed PASS: Base..HEAD touches only two markdown docs; scans found no SQL/exec/template.HTML/yaml.Unmarshal injection patterns (CWE-89/78/79/502).
No Privileged Containers ✅ Passed Only docs changed; no Kubernetes/OpenShift manifests, Helm templates, or Dockerfiles were modified, so no privileged-container setting is in scope.
No Pii Or Sensitive Data In Logs ✅ Passed PASS: Only Markdown docs changed; no slog/logr/zap/fmt.Print logging statements or log payloads appear in the touched files, so no CWE-532 risk introduced.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Comment @coderabbitai help to get the list of available commands.

@kuudori kuudori marked this pull request as ready for review June 25, 2026 19:53
@openshift-ci openshift-ci Bot requested review from mbrudnoy and rafabene June 25, 2026 19:53
| 2 | **Ready condition removed; replaced by Reconciled** | Replace all `Ready` references with `Reconciled` in status queries, scripts, and monitoring | **Silent hang.** API silently accepts `type="Ready"` in status reports but never aggregates it into resource conditions; scripts polling for Ready=True wait forever | Automatable (1178) | [HYPERFLEET-1052](https://redhat.atlassian.net/browse/HYPERFLEET-1052) | [HYPERFLEET-559](https://redhat.atlassian.net/browse/HYPERFLEET-559) |
| 3 | **Aggregated condition Available renamed to LastKnownReconciled** | Replace `Available` with `LastKnownReconciled` in all resource-level condition queries | **Not found.** Aggregation code produces only `Reconciled` and `LastKnownReconciled`; resource-level `Available` is no longer emitted | Automatable (1178) | [HYPERFLEET-1017](https://redhat.atlassian.net/browse/HYPERFLEET-1017) | - |
| 4 | **List responses: kind field removed** | Remove `kind` expectations in list response parsing | **Parse error** if client schema requires `kind`. Confirmed: `kind` removed from `ClusterList`, `NodePoolList`, `ResourceList`, `AdapterStatusList`; test asserts `raw.NotTo(HaveKey("kind"))` | Automatable (1178) | [HYPERFLEET-1143](https://redhat.atlassian.net/browse/HYPERFLEET-1143) | - |
| 5 | **Pagination query parameters renamed: `pageSize` → `size`, `orderBy` → `order`** | Replace `pageSize` with `size` and `orderBy` with `order` in all API list-endpoint calls (`GET /clusters`, `GET /nodepools`, `GET /resources`). For generated clients (e.g. from the OpenAPI spec), regenerate after the spec update in HYPERFLEET-1279 | **Silent incorrect results.** Old parameter names are not recognized; requests silently fall back to defaults (page 1, size 20, no ordering) with no error returned | Manual | [HYPERFLEET-1280](https://redhat.atlassian.net/browse/HYPERFLEET-1280) | [HYPERFLEET-1272](https://redhat.atlassian.net/browse/HYPERFLEET-1272) |

@ldornele ldornele Jun 25, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Severity: nit

Suggested fix:

Add API: prefix to the title for clarity:

| 5 | **API: Pagination query parameters renamed: `pageSize``size`, `orderBy``order`** |

This:

  • Makes it explicit this is a REST API contract change
  • Follows the component-prefix pattern of rows 6-9
  • Helps readers quickly scan which changes affect each component

| 2 | **Ready condition removed; replaced by Reconciled** | Replace all `Ready` references with `Reconciled` in status queries, scripts, and monitoring | **Silent hang.** API silently accepts `type="Ready"` in status reports but never aggregates it into resource conditions; scripts polling for Ready=True wait forever | Automatable (1178) | [HYPERFLEET-1052](https://redhat.atlassian.net/browse/HYPERFLEET-1052) | [HYPERFLEET-559](https://redhat.atlassian.net/browse/HYPERFLEET-559) |
| 3 | **Aggregated condition Available renamed to LastKnownReconciled** | Replace `Available` with `LastKnownReconciled` in all resource-level condition queries | **Not found.** Aggregation code produces only `Reconciled` and `LastKnownReconciled`; resource-level `Available` is no longer emitted | Automatable (1178) | [HYPERFLEET-1017](https://redhat.atlassian.net/browse/HYPERFLEET-1017) | - |
| 4 | **List responses: kind field removed** | Remove `kind` expectations in list response parsing | **Parse error** if client schema requires `kind`. Confirmed: `kind` removed from `ClusterList`, `NodePoolList`, `ResourceList`, `AdapterStatusList`; test asserts `raw.NotTo(HaveKey("kind"))` | Automatable (1178) | [HYPERFLEET-1143](https://redhat.atlassian.net/browse/HYPERFLEET-1143) | - |
| 5 | **Pagination query parameters renamed: `pageSize` → `size`, `orderBy` → `order`** | Replace `pageSize` with `size` and `orderBy` with `order` in all API list-endpoint calls (`GET /clusters`, `GET /nodepools`, `GET /resources`). For generated clients (e.g. from the OpenAPI spec), regenerate after the spec update in HYPERFLEET-1279 | **Silent incorrect results.** Old parameter names are not recognized; requests silently fall back to defaults (page 1, size 20, no ordering) with no error returned | Manual | [HYPERFLEET-1280](https://redhat.atlassian.net/browse/HYPERFLEET-1280) | [HYPERFLEET-1272](https://redhat.atlassian.net/browse/HYPERFLEET-1272) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Severity: nit

The title uses arrow notation → for parameter renaming, but the document has mixed patterns for expressing transitions

Suggested fix:

For consistency with row 3's "renamed to" pattern:

| 5 | **... query parameters renamed: `pageSize` to `size`, `orderBy` to `order`** |

| 2 | **Ready condition removed; replaced by Reconciled** | Replace all `Ready` references with `Reconciled` in status queries, scripts, and monitoring | **Silent hang.** API silently accepts `type="Ready"` in status reports but never aggregates it into resource conditions; scripts polling for Ready=True wait forever | Automatable (1178) | [HYPERFLEET-1052](https://redhat.atlassian.net/browse/HYPERFLEET-1052) | [HYPERFLEET-559](https://redhat.atlassian.net/browse/HYPERFLEET-559) |
| 3 | **Aggregated condition Available renamed to LastKnownReconciled** | Replace `Available` with `LastKnownReconciled` in all resource-level condition queries | **Not found.** Aggregation code produces only `Reconciled` and `LastKnownReconciled`; resource-level `Available` is no longer emitted | Automatable (1178) | [HYPERFLEET-1017](https://redhat.atlassian.net/browse/HYPERFLEET-1017) | - |
| 4 | **List responses: kind field removed** | Remove `kind` expectations in list response parsing | **Parse error** if client schema requires `kind`. Confirmed: `kind` removed from `ClusterList`, `NodePoolList`, `ResourceList`, `AdapterStatusList`; test asserts `raw.NotTo(HaveKey("kind"))` | Automatable (1178) | [HYPERFLEET-1143](https://redhat.atlassian.net/browse/HYPERFLEET-1143) | - |
| 5 | **Pagination query parameters renamed: `pageSize` → `size`, `orderBy` → `order`** | Replace `pageSize` with `size` and `orderBy` with `order` in all API list-endpoint calls (`GET /clusters`, `GET /nodepools`, `GET /resources`). For generated clients (e.g. from the OpenAPI spec), regenerate after the spec update in HYPERFLEET-1279 | **Silent incorrect results.** Old parameter names are not recognized; requests silently fall back to defaults (page 1, size 20, no ordering) with no error returned | Manual | [HYPERFLEET-1280](https://redhat.atlassian.net/browse/HYPERFLEET-1280) | [HYPERFLEET-1272](https://redhat.atlassian.net/browse/HYPERFLEET-1272) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Severity: nit

Inline JIRA reference HYPERFLEET-1279 in the "Partner Action" column is not hyperlinked, while other columns consistently provide clickable links to JIRA tickets.

Hyperlink the inline ticket reference for consistency:

regenerate after the spec update in [HYPERFLEET-1279](https://redhat.atlassian.net/browse/HYPERFLEET-1279)

This maintains the pattern of always providing clickable links for JIRA tickets mentioned in the document.

@rh-amarin

Copy link
Copy Markdown
Collaborator

/lgtm

@openshift-ci

openshift-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rh-amarin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot Bot merged commit fedd151 into openshift-hyperfleet:main Jun 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants