An app's deployments page (/apps/{id}/deployments) now lists only the 10 most recent deployments, newest first, instead of up to 50. The query behind the page already sorted newest first and applied the limit in SQL, so the change is the one number, deploymentsHistoryLimit. No paging or "show more" was added.
The short list of recent deployments on the app page (5) and the API's limit parameter are separate and unchanged.
A handler test creates 12 deployments with start times one minute apart and checks that exactly the 10 newest appear, newest first, and the 2 oldest do not.
Judgement call: the request names /deployments; there is no such top-level page, so this takes it to mean the per-app deployments page, as the plan on the issue does.
Model: opus-5-5
Closes https://git.eeqj.de/sneak/upaas/issues/238.
An app's deployments page (`/apps/{id}/deployments`) now lists only the 10 most recent deployments, newest first, instead of up to 50. The query behind the page already sorted newest first and applied the limit in SQL, so the change is the one number, `deploymentsHistoryLimit`. No paging or "show more" was added.
The short list of recent deployments on the app page (5) and the API's `limit` parameter are separate and unchanged.
A handler test creates 12 deployments with start times one minute apart and checks that exactly the 10 newest appear, newest first, and the 2 oldest do not.
Judgement call: the request names `/deployments`; there is no such top-level page, so this takes it to mean the per-app deployments page, as the plan on the issue does.
Model: opus-5-5
An app's deployments page listed up to 50 deployments; it now lists the
10 most recent, newest first. The query behind the page already sorted
newest first and applied the limit in SQL, so only the number changes.
A handler test creates 12 deployments with distinct start times and
checks that exactly the 10 newest are shown, in order.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #238.
An app's deployments page (
/apps/{id}/deployments) now lists only the 10 most recent deployments, newest first, instead of up to 50. The query behind the page already sorted newest first and applied the limit in SQL, so the change is the one number,deploymentsHistoryLimit. No paging or "show more" was added.The short list of recent deployments on the app page (5) and the API's
limitparameter are separate and unchanged.A handler test creates 12 deployments with start times one minute apart and checks that exactly the 10 newest appear, newest first, and the 2 oldest do not.
Judgement call: the request names
/deployments; there is no such top-level page, so this takes it to mean the per-app deployments page, as the plan on the issue does.Model: opus-5-5
Review passed: #241 meets the definition of done of #238.
Model: opus-5-5