Skip to content

End-to-end checks for serving, publishing, content and uploads - #171

Merged
aevnsvi merged 6 commits into
mainfrom
e2e-serve-content
Nov 24, 2026
Merged

aevnsvi merged 6 commits into
mainfrom
e2e-serve-content

Conversation

@aevnsvi

@aevnsvi aevnsvi commented Nov 24, 2026

Copy link
Copy Markdown

Browser checks that run against a real server, as the administrator, the editor
and the read-only account, for what the screens of serving, publishing, content
and uploads promise.

  • Serving end to end: a repository is created, a generated file uploaded and
    published, a distribution protected by a content guard the user chose is
    made, and the file is downloaded with credentials from the address the page
    shows. A second distribution chosen Public is downloaded by plain navigation.
  • Publishing: a ticked pinned distribution moves to the new publication and
    only that one; the Publications tab names what a delete changes; a
    repository-bound distribution falls back as the confirmation says and as the
    content app answers; the one-click fixes publish and move a distribution; a
    publish dialog closed while it waits moves nothing.
  • Content and versions: the lists of a version agree with its summary for file,
    deb and rpm repositories; a served version is protected with its reason;
    removing files, adding from another repository and a label set on a unit
    behave across repositories.
  • Uploads: several files make one version for the administrator and one each
    for the editor; a large file goes in parts and leaves no upload behind; a
    refused file and a cancelled upload leave the repository alone; a python
    wheel, a deb and an rpm built in the checks are added through the dialog.
  • Snippets, signature keys and content lists: every plugin's distribution page
    shows its client snippets without a credential, the entry points the server
    names appear on the snippets, the signature keys screen lists, filters and
    downloads, and the content lists hold what the server lets each account see
    with one read per page.

Everything a run creates carries its own prefix and is removed with the run,
including the content units it uploaded.

…d and downloaded through the screens

A file repository is created, a generated file uploaded and published, and two
distributions are made: one protected by a content guard that the user chose,
downloaded with credentials from the address the page shows, and one chosen
Public, downloaded by plain navigation. The copied curl line holds that address
and the credential placeholders only.
… behave as the screens say

Publishing moves a ticked pinned distribution and only that one, and the
Publications tab names what a delete changes: a repository-bound distribution
falls back to the older version exactly as the confirmation says and as the
content app answers. Versions list their content and what they added and
removed, a served version is protected with its reason, removing three files
and adding from another repository each make one version, and a label shows on
the same unit in another repository.

The administrator's files make one version, a 20 MiB file goes through an
upload that is gone afterwards, a refused file leaves the repository alone and
a cancelled chunked upload leaves nothing. The editor's files make one version
each, a large file is sent in one request, and the server's refusal to delete a
served version is shown in the dialog. A python wheel, a deb and an rpm built in
the spec are added through the dialog. Content made by a run is removed with it.
…ists and serving fixes

The distribution page of every plugin shows its client snippets with a copy
button and never an account or its secret, a guarded one shows only the
credential placeholders, and the entry points the server names appear on the
snippets of a distribution under each. A scratch python distribution takes an
upload and lists the package at the addresses its pip and twine lines name. The
signature keys screen lists the signing services, downloads a key, filters by
the whole name and never asks for a script; the read-only account is told it
may not see it. The content lists hold what the server lets each account see
with one read per page, old addresses keep their query, and a label is found by
its selector. The one-click fixes publish and move a distribution, the lists of
a version agree with its summary for file, deb and rpm repositories, and the
distribution list stays within its request budget for the read-only account and
the editor.
… dialog leaves, and the snippets of a Distributions tab row

A version a distribution is bound to and the latest version of a python
repository a distribution serves are protected with the distribution named, a
publish dialog closed while it waits leaves the ticked distribution on its
older publication, and a row of a repository's Distributions tab expands to the
same snippets, whose curl line names an address that serves a published file.
…er answers

The served-state cell of the distribution list now carries the fix that repairs
a warning, so the check accepts the state's text with that fix beside it. The
check of a cancelled chunked upload holds back the answer to the request that
makes the upload, so the cancel always lands while the page does not yet know
the upload's address.
@aevnsvi
aevnsvi merged commit c8fde51 into main Nov 24, 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