Skip to content

End-to-end checks for distributions - #157

Merged
aevnsvi merged 3 commits into
mainfrom
e2e-distributions
Nov 22, 2026
Merged

aevnsvi merged 3 commits into
mainfrom
e2e-distributions

Conversation

@aevnsvi

@aevnsvi aevnsvi commented Nov 22, 2026

Copy link
Copy Markdown

Browser checks that run against a real server and prove the distribution screens before more is built on them.

  • Create, open, edit and delete a distribution of every installed plugin, container included, with an explicit protection; the stored object is read back after each write. A file distribution is switched to one publication and the server is checked for the new and the cleared bindings; a public one shows the Public mark and appears under Public only.
  • The served-state labels of the seeded serving distributions are checked on the list, on each distribution's page and on the Distributions tab of its repository, for the administrator and for a viewer that may not read publications.
  • An editor holding the owner role on single distributions sees Edit and Delete on exactly those rows and pages.
  • A scale check, tagged @scale and run on its own, times the list at more than 1,300 distributions and counts the requests of one load.
  • Two older checks that tick the distribution box of the repository form now choose the protection the form asks for, and the check of the ansible remote form uses the address of a plugin that has no remote screens on the framework.

The clean-up helper also lists and removes the maven, npm, ansible and container distributions and repositories of a run.

The repository form keeps Save off until the protection of a distribution
that is offered with it is decided, so the checks that tick the distribution
box now choose the Public protection explicitly, and the check that a base
path a seeded installation serves is refused presses Save and reads the
refusal instead of finding the button disabled for the missing protection.

A plugin whose manifest lists no remote screens keeps its own address for
them, so the remote policy check uses the address of the framework only for
a plugin that has remote screens there.
Against a real server, a distribution of every installed plugin is created
from the list with an explicit protection, opened and deleted from the
screens, and the stored object is read back after each write. A file
distribution is switched to one publication and the server is checked for
the new binding and the cleared ones; a public distribution shows the Public
mark and appears under Public only.

The served-state labels of the seeded serving distributions are checked on
the list, on each distribution's page and on the Distributions tab of its
repository, for the administrator and for a viewer that may not read
publications (who is told "Cannot be checked"). An editor holding the owner
role on single distributions sees Edit and Delete on exactly those rows and
on their pages, and nothing on a distribution it may only read.

The clean-up helper now also lists and removes the maven, npm, ansible and
container distributions and repositories of a run, and treats a plugin the
server does not have as holding nothing.
A browser check, tagged @scale and run on its own, times the list of every
plugin's distributions on a server that holds more than 1,300 of them. Each
figure is the median of five runs from a fresh load of the application, and
no run may take more than twice its budget: the default page of 50 and a page
of 500, from the click to the rows shown and to every derived column settled;
the public-only filter and a base path filter, from the change to the rows
that answer it. The public-only result is recognised by the number of matches
the server reports, because the table of the unfiltered list stays on screen
for a moment after the switch is pressed.

The requests of one load are counted too: none may go to the address of a
single object or to the permission read of one, and the total is held to a
budget for each page size. The figures are printed and attached to the
report, which stays out of the repository.
@aevnsvi
aevnsvi merged commit 7d16c3a into main Nov 22, 2026
6 checks passed
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.

1 participant