Skip to content

Refresh the collection versions tab and tighten two checks - #46

Merged
aevnsvi merged 3 commits into
mainfrom
fix/collection-versions-refresh
Nov 9, 2026
Merged

aevnsvi merged 3 commits into
mainfrom
fix/collection-versions-refresh

Conversation

@aevnsvi

@aevnsvi aevnsvi commented Nov 9, 2026

Copy link
Copy Markdown
  • The add and remove actions on an ansible repository's collection versions tab now wait for their task and load the repository page again, so the tab shows the new latest version without a manual reload. A failed task is reported; a task that is still running or whose status cannot be read raises a warning. The extra list request whose answer was dropped (and whose failure ended as an unhandled rejection) is gone.
  • Both dialogs disable their confirm button while the request runs, so a double click no longer starts two tasks.
  • scripts/bundle-size.mjs exits 2 when index.html names a script or stylesheet outside a js or css folder, instead of leaving it out of the total.
  • The e2e helper installedPlugins() no longer keeps a failed status/ read for the life of the worker.

Tests: unit tests for the reload, a failed task and a double click on both dialogs; the bundle-size tests expect the error; the remote spec now expects the tab to refresh by itself.

The add and remove actions of an ansible repository called the list query
without using its answer, so the tab kept showing the repository version
it was loaded with, and a failed extra request ended as an unhandled
rejection. They now follow the task of the modify request and load the
repository page again once it is done; a failed task is reported, and a
task that is still running or whose status cannot be read raises a
warning.

Both dialogs now disable their confirm button while the request runs, so
a double click no longer starts two tasks.
A script or stylesheet named by index.html outside a js or css folder was
left out of the total without a word, so a change of the output layout
could shrink the measured initial load while the check stayed green. Such
an asset now ends the check with exit status 2.
The installed plugin list of the remote suites kept a failed status/
read for the life of the worker, so one network error failed every later
test of that worker with the same unrelated error.
@aevnsvi
aevnsvi merged commit 15d389f into main Nov 9, 2026
6 checks passed
@aevnsvi
aevnsvi deleted the fix/collection-versions-refresh branch November 9, 2026 09:14
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