Skip to content

Remove default page size - #540

Merged
RasmusBurge-CG merged 2 commits into
masterfrom
remove-default-page-size
Jul 13, 2026
Merged

Remove default page size#540
RasmusBurge-CG merged 2 commits into
masterfrom
remove-default-page-size

Conversation

@RasmusBurge-CG

@RasmusBurge-CG RasmusBurge-CG commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Description

The analyses GET endpoint had a default page size (250), which could mislead callers into thinking a capped response was the full result set. To remove that confusion, the default pageSize has been removed — if pageSize is omitted, all matching analyses are now returned instead of being capped at 250.

Changed

  • Removed default page size in get analyses endpoint; omitting pageSize now returns all matching analyses instead of the first 250.

How to prepare for test

  • ssh to hasta (depending on type of change)
  • activate stage: us
  • request trailblazer-stage on hasta: paxa
  • install on stage:
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_trailblazer -t trailblazer -b [THIS-BRANCH-NAME] -a
  • ssh to clinical-db (depending on type of change)
  • install on stage:
    bash /home/proj/production/servers/resources/clinical-db.scilifelab.se/update-trailblazer-ui-stage.sh remove-default-page-size

How to test

  • login to ...
  • do ...

Expected test outcome

  • check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • tests executed by
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

@RasmusBurge-CG
RasmusBurge-CG requested a review from a team as a code owner July 9, 2026 10:05
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage is 88.411%remove-default-page-size into master. No base build found for master.

@coveralls

coveralls commented Jul 9, 2026

Copy link
Copy Markdown

Coverage Status

Coverage is 88.411%remove-default-page-size into master. No base build found for master.

@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

@clingen-sthlm
clingen-sthlm temporarily deployed to stage July 9, 2026 10:49 Inactive
@RasmusBurge-CG

Copy link
Copy Markdown
Contributor Author

Test

Screenshot 2026-07-09 at 12 58 13

The total is the same as the number of analyses in the response.

@RasmusBurge-CG

Copy link
Copy Markdown
Contributor Author

I have checked CG, Cigrid-UI, and Clinical-genomics-ui for potential issues with removing the default page size. I have not found any issues.

@diitaz93 diitaz93 left a comment

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.

👍

@RasmusBurge-CG
RasmusBurge-CG merged commit 6329c36 into master Jul 13, 2026
6 checks passed
@RasmusBurge-CG
RasmusBurge-CG deleted the remove-default-page-size branch July 13, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants